Give an internal Pokédex status variable its own label.

This new label is used in revision 1.1 of Pokémon Crystal.
This commit is contained in:
IIMarckus
2015-02-14 01:40:38 -07:00
parent d7bc1d12f2
commit b028e13834
3 changed files with 10 additions and 9 deletions

View File

@@ -38165,7 +38165,7 @@ Function4424d: ; 4424d
push af
call FarString
pop bc
ld a, [wcf65]
ld a, [wPokedexStatus]
or a
ret z
push bc
@@ -89618,21 +89618,21 @@ Functionfb877: ; fb877
call ClearTileMap
call Function1ad2
call ClearSprites
ld a, [wcf65]
ld a, [wPokedexStatus]
push af
ld a, [hSCX]
add $5
ld [hSCX], a
xor a
ld [wcf65], a
ld [wPokedexStatus], a
callba Function41a7f
call Functiona80
ld a, $1
ld [wcf65], a
ld [wPokedexStatus], a
callba Function4424d
call Functiona80
pop af
ld [wcf65], a
ld [wPokedexStatus], a
call MaxVolume
call Function4b6
ld a, [hSCX]