summaryrefslogtreecommitdiff
path: root/engine/display_pokedex.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-03-17 17:37:20 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-03-17 18:00:54 -0400
commitbd5a5f70d44a0fef041027be12d439588f863507 (patch)
tree2d0394e028908d087dc2aef3bd4202f55a486e64 /engine/display_pokedex.asm
parent16e361c05aa533801a1b5856ec884ffd34f35730 (diff)
Split bank1 up.
Diffstat (limited to 'engine/display_pokedex.asm')
-rw-r--r--engine/display_pokedex.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/engine/display_pokedex.asm b/engine/display_pokedex.asm
new file mode 100644
index 00000000..a252f684
--- /dev/null
+++ b/engine/display_pokedex.asm
@@ -0,0 +1,19 @@
+_DisplayPokedex: ; 7abf (1:7abf)
+ 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 \ No newline at end of file