diff options
| author | dannye <corrnondacqb@yahoo.com> | 2016-06-06 11:04:20 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2016-06-06 11:04:20 -0500 |
| commit | 2bb64d11e6015e39e934e7359697c08636645994 (patch) | |
| tree | 05099ae6c4353263cf52f83c3393e38d178a529a /engine/predefs17_2.asm | |
| parent | Remove unused source files (diff) | |
| download | pokeyellow-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_2.asm')
| -rwxr-xr-x | engine/predefs17_2.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engine/predefs17_2.asm b/engine/predefs17_2.asm new file mode 100755 index 00000000..49818543 --- /dev/null +++ b/engine/predefs17_2.asm @@ -0,0 +1,15 @@ +; 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 |
