summaryrefslogtreecommitdiff
path: root/scripts/daycarem.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-19 10:38:20 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-19 16:05:19 -0400
commit1a0992a2f16ba2026c7fbf9fcfd1576a0f81c329 (patch)
tree0981af81f93d33b07cbfe47674d87ae4aa2d46b0 /scripts/daycarem.asm
parent82ffb336a975fe8cf9c3953fc380339feaae65b3 (diff)
parentd218d1972a9be5b9d0025a17842239e1fbf5b622 (diff)
Merge branch 'master' of https://github.com/huderlem/pokered into pull-data
Conflicts: main.asm text.asm text/maps/route_22.asm
Diffstat (limited to 'scripts/daycarem.asm')
-rwxr-xr-xscripts/daycarem.asm12
1 files changed, 3 insertions, 9 deletions
diff --git a/scripts/daycarem.asm b/scripts/daycarem.asm
index c8d6ffaf..706a7bbf 100755
--- a/scripts/daycarem.asm
+++ b/scripts/daycarem.asm
@@ -35,9 +35,7 @@ DayCareMText1: ; 56254 (15:6254)
pop af
ld hl, DayCareMText_56437
jp c, DayCareMScript_56409
- ld hl, Func_2171b
- ld b, BANK(Func_2171b)
- call Bankswitch
+ callab Func_2171b
ld hl, DayCareMText_5644a
jp c, DayCareMScript_56409
xor a
@@ -67,16 +65,12 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
ld a, $3
ld [$cc49], a
call LoadMonData
- ld hl, Func_58f43
- ld b, BANK(Func_58f43)
- call Bankswitch
+ callab Func_58f43
ld a, d
cp $64
jr c, .asm_56315
ld d, $64
- ld hl, CalcExperience
- ld b, BANK(CalcExperience)
- call Bankswitch
+ callab CalcExperience
ld hl, $da6d
ld a, [H_NUMTOPRINT]
ld [hli], a