aboutsummaryrefslogtreecommitdiffstats
path: root/engine/slots
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-25 17:53:29 -0500
committerGitHub <noreply@github.com>2025-11-25 16:53:29 -0600
commite92d1af478c8381fde30f709c2619abe90104d3a (patch)
tree7be135926706fabcf23d2b278378d0fdd7f7eda7 /engine/slots
parentUse `ld_hli_a_string` macro to make byte-by-byte strings more obvious (#540) (diff)
downloadpokeyellow-e92d1af478c8381fde30f709c2619abe90104d3a.tar.gz
pokeyellow-e92d1af478c8381fde30f709c2619abe90104d3a.tar.xz
pokeyellow-e92d1af478c8381fde30f709c2619abe90104d3a.zip
Avoid magic numbers for most `CopyData` calls (#542)
Diffstat (limited to 'engine/slots')
-rw-r--r--engine/slots/slot_machine.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/slots/slot_machine.asm b/engine/slots/slot_machine.asm
index 147519c7..2e02caf3 100644
--- a/engine/slots/slot_machine.asm
+++ b/engine/slots/slot_machine.asm
@@ -447,7 +447,7 @@ SlotMachine_CheckForMatches:
ld h, [hl]
ld l, a
ld de, wStringBuffer
- ld bc, 4
+ ld bc, 4 ; every SlotReward*Text is at most 4 bytes
call CopyData
pop hl
ld de, .flashScreenLoop