summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-24 17:39:50 -0500
committerGitHub <noreply@github.com>2017-12-24 17:39:50 -0500
commite400fe5142731422b0f542749d913d569997159e (patch)
tree004b17f7b444c4bbc8bbb80e3b189a48287ed4b7 /macros/code.asm
parent70e6b5947b5cc9ca9fd93c720c7f97d9e018da2d (diff)
parent3e7f3bbeb6dd2d3cff6343dea2298502faa14185 (diff)
Merge pull request #423 from roukaour/master
Fix issues #262, #345, #347, #396, #408, and #412
Diffstat (limited to 'macros/code.asm')
-rw-r--r--macros/code.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/code.asm b/macros/code.asm
index 5e247e9a3..93b35bd94 100644
--- a/macros/code.asm
+++ b/macros/code.asm
@@ -14,7 +14,7 @@ if _NARG >= 5
else
lb \1, \2 * 8, \3 * 8
endc
-endm
+ ENDM
depixel EQUS "ldpixel de,"
bcpixel EQUS "ldpixel bc,"
@@ -33,7 +33,7 @@ jumptable: MACRO
ld h, [hl]
ld l, a
jp hl
-endm
+ ENDM
; Many mobile functions were dummied out in localization.
mobile EQUS "ret"
@@ -47,9 +47,9 @@ maskbits: macro
; jr nc, .loop
x = 1
rept 8
-IF \1 > x
+if \1 > x
x = (x + 1) * 2 +- 1
-ENDC
+endc
endr
and x
-endm
+ ENDM