Skip to content

Commit

Permalink
Resolve crash when level evolving a pokemon
Browse files Browse the repository at this point in the history
Resolves #23
  • Loading branch information
vulcandth committed Apr 20, 2024
1 parent b7fb9b0 commit aa32563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/pokemon/evolve.asm
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ EvolveAfterBattle_MasterLoop:
ld b, a
ld a, [wTempMonLevel]
cp b
jmp c, .skip_half_species_parameter
jmp c, .skip_evolution_species
call IsMonHoldingEverstone
jmp z, .skip_half_species_parameter
jmp z, .skip_evolution_species

.proceed
ld a, [wTempMonLevel]
Expand Down

0 comments on commit aa32563

Please sign in to comment.