summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/cgb_layouts.asm8
-rw-r--r--engine/gfx/color.asm8
-rw-r--r--engine/gfx/pic_animation.asm6
3 files changed, 11 insertions, 11 deletions
diff --git a/engine/gfx/cgb_layouts.asm b/engine/gfx/cgb_layouts.asm
index ee4e2caeb..95f53b160 100644
--- a/engine/gfx/cgb_layouts.asm
+++ b/engine/gfx/cgb_layouts.asm
@@ -86,7 +86,7 @@ _CGB_BattleColors:
call LoadPalette_White_Col1_Col2_Black ; PAL_BATTLE_BG_ENEMY
ld a, [wEnemyHPPal]
ld l, a
- ld h, $0
+ ld h, 0
add hl, hl
add hl, hl
ld bc, HPBarPals
@@ -94,7 +94,7 @@ _CGB_BattleColors:
call LoadPalette_White_Col1_Col2_Black ; PAL_BATTLE_BG_ENEMY_HP
ld a, [wPlayerHPPal]
ld l, a
- ld h, $0
+ ld h, 0
add hl, hl
add hl, hl
ld bc, HPBarPals
@@ -196,7 +196,7 @@ _CGB_StatsScreenHPPals:
ld de, wBGPals1
ld a, [wCurHPPal]
ld l, a
- ld h, $0
+ ld h, 0
add hl, hl
add hl, hl
ld bc, HPBarPals
@@ -832,7 +832,7 @@ _CGB_Pokepic:
.found_top
ld a, [wMenuBorderLeftCoord]
ld e, a
- ld d, $0
+ ld d, 0
add hl, de
ld a, [wMenuBorderTopCoord]
ld b, a
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index a0de280af..7e7f075a0 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -111,7 +111,7 @@ SGB_ApplyPartyMenuHPPals:
ld hl, wHPPals
ld a, [wSGBPals]
ld e, a
- ld d, $0
+ ld d, 0
add hl, de
ld e, l
ld d, h
@@ -461,7 +461,7 @@ CopyPalettes:
GetPredefPal:
ld l, a
- ld h, $0
+ ld h, 0
add hl, hl
add hl, hl
add hl, hl
@@ -630,7 +630,7 @@ CGB_ApplyPartyMenuHPPals:
ld hl, wHPPals
ld a, [wSGBPals]
ld e, a
- ld d, $0
+ ld d, 0
add hl, de
ld e, l
ld d, h
@@ -762,7 +762,7 @@ CGBCopyTwoPredefObjectPals: ; unreferenced
_GetMonPalettePointer:
ld l, a
- ld h, $0
+ ld h, 0
add hl, hl
add hl, hl
add hl, hl
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm
index 90bb06620..36faf9b7c 100644
--- a/engine/gfx/pic_animation.asm
+++ b/engine/gfx/pic_animation.asm
@@ -413,7 +413,7 @@ PokeAnim_End:
PokeAnim_GetDuration:
; a * (1 + [wPokeAnimSpeed] / 16)
ld c, a
- ld b, $0
+ ld b, 0
ld hl, 0
ld a, [wPokeAnimSpeed]
call AddNTimes
@@ -466,7 +466,7 @@ PokeAnim_GetPointer:
push hl
ld a, [wPokeAnimFrame]
ld e, a
- ld d, $0
+ ld d, 0
ld hl, wPokeAnimPointerAddr
ld a, [hli]
ld h, [hl]
@@ -488,7 +488,7 @@ PokeAnim_GetBitmaskIndex:
ld a, [wPokeAnimCommand]
dec a
ld c, a
- ld b, $0
+ ld b, 0
ld hl, wPokeAnimFramesAddr
ld a, [hli]
ld h, [hl]