mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 07:25:21 +00:00
35f2bb90d4
This is mostly because of an rgbasm bug that prevents macro arguments from exceeding 16 characters, but the names were bad anyway.
10 lines
336 B
NASM
Executable file
10 lines
336 B
NASM
Executable file
; this function temporarily makes the starters (and Ivysaur) seen
|
|
; so that the full Pokedex information gets displayed in Oak's lab
|
|
StarterDex: ; 5c0dc (17:40dc)
|
|
ld a, %01001011 ; set starter flags
|
|
ld [wPokedexOwned], a ; wPokedexOwned
|
|
ld a, $3d
|
|
call Predef
|
|
xor a ; unset starter flags
|
|
ld [wPokedexOwned], a ; wPokedexOwned
|
|
ret
|