mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 15:08:23 +00:00
11 lines
383 B
NASM
11 lines
383 B
NASM
|
; this function temporarily makes the starters (and Ivysaur) seen
|
||
|
; so that the full Pokedex information gets displayed in Oak's lab
|
||
|
DisplayStarterMonDex: ; 5c0dc (17:40dc)
|
||
|
ld a, %01001011 ; set starter flags
|
||
|
ld [wPokedexOwned], a ; $d2f7
|
||
|
ld a, $3d
|
||
|
call Predef ; indirect jump to ShowPokedexData (402d1 (10:42d1))
|
||
|
xor a ; unset starter flags
|
||
|
ld [wPokedexOwned], a ; $d2f7
|
||
|
ret
|