summaryrefslogtreecommitdiff
path: root/home/math.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-27 10:41:59 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-27 10:41:59 -0400
commit789ebc73042e07b5e50b3cc3c17ebd1df141f000 (patch)
tree4b8ef20101e73ba626751ec76d86888274b84486 /home/math.asm
parentbfe2f6d52e035ea03a372cabb18ba5cf57823bf9 (diff)
Port homecall macro
Diffstat (limited to 'home/math.asm')
-rw-r--r--home/math.asm10
1 files changed, 1 insertions, 9 deletions
diff --git a/home/math.asm b/home/math.asm
index c320fd15c..01aea6b72 100644
--- a/home/math.asm
+++ b/home/math.asm
@@ -59,15 +59,7 @@ Divide:: ; 3124
push hl
push de
push bc
- ld a, [hROMBank]
- push af
- ld a, BANK(_Divide)
- rst Bankswitch
-
- call _Divide
-
- pop af
- rst Bankswitch
+ homecall _Divide
pop bc
pop de
pop hl