aboutsummaryrefslogtreecommitdiffstats
path: root/macros.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-13 17:59:46 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-13 17:59:46 -0400
commit31b118ab428a7ed88a62b31870a1946f7dbcd2d2 (patch)
tree6941b2b38a2615223b30e8cceb7aab636768dabd /macros.asm
parentSplit default names strings into separate lines to make it less unpleasant to... (diff)
parentFix typo: ninetails.asm -> ninetales.asm (diff)
downloadpokeyellow-31b118ab428a7ed88a62b31870a1946f7dbcd2d2.tar.gz
pokeyellow-31b118ab428a7ed88a62b31870a1946f7dbcd2d2.tar.xz
pokeyellow-31b118ab428a7ed88a62b31870a1946f7dbcd2d2.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 6162653d..13ec9634 100644
--- a/macros.asm
+++ b/macros.asm
@@ -41,6 +41,8 @@ homecall: MACRO
ld [MBC1RomBank], a
ENDM
+farcall EQUS "callba"
+
callba: MACRO
ld b, BANK(\1)
ld hl, \1
@@ -212,6 +214,15 @@ TX_ASM: MACRO
db $08
ENDM
+TX_MART: MACRO
+ db $FE, _NARG
+ rept _NARG
+ db \1
+ shift
+ endr
+ db $FF
+ ENDM
+
; Predef macro.
add_predef: MACRO
\1Predef::