aboutsummaryrefslogtreecommitdiffstats
path: root/engine/predefs17.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-06-06 11:04:20 -0500
committerdannye <corrnondacqb@yahoo.com>2016-06-06 11:04:20 -0500
commit2bb64d11e6015e39e934e7359697c08636645994 (patch)
tree05099ae6c4353263cf52f83c3393e38d178a529a /engine/predefs17.asm
parentRemove unused source files (diff)
downloadpokeyellow-2bb64d11e6015e39e934e7359697c08636645994.tar.gz
pokeyellow-2bb64d11e6015e39e934e7359697c08636645994.tar.xz
pokeyellow-2bb64d11e6015e39e934e7359697c08636645994.zip
Clean up main.asm
recreated deleted file that never should have been unused
Diffstat (limited to 'engine/predefs17.asm')
-rwxr-xr-xengine/predefs17.asm22
1 files changed, 8 insertions, 14 deletions
diff --git a/engine/predefs17.asm b/engine/predefs17.asm
index 49818543..a674b45a 100755
--- a/engine/predefs17.asm
+++ b/engine/predefs17.asm
@@ -1,15 +1,9 @@
-; updates the types of a party mon (pointed to in hl) to the ones of the mon specified in wd11e
-SetPartyMonTypes: ; 5db93 (17:5b93)
- call GetPredefRegisters
- ld bc, wPartyMon1Type - wPartyMon1 ; $5
- add hl, bc
- ld a, [wd11e]
- ld [wd0b5], a
- push hl
- call GetMonHeader
- pop hl
- ld a, [wMonHType1]
- ld [hli], a
- ld a, [wMonHType2]
- ld [hl], a
+; this function temporarily makes the starters (and Ivysaur) seen
+; so that the full Pokedex information gets displayed in Oak's lab
+StarterDex: ; 5c0dc (17:40dc)
+ ld a, %01001011 ; set starter flags
+ ld [wPokedexOwned], a
+ predef ShowPokedexData
+ xor a ; unset starter flags
+ ld [wPokedexOwned], a
ret