mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Fixed Pokédex display during starter selection
This commit is contained in:
parent
86230c64f1
commit
657a2fb24e
|
@ -1,8 +1,10 @@
|
|||
; this function temporarily makes the starters (and once Ivysaur) seen
|
||||
; so that the full Pokedex information gets displayed in Oak's lab
|
||||
StarterDex:
|
||||
ld a, 1 << (DEX_BULBASAUR - 1) | 1 << (DEX_CHARMANDER - 1) | 1 << (DEX_SQUIRTLE - 1) | 1 << (DEX_PIKACHU - 1) | 1 << (DEX_EEVEE - 1)
|
||||
ld a, 1 << (DEX_BULBASAUR - 1) | 1 << (DEX_CHARMANDER - 1) | 1 << (DEX_SQUIRTLE - 1) ;first byte of Pokédex flag array (values 0-7)
|
||||
ld [wPokedexOwned], a
|
||||
ld a, 1 << (DEX_PIKACHU - 9) | 1 << (DEX_EEVEE - 9) ;second byte of Pokédex flag array (values 8-15)
|
||||
ld [wPokedexOwned + 1], a
|
||||
predef ShowPokedexData
|
||||
xor a
|
||||
ld [wPokedexOwned], a
|
||||
|
|
|
@ -3,4 +3,5 @@ BrunswickGrotto_Script:
|
|||
|
||||
BrunswickGrotto_TextPointers:
|
||||
|
||||
text_end ; unused
|
||||
text_end ; unused
|
||||
|
|
@ -3,4 +3,4 @@ CelesteHillOutside_Script:
|
|||
|
||||
CelesteHillOutside_TextPointers:
|
||||
|
||||
text_end ; unused
|
||||
text_end ; unused
|
||||
|
|
Loading…
Reference in a new issue