summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-08-03 23:41:01 +0200
committermid-kid <esteve.varela@gmail.com>2020-08-05 16:02:48 +0200
commitb6055b19446e2de0a885565c0b6749fc11627b46 (patch)
tree05f44fbdf85a779693b0617056550255531743e8 /engine/events
parentac48d654987ef1df3a7ca6e5a40d8e6eab477d7f (diff)
Use TRUE for hCGBPalUpdate
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/heal_machine_anim.asm4
-rw-r--r--engine/events/poisonstep_pals.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/heal_machine_anim.asm b/engine/events/heal_machine_anim.asm
index 2259752b3..38ccbf12c 100644
--- a/engine/events/heal_machine_anim.asm
+++ b/engine/events/heal_machine_anim.asm
@@ -167,7 +167,7 @@ INCBIN "gfx/overworld/heal_machine.2bpp"
ld bc, 1 palettes
ld a, BANK(wOBPals2)
call FarCopyWRAM
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -231,7 +231,7 @@ INCLUDE "gfx/overworld/heal_machine.pal"
pop af
ldh [rSVBK], a
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
diff --git a/engine/events/poisonstep_pals.asm b/engine/events/poisonstep_pals.asm
index b2de25fa6..07bd246a1 100644
--- a/engine/events/poisonstep_pals.asm
+++ b/engine/events/poisonstep_pals.asm
@@ -39,7 +39,7 @@ LoadPoisonBGPals:
jr nz, .loop
pop af
ldh [rSVBK], a
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ld c, 4
call DelayFrames