# v19.1Eevee to Sylveon Evolution breaks game.

This thread pertains to v19.1 of Pokémon Essentials.

#### Dvalor53

##### Rookie
Member
I keep getting this error when it is time for Eevee to evolve. If I remove Sylvan from the evolution options. It seems to not crash the game anymore.

The error seems to be talking about this line of code under the Evolution Script.
Code:
GameData::Evolution.register({
:id            => :HappinessMoveType,
:parameter     => :Type,
:minimum_level => 1,   # Needs any level up
:level_up_proc => proc { |pkmn, parameter|
if pkmn.happiness >= 160
next pkmn.moves.any? { |m| m && m.id > 0 && m.type == parameter }
end
}
})

My guess is that something is broken with the Sylveon evolution option. This error happens even if I don't have a fairy move on Eevee, but stops crashing if I remove the Sylveon evolution option. This section of script is over my head and I would appreciate any help. Line 7 is actually line 336 in the script.

#### TechSkylander1518

##### Wiki Dweeb
Member
I think this was fixed with the hotfixes.

#### Dvalor53

##### Rookie
Member
I think this was fixed with the hotfixes.
I did try this, but the error did not go away. It was on the list of things that should have been fixed. I thought I was putting the hotfix wrong, but everything looks right.

#### TechSkylander1518

##### Wiki Dweeb
Member
I did try this, but the error did not go away. It was on the list of things that should have been fixed. I thought I was putting the hotfix wrong, but everything looks right.
Where did you put it? And did you compile your game after adding it?

#### Dvalor53

##### Rookie
Member
I have it in the v19.1 Hotfixes folder that is located in the Plugins folder. C:\"..."\Pokemon v1\Plugins\v19.1 Hotfixes\

I believe that it compiles on its own most of the time. I have forced it to do so while running the game twice.