summaryrefslogtreecommitdiff
path: root/engine/predefs17_2.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /engine/predefs17_2.asm
parent53fcd05aa24693093d8af1dc8ec4fedd3957decc (diff)
Sync with pokered
Diffstat (limited to 'engine/predefs17_2.asm')
-rwxr-xr-xengine/predefs17_2.asm15
1 files changed, 0 insertions, 15 deletions
diff --git a/engine/predefs17_2.asm b/engine/predefs17_2.asm
deleted file mode 100755
index e9235f13..00000000
--- a/engine/predefs17_2.asm
+++ /dev/null
@@ -1,15 +0,0 @@
-; updates the types of a party mon (pointed to in hl) to the ones of the mon specified in wd11e
-SetPartyMonTypes:
- 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