diff options
| author | YamaArashi <shadow962@live.com> | 2016-09-17 18:17:57 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2016-09-17 18:17:57 -0700 |
| commit | c2381bb3e624e966c323610df762a299468a1728 (patch) | |
| tree | b884b81317d0aa1e3c7d71df39838ec00ab6a2ce /engine/display_pokedex.asm | |
| parent | pull some bank 1 code out of main.asm (diff) | |
| download | pokeyellow-c2381bb3e624e966c323610df762a299468a1728.tar.gz pokeyellow-c2381bb3e624e966c323610df762a299468a1728.tar.xz pokeyellow-c2381bb3e624e966c323610df762a299468a1728.zip | |
split bank 1 into files
Diffstat (limited to 'engine/display_pokedex.asm')
| -rw-r--r-- | engine/display_pokedex.asm | 19 |
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..96a2dd6c --- /dev/null +++ b/engine/display_pokedex.asm @@ -0,0 +1,19 @@ +_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 |
