aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/evos_moves.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm
index 268e522a..be23f508 100644
--- a/engine/pokemon/evos_moves.asm
+++ b/engine/pokemon/evos_moves.asm
@@ -94,8 +94,10 @@ Evolution_PartyMonLoop: ; loop over party mons
jr .doEvolution
.checkItemEvo
ld a, [hli]
+ ; Bug: Wild encounters can cause stone evolutions without
+ ; having any stones available. This was fixed in Yellow.
ld b, a ; evolution item
- ld a, [wCurItem]
+ ld a, [wCurItem] ; same as [wCurPartySpecies]
cp b ; was the evolution item in this entry used?
jp nz, .nextEvoEntry1 ; if not, go to the next evolution entry
.checkLevel