summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-03-26 17:50:03 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-03-26 17:50:03 -0400
commit38ce770883544d5b815f63c0137441db0aa7523c (patch)
tree25a37098c123cc03780e15096444267bd0387d88 /macros.asm
parent23a462511307ce7461d490a892926c60d0851a2e (diff)
Function labels and data dism related to physics
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 51091bc..02d2e1f 100755
--- a/macros.asm
+++ b/macros.asm
@@ -60,9 +60,15 @@ bigdw: MACRO ; big-endian word
callba: MACRO
ld [hFarCallTempA], a
+ IF _NARG > 1
+ ld a, BANK(\2)
+ ld hl, \2
+ call \1, BankSwitch
+ ELSE
ld a, BANK(\1)
ld hl, \1
call BankSwitch
+ ENDC
ENDM
bigBCD6: MACRO