summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2015-02-14 01:40:38 -0700
committerIIMarckus <iimarckus@gmail.com>2015-02-14 01:40:38 -0700
commitb028e138347e9de72277c525b11d0592ba14498d (patch)
tree3b1a85ad3b00e847c656ab681efdafa702239ba6 /engine
parentd7bc1d12f23a6d800169b887592807cf92b4974a (diff)
Give an internal Pokédex status variable its own label.
This new label is used in revision 1.1 of Pokémon Crystal.
Diffstat (limited to 'engine')
-rw-r--r--engine/pokedex.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/pokedex.asm b/engine/pokedex.asm
index 004836f62..f1a1d978c 100644
--- a/engine/pokedex.asm
+++ b/engine/pokedex.asm
@@ -314,7 +314,7 @@ Function401ae: ; 401ae (10:41ae)
Function40217: ; 40217 (10:4217)
call LowVolume
xor a
- ld [wcf65], a
+ ld [wPokedexStatus], a
xor a
ld [hBGMapMode], a ; $ff00+$d4
call ClearSprites
@@ -373,9 +373,9 @@ Function40258: ; 40258 (10:4258)
; 40292 (10:4292)
Function40292: ; 40292
- ld a, [wcf65]
+ ld a, [wPokedexStatus]
xor $1
- ld [wcf65], a
+ ld [wPokedexStatus], a
call Function40bb1
ld [wc2d6], a
callba Function4424d
@@ -386,7 +386,7 @@ Function40292: ; 40292
Function402aa: ; 402aa (10:42aa)
call Function41401
xor a
- ld [wcf65], a
+ ld [wPokedexStatus], a
xor a
ld [hBGMapMode], a ; $ff00+$d4
call Function407fd