diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/pokedex.asm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engine/pokedex.asm b/engine/pokedex.asm index 004836f62..dcbc1832e 100644 --- a/engine/pokedex.asm +++ b/engine/pokedex.asm @@ -66,7 +66,11 @@ InitPokedex: ; 40063 call Function414b7 ld hl, wc6d0 +IF DEF(CRYSTAL11) + ld bc, $0116 +ELSE ld bc, $0115 +ENDC xor a call ByteFill @@ -314,7 +318,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 +377,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 +390,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 |