rgbds supports 'X - 1' instead of 'X + -1'
This commit is contained in:
@@ -4059,7 +4059,7 @@ macro_11f220: MACRO
|
||||
; 12 words per page (0-based indexing)
|
||||
x = \1 / 12
|
||||
if \1 % 12 == 0
|
||||
x = x + -1
|
||||
x = x - 1
|
||||
endc
|
||||
db x
|
||||
ENDM
|
||||
|
Reference in New Issue
Block a user