mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 15:27:10 +00:00
20 lines
327 B
NASM
20 lines
327 B
NASM
|
_DisplayPokedex:
|
||
|
ld hl, wd730
|
||
|
set 6, [hl]
|
||
|
predef ShowPokedexData
|
||
|
ld hl, wd730
|
||
|
res 6, [hl]
|
||
|
call ReloadMapData
|
||
|
ld c, 10
|
||
|
call DelayFrames
|
||
|
predef IndexToPokedex
|
||
|
ld a, [wd11e]
|
||
|
dec a
|
||
|
ld c, a
|
||
|
ld b, FLAG_SET
|
||
|
ld hl, wPokedexSeen
|
||
|
predef FlagActionPredef
|
||
|
ld a, $1
|
||
|
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
||
|
ret
|