aboutsummaryrefslogtreecommitdiffstats
path: root/sram.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:34 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:34 -0400
commitc1ef7b75972fa4fbdf125bc85cc1a66f358151cd (patch)
treebcf71939ec5573ed5001c4a4b4342d26e5d8f9b1 /sram.asm
parentImproved Virtual Console patch identifiers (#85) (diff)
downloadpokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.gz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.xz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.zip
RGBDS syntax updates (#86)
New MACRO and DEF syntax
Diffstat (limited to 'sram.asm')
-rw-r--r--sram.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/sram.asm b/sram.asm
index 68451791..6cb45371 100644
--- a/sram.asm
+++ b/sram.asm
@@ -26,12 +26,12 @@ sMainDataCheckSum:: db
; The PC boxes will not fit into one SRAM bank,
; so they use multiple SECTIONs
-box_n = 0
-boxes: MACRO
-REPT \1
-box_n += 1
-sBox{d:box_n}:: ds wBoxDataEnd - wBoxDataStart
-ENDR
+DEF box_n = 0
+MACRO boxes
+ REPT \1
+ DEF box_n += 1
+ sBox{d:box_n}:: ds wBoxDataEnd - wBoxDataStart
+ ENDR
ENDM
SECTION "Saved Boxes 1", SRAM