summaryrefslogtreecommitdiff
path: root/engine/games
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 /engine/games
parent5a5f5ececdde2c4c62bdee649d8b1d3edba96fed (diff)
rgbds supports 'X - 1' instead of 'X + -1'
Diffstat (limited to 'engine/games')
-rw-r--r--engine/games/slot_machine.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/games/slot_machine.asm b/engine/games/slot_machine.asm
index 2765dd870..eaf7999bd 100644
--- a/engine/games/slot_machine.asm
+++ b/engine/games/slot_machine.asm
@@ -261,7 +261,7 @@ Unreferenced_Function9282c:
ld a, [hl]
xor %00100000
ld [hli], a ; tile id
-rept SPRITEOAMSTRUCT_LENGTH + -1
+rept SPRITEOAMSTRUCT_LENGTH - 1
inc hl
endr
dec c