mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30: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
|
||||
; so that the full Pokedex information gets displayed in Oak's lab
|
||||
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
|
||||
predef ShowPokedexData
|
||||
xor a ; unset starter flags
|
||||
xor a
|
||||
ld [wPokedexOwned], a
|
||||
ret
|
||||
|
|
Loading…
Reference in a new issue