mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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:
parent
d7bc1d12f2
commit
b028e13834
@ -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
|
||||
|
10
main.asm
10
main.asm
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user