summaryrefslogtreecommitdiff
path: root/macros/wram.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 /macros/wram.asm
parent5a5f5ececdde2c4c62bdee649d8b1d3edba96fed (diff)
rgbds supports 'X - 1' instead of 'X + -1'
Diffstat (limited to 'macros/wram.asm')
-rw-r--r--macros/wram.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/wram.asm b/macros/wram.asm
index af306d1f8..abc7df48e 100644
--- a/macros/wram.asm
+++ b/macros/wram.asm
@@ -106,7 +106,7 @@ box: MACRO
\1Species:: ds MONS_PER_BOX + 1
\1Mons::
\1Mon1:: box_struct \1Mon1
-\1Mon2:: ds BOXMON_STRUCT_LENGTH * (MONS_PER_BOX + -1)
+\1Mon2:: ds BOXMON_STRUCT_LENGTH * (MONS_PER_BOX - 1)
\1MonOT:: ds NAME_LENGTH * MONS_PER_BOX
\1MonNicknames:: ds MON_NAME_LENGTH * MONS_PER_BOX
\1MonNicknamesEnd::
@@ -171,7 +171,7 @@ channel_struct: MACRO
ENDM
battle_tower_struct: MACRO
-\1Name:: ds NAME_LENGTH + -1
+\1Name:: ds NAME_LENGTH - 1
\1TrainerClass:: ds 1
\1Mon1:: party_struct \1Mon1
\1Mon1Name:: ds MON_NAME_LENGTH
@@ -217,7 +217,7 @@ hof_mon: MACRO
\1ID:: dw
\1DVs:: dw
\1Level:: db
-\1Nickname:: ds MON_NAME_LENGTH + -1
+\1Nickname:: ds MON_NAME_LENGTH - 1
\1End::
ENDM
@@ -233,7 +233,7 @@ hall_of_fame: MACRO
ENDM
link_battle_record: MACRO
-\1Name:: ds NAME_LENGTH + -1
+\1Name:: ds NAME_LENGTH - 1
\1ID:: dw
\1Wins:: dw
\1Losses:: dw