summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-08-04 01:22:19 +0200
committermid-kid <esteve.varela@gmail.com>2020-08-05 16:02:32 +0200
commitad5c4a73a52c87a0f7702e19a6ee036dac0bb69f (patch)
tree711d2eed0d5e40815ef5f79b6b06aeba6482b54d /engine/events
parent6b2a0b288966a7c25d953545b9bb085d8dc3de58 (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 002d4ad4..7cf2f03a 100644
--- a/engine/events/heal_machine_anim.asm
+++ b/engine/events/heal_machine_anim.asm
@@ -166,7 +166,7 @@ INCBIN "gfx/overworld/heal_machine.2bpp"
ld de, wOBPals2 palette PAL_OW_TREE
ld bc, 1 palettes
call CopyBytes
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -223,7 +223,7 @@ INCLUDE "gfx/overworld/heal_machine.pal"
ld a, e
ld [hl], 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 2752f5a7..9ef8b99e 100644
--- a/engine/events/poisonstep_pals.asm
+++ b/engine/events/poisonstep_pals.asm
@@ -33,7 +33,7 @@ LoadPoisonBGPals:
ld [hli], a
dec c
jr nz, .loop
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ld c, 4
call DelayFrames