aboutsummaryrefslogtreecommitdiffstats
path: root/sram.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:31 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:31 -0400
commit6b5be9129cabe72b9f775b02db1bf7e7169153da (patch)
treed92012450c70f90bf8086bed32ec3dc87b68b332 /sram.asm
parentImproved Virtual Console patch identifiers (#357) (diff)
downloadpokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.gz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.xz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.zip
RGBDS syntax updates (#358)
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