summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/color.asm11
-rw-r--r--engine/gfx/sgb_layouts.asm2
2 files changed, 8 insertions, 5 deletions
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index d7998019..f8fcffc2 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -247,13 +247,13 @@ Unreferenced_Function91b4:
ldh a, [hCGB]
and a
jr nz, .cgb
- ld hl, wc602
+ ld hl, wBetaPokerSGBPals
jp PushSGBPals
.cgb
- ld a, [wc606] ; col
+ ld a, [wBetaPokerSGBCol]
ld c, a
- ld a, [wc607] ; row
+ ld a, [wBetaPokerSGBRow]
hlcoord 0, 0, wAttrmap
ld de, SCREEN_WIDTH
.loop
@@ -267,7 +267,7 @@ Unreferenced_Function91b4:
ld b, $0
add hl, bc
lb bc, 6, 4
- ld a, [wc605] ; value
+ ld a, [wBetaPokerSGBAttr]
and $3
call FillBoxCGB
call CopyTilemapAtOnce
@@ -1236,6 +1236,9 @@ INCLUDE "gfx/diploma/diploma.pal"
PartyMenuOBPals:
INCLUDE "gfx/stats/party_menu_ob.pal"
+UnusedBattleObjectPals:
+INCLUDE "gfx/battle_anims/unused_battle_anims.pal"
+
GSTitleBGPals:
IF DEF(_GOLD)
INCLUDE "gfx/title/title_bg_gold.pal"
diff --git a/engine/gfx/sgb_layouts.asm b/engine/gfx/sgb_layouts.asm
index db4e929f..561d6063 100644
--- a/engine/gfx/sgb_layouts.asm
+++ b/engine/gfx/sgb_layouts.asm
@@ -339,7 +339,7 @@ endr
.SGB_BetaPoker:
ld hl, BlkPacket_9ee5
- ld de, wc602
+ ld de, wBetaPokerSGBPals
ld bc, PALPACKET_LENGTH
call CopyBytes
ld hl, PalPacket_BetaPoker