summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/cgb_layouts.asm32
-rw-r--r--engine/gfx/color.asm6
2 files changed, 19 insertions, 19 deletions
diff --git a/engine/gfx/cgb_layouts.asm b/engine/gfx/cgb_layouts.asm
index 97180f7f..d62fdaf0 100644
--- a/engine/gfx/cgb_layouts.asm
+++ b/engine/gfx/cgb_layouts.asm
@@ -158,7 +158,7 @@ _CGB_PokegearPals:
ld bc, 6 palettes
call CopyBytes
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -211,7 +211,7 @@ _CGB_StatsScreenHPPals:
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -264,7 +264,7 @@ _CGB_Pokedex_Resume:
call CopyBytes
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -299,7 +299,7 @@ _CGB_BillsPC:
call InitPartyMenuOBPals
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -321,7 +321,7 @@ Function95a0:
call InitPartyMenuOBPals
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -344,7 +344,7 @@ _CGB_PokedexUnownMode:
call InitPartyMenuOBPals
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -396,7 +396,7 @@ _CGB_SlotMachine:
call ByteFill
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -414,7 +414,7 @@ _CGB_BetaTitleScreen:
call FillBoxCGB
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -548,7 +548,7 @@ _CGB_Evolution:
call WipeAttrmap
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -564,7 +564,7 @@ _CGB_GSTitleScreen:
ld a, SCGB_DIPLOMA
ld [wDefaultSGBLayout], a
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -664,7 +664,7 @@ _CGB_TrainerCard:
call FillBoxCGB
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -688,7 +688,7 @@ _CGB_MoveList:
call FillBoxCGB
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -698,7 +698,7 @@ _CGB_BetaPikachuMinigame:
call WipeAttrmap
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -710,7 +710,7 @@ _CGB_PokedexSearchOption:
call WipeAttrmap
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -742,7 +742,7 @@ _CGB_PackPals:
call FillBoxCGB
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -798,7 +798,7 @@ _CGB_MagnetTrain:
call FillBoxCGB
call ApplyAttrmap
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index bf6ac5a2..18f3fa4c 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -156,7 +156,7 @@ Function9102:
call CopyBytes
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -321,7 +321,7 @@ ApplyHPBarPals:
add hl, bc
ld bc, 4
call CopyBytes
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret
@@ -359,7 +359,7 @@ LoadStatsScreenPals:
ld [wBGPals1 palette 0 + 1], a
ld [wBGPals1 palette 2 + 1], a
call ApplyPals
- ld a, $1
+ ld a, TRUE
ldh [hCGBPalUpdate], a
ret