mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Use DEX_* constants for StarterDex
This commit is contained in:
parent
772fcc7588
commit
f113361952
|
@ -1,9 +1,9 @@
|
||||||
; this function temporarily makes the starters (and Ivysaur) seen
|
; this function temporarily makes the starters (and Ivysaur) seen
|
||||||
; so that the full Pokedex information gets displayed in Oak's lab
|
; so that the full Pokedex information gets displayed in Oak's lab
|
||||||
StarterDex:
|
StarterDex:
|
||||||
ld a, %01001011 ; set starter flags
|
ld a, 1 << (DEX_BULBASAUR - 1) | 1 << (DEX_IVYSAUR - 1) | 1 << (DEX_CHARMANDER - 1) | 1 << (DEX_SQUIRTLE - 1)
|
||||||
ld [wPokedexOwned], a
|
ld [wPokedexOwned], a
|
||||||
predef ShowPokedexData
|
predef ShowPokedexData
|
||||||
xor a ; unset starter flags
|
xor a
|
||||||
ld [wPokedexOwned], a
|
ld [wPokedexOwned], a
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in a new issue