Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/engine/events/display_pokedex.asm
1271 views
1
_DisplayPokedex::
2
ld hl, wStatusFlags5
3
set BIT_NO_TEXT_DELAY, [hl]
4
predef ShowPokedexData
5
ld hl, wStatusFlags5
6
res BIT_NO_TEXT_DELAY, [hl]
7
call ReloadMapData
8
ld c, 10
9
call DelayFrames
10
predef IndexToPokedex
11
ld a, [wPokedexNum]
12
dec a
13
ld c, a
14
ld b, FLAG_SET
15
ld hl, wPokedexSeen
16
predef FlagActionPredef
17
ld a, $1
18
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
19
ret
20
21