From bd5a5f70d44a0fef041027be12d439588f863507 Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Thu, 17 Mar 2016 17:37:20 -0400 Subject: Split bank1 up. --- engine/display_pokedex.asm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 engine/display_pokedex.asm (limited to 'engine/display_pokedex.asm') 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 -- cgit v1.3.1-sl0p