aboutsummaryrefslogtreecommitdiffstats
path: root/engine/slots
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 15:09:54 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 16:21:26 -0400
commit4a7d1513f3135a3c926233d47921b21bf8b1fab4 (patch)
tree22e14964dcd2e6dae66de392c32caf33e70c964b /engine/slots
parentNames for more SECTIONs (diff)
downloadpokeyellow-4a7d1513f3135a3c926233d47921b21bf8b1fab4.tar.gz
pokeyellow-4a7d1513f3135a3c926233d47921b21bf8b1fab4.tar.xz
pokeyellow-4a7d1513f3135a3c926233d47921b21bf8b1fab4.zip
Use 'tile' and 'tiles' macros
Diffstat (limited to 'engine/slots')
-rwxr-xr-xengine/slots/slot_machine.asm9
1 files changed, 5 insertions, 4 deletions
diff --git a/engine/slots/slot_machine.asm b/engine/slots/slot_machine.asm
index a1326240..9af17a81 100755
--- a/engine/slots/slot_machine.asm
+++ b/engine/slots/slot_machine.asm
@@ -850,17 +850,17 @@ LoadSlotMachineTiles:
call DisableLCD
ld hl, SlotMachineTiles2
ld de, vChars0
- ld bc, $1c0
+ ld bc, $1c tiles ; should be SlotMachineTiles2End - SlotMachineTiles2, or $18 tiles
ld a, BANK(SlotMachineTiles2)
call FarCopyData2
ld hl, SlotMachineTiles1
ld de, vChars2
- ld bc, $250
+ ld bc, SlotMachineTiles1End - SlotMachineTiles1
ld a, BANK(SlotMachineTiles1)
call FarCopyData2
ld hl, SlotMachineTiles2
- ld de, vChars2 + $250
- ld bc, $1c0
+ ld de, vChars2 tile $25
+ ld bc, $1c tiles ; should be SlotMachineTiles2End - SlotMachineTiles2, or $18 tiles
ld a, BANK(SlotMachineTiles2)
call FarCopyData2
ld hl, SlotMachineMap
@@ -890,3 +890,4 @@ ENDC
IF DEF(_BLUE)
INCBIN "gfx/slots/blue_slots_1.2bpp"
ENDC
+SlotMachineTiles1End: