From a33f356461e29559950f51dbef2e2d83235ea98f Mon Sep 17 00:00:00 2001 From: dannye Date: Mon, 6 Jun 2016 03:22:40 -0500 Subject: Remove unused source files --- engine/predefs17.asm | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'engine/predefs17.asm') diff --git a/engine/predefs17.asm b/engine/predefs17.asm index a674b45a..49818543 100755 --- a/engine/predefs17.asm +++ b/engine/predefs17.asm @@ -1,9 +1,15 @@ -; 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 +; 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 ret -- cgit v1.3.1-sl0p