summaryrefslogtreecommitdiff
path: root/mobile/fixed_words.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 14:01:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 14:01:05 -0400
commit6a6ba10315baf4b0092c6d952a2f0cb502b6ac8e (patch)
tree5a32545646f9214cd7674320495cc3e8c6929875 /mobile/fixed_words.asm
parent5a5f5ececdde2c4c62bdee649d8b1d3edba96fed (diff)
rgbds supports 'X - 1' instead of 'X + -1'
Diffstat (limited to 'mobile/fixed_words.asm')
-rw-r--r--mobile/fixed_words.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/fixed_words.asm b/mobile/fixed_words.asm
index acbd318e8..3567e6b54 100644
--- a/mobile/fixed_words.asm
+++ b/mobile/fixed_words.asm
@@ -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