summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorAdelaide Walter <adelaidekwalter@gmail.com>2018-01-04 14:53:50 -0500
committerAdelaide Walter <adelaidekwalter@gmail.com>2018-01-04 14:53:50 -0500
commitfb422e8d9c78c56db27d974baa04c7a16bf5df41 (patch)
treed2b99ef626f0e3dfa5a896b4d2984963560cafcc /engine/events
parent5fd3bfa83210fd9885f7558d02b01fc5ea3c5ed1 (diff)
Use BANK for hardcoded WRAM banks preceding FarCopyWRAM/GetFarWRAMByte calls.
Diffstat (limited to 'engine/events')
-rwxr-xr-xengine/events/heal_machine_anim.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/heal_machine_anim.asm b/engine/events/heal_machine_anim.asm
index d60acb5b6..809d11eb5 100755
--- a/engine/events/heal_machine_anim.asm
+++ b/engine/events/heal_machine_anim.asm
@@ -160,7 +160,7 @@ INCBIN "gfx/overworld/heal_machine.2bpp"
ld hl, .palettes
ld de, wOBPals2 palette PAL_OW_TREE
ld bc, 1 palettes
- ld a, $5
+ ld a, BANK(wOBPals2)
call FarCopyWRAM
ld a, $1
ld [hCGBPalUpdate], a