summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-02-20 01:28:26 +0000
committerlibjet <libj3t@gmail.com>2020-02-20 01:28:26 +0000
commita891920779aa6c57db9f122e61698678d0c5c17c (patch)
tree17329e0b62967490315df04b2d7dccf0e8e5a22f /home.asm
parent2d16b94ef14073ad21a77aa9b36250709f420f63 (diff)
Add home/mon_data_2.asm
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm34
1 files changed, 1 insertions, 33 deletions
diff --git a/home.asm b/home.asm
index 97b41248..20bdb067 100644
--- a/home.asm
+++ b/home.asm
@@ -265,39 +265,7 @@ INCLUDE "home/cry.asm"
INCLUDE "home/print_level.asm"
INCLUDE "home/mon_data.asm"
INCLUDE "home/print_bcd.asm"
-
-GetPartyParamLocation::
- push bc
- ld hl, wPartyMons
- ld c, a
- ld b, $0
- add hl, bc
- ld a, [wCurPartyMon]
- call GetPartyLocation
- pop bc
- ret
-
-GetPartyLocation:: ; 3b4a (0:3b4a)
- ld bc, $30
- jp AddNTimes
-
-Function3b51::
- push hl
- ld a, b
- dec a
- ld b, $0
- add hl, bc
- ld hl, BaseData + 0
- ld bc, $20
- call AddNTimes
- pop bc
- ld a, BANK(BaseData)
- call GetFarHalfword
- ld b, l
- ld c, h
- pop hl
- ret
-
+INCLUDE "home/mon_data_2.asm"
INCLUDE "home/battle.asm"
PushLYOverrides:: ; 3d0d