summaryrefslogtreecommitdiff
path: root/engine/predefs17.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-22 18:13:20 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-22 18:13:20 -0400
commit15427f532085846ab6b51719be687951a094cb6c (patch)
treeedea9b189e91641a12dd521756894df84aeeace7 /engine/predefs17.asm
parentea3ba4cde3706b7c77efb705555ec0c86321cbe2 (diff)
Pull a lot of engine out of main.asm
Diffstat (limited to 'engine/predefs17.asm')
-rwxr-xr-xengine/predefs17.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/predefs17.asm b/engine/predefs17.asm
new file mode 100755
index 00000000..d261804a
--- /dev/null
+++ b/engine/predefs17.asm
@@ -0,0 +1,10 @@
+; this function temporarily makes the starters (and Ivysaur) seen
+; so that the full Pokedex information gets displayed in Oak's lab
+DisplayStarterMonDex: ; 5c0dc (17:40dc)
+ ld a, %01001011 ; set starter flags
+ ld [wPokedexOwned], a ; $d2f7
+ ld a, $3d
+ call Predef ; indirect jump to ShowPokedexData (402d1 (10:42d1))
+ xor a ; unset starter flags
+ ld [wPokedexOwned], a ; $d2f7
+ ret