aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon/evos_moves.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-12-15 11:05:12 -0600
committerdannye <33dannye@gmail.com>2020-12-15 11:05:12 -0600
commit2654da5d157540d482790308f1c2948e1431fa46 (patch)
tree265d64b9fb8f6e8bd580cb6a5ec3c59224e9fdeb /engine/pokemon/evos_moves.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
parentUpdate rgbdscheck.asm (diff)
downloadpokeyellow-2654da5d157540d482790308f1c2948e1431fa46.tar.gz
pokeyellow-2654da5d157540d482790308f1c2948e1431fa46.tar.xz
pokeyellow-2654da5d157540d482790308f1c2948e1431fa46.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/pokemon/evos_moves.asm')
-rw-r--r--engine/pokemon/evos_moves.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm
index 3df780c1..7c1476d3 100644
--- a/engine/pokemon/evos_moves.asm
+++ b/engine/pokemon/evos_moves.asm
@@ -12,7 +12,7 @@ EvolveTradeMon:
; this is only called after battle
; it is supposed to do level up evolutions, though there is a bug that allows item evolutions to occur
EvolutionAfterBattle:
- ldh a, [hTilesetType]
+ ldh a, [hTileAnimations]
push af
xor a
ld [wEvolutionOccurred], a
@@ -250,7 +250,7 @@ Evolution_PartyMonLoop: ; loop over party mons
pop bc
pop hl
pop af
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
ld a, [wLinkState]
cp LINK_STATE_TRADING
ret z