summaryrefslogtreecommitdiff
path: root/engine/evos_moves.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/evos_moves.asm')
-rwxr-xr-xengine/evos_moves.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/evos_moves.asm b/engine/evos_moves.asm
index 240fd9fa..bda4c9ff 100755
--- a/engine/evos_moves.asm
+++ b/engine/evos_moves.asm
@@ -11,7 +11,7 @@ TryEvolvingMon: ; 3ad0e (e:6d0e)
; 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: ; 3ad1c (e:6d1c)
- ld a, [$ffd7]
+ ld a, [hTilesetType]
push af
xor a
ld [wd121], a
@@ -245,7 +245,7 @@ Evolution_PartyMonLoop: ; loop over party mons
pop bc
pop hl
pop af
- ld [$ffd7], a
+ ld [hTilesetType], a
ld a, [W_ISLINKBATTLE]
cp $32
ret z