summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconstants/scgb_constants.asm8
-rw-r--r--engine/cgb_layouts.asm8
-rw-r--r--engine/color.asm16
-rw-r--r--gfx/sgb/pal_packets.asm2
-rw-r--r--gfx/sgb/predef.pal8
-rw-r--r--gfx/stats/party_menu_bg.pal4
-rw-r--r--gfx/stats/party_menu_bg_mobile.pal4
-rw-r--r--gfx/stats/party_menu_ob.pal (renamed from gfx/icons/party_menu.pal)0
8 files changed, 26 insertions, 24 deletions
diff --git a/constants/scgb_constants.asm b/constants/scgb_constants.asm
index 8928d9bfc..88c96f90f 100755
--- a/constants/scgb_constants.asm
+++ b/constants/scgb_constants.asm
@@ -103,10 +103,10 @@ SCGB_RAM EQU -1
const PREDEFPAL_SLOT_MACHINE_1
const PREDEFPAL_SLOT_MACHINE_2
const PREDEFPAL_SLOT_MACHINE_3
- const PREDEFPAL_41
- const PREDEFPAL_42
- const PREDEFPAL_43
- const PREDEFPAL_44
+ const PREDEFPAL_SCGB_11_0
+ const PREDEFPAL_SCGB_11_1
+ const PREDEFPAL_SCGB_11_2
+ const PREDEFPAL_SCGB_11_3
const PREDEFPAL_45
const PREDEFPAL_46
const PREDEFPAL_47
diff --git a/engine/cgb_layouts.asm b/engine/cgb_layouts.asm
index 908762520..775db1b70 100644
--- a/engine/cgb_layouts.asm
+++ b/engine/cgb_layouts.asm
@@ -158,9 +158,9 @@ _CGB_FinishBattleScreenLayout: ; 8e23
InitPartyMenuBGPal7: ; 8e85
farcall Function100dc0
Mobile_InitPartyMenuBGPal7: ; 8e8b
- ld hl, Palette_b311
+ ld hl, PartyMenuBGPalette
jr nc, .not_mobile
- ld hl, Palette_b309
+ ld hl, PartyMenuBGMobilePalette
.not_mobile
ld de, wBGPals1 palette 7
ld bc, 1 palettes
@@ -171,9 +171,9 @@ Mobile_InitPartyMenuBGPal7: ; 8e8b
InitPartyMenuBGPal0: ; 8e9f
farcall Function100dc0
- ld hl, Palette_b311
+ ld hl, PartyMenuBGPalette
jr nc, .not_mobile
- ld hl, Palette_b309
+ ld hl, PartyMenuBGMobilePalette
.not_mobile
ld de, wBGPals1 palette 0
ld bc, 1 palettes
diff --git a/engine/color.asm b/engine/color.asm
index 870dfd85b..bdac2b97f 100644
--- a/engine/color.asm
+++ b/engine/color.asm
@@ -1315,17 +1315,11 @@ endr
INCLUDE "data/maps/environment_colors.asm"
-Palette_b309: ; b309 mobile
- RGB 31, 31, 31
- RGB 31, 19, 24
- RGB 30, 10, 06
- RGB 00, 00, 00
+PartyMenuBGMobilePalette:
+INCLUDE "gfx/stats/party_menu_bg_mobile.pal"
-Palette_b311: ; b311 not mobile
- RGB 31, 31, 31
- RGB 17, 19, 31
- RGB 14, 16, 31
- RGB 00, 00, 00
+PartyMenuBGPalette:
+INCLUDE "gfx/stats/party_menu_bg.pal"
TilesetBGPalette:
INCLUDE "gfx/tilesets/bg_tiles.pal"
@@ -1340,7 +1334,7 @@ DiplomaPalettes:
INCLUDE "gfx/diploma/diploma.pal"
PartyMenuOBPals:
-INCLUDE "gfx/icons/party_menu.pal"
+INCLUDE "gfx/stats/party_menu_ob.pal"
UnusedGSTitleBGPals:
INCLUDE "gfx/title/unused_gs_bg.pal"
diff --git a/gfx/sgb/pal_packets.asm b/gfx/sgb/pal_packets.asm
index 237909159..95a224f2b 100644
--- a/gfx/sgb/pal_packets.asm
+++ b/gfx/sgb/pal_packets.asm
@@ -24,7 +24,7 @@ PalPacket_SCGB_13:
sgb_pal_set 2B, BADGE, 20, 00
PalPacket_SCGB_11:
- sgb_pal_set 41, 42, 43, 44
+ sgb_pal_set SCGB_11_0, SCGB_11_1, SCGB_11_2, SCGB_11_3
PalPacket_UnownPuzzle:
sgb_pal_set UNOWN_PUZZLE, UNOWN_PUZZLE, UNOWN_PUZZLE, UNOWN_PUZZLE
diff --git a/gfx/sgb/predef.pal b/gfx/sgb/predef.pal
index 9ba598d94..27094f292 100644
--- a/gfx/sgb/predef.pal
+++ b/gfx/sgb/predef.pal
@@ -63,10 +63,10 @@
RGB 31,31,31, 30,27,04, 24,20,11, 00,00,00 ; PREDEFPAL_SLOT_MACHINE_1
RGB 31,31,31, 31,13,25, 24,20,11, 00,00,00 ; PREDEFPAL_SLOT_MACHINE_2
RGB 31,31,31, 16,19,29, 24,20,11, 00,00,00 ; PREDEFPAL_SLOT_MACHINE_3
- RGB 31,31,31, 30,22,24, 18,18,18, 16,10,07 ; PREDEFPAL_41
- RGB 31,31,31, 21,25,29, 18,18,18, 16,10,07 ; PREDEFPAL_42
- RGB 31,31,31, 20,26,16, 18,18,18, 16,10,07 ; PREDEFPAL_43
- RGB 31,31,31, 31,28,14, 18,18,18, 16,10,07 ; PREDEFPAL_44
+ RGB 31,31,31, 30,22,24, 18,18,18, 16,10,07 ; PREDEFPAL_SCGB_11_0
+ RGB 31,31,31, 21,25,29, 18,18,18, 16,10,07 ; PREDEFPAL_SCGB_11_1
+ RGB 31,31,31, 20,26,16, 18,18,18, 16,10,07 ; PREDEFPAL_SCGB_11_2
+ RGB 31,31,31, 31,28,14, 18,18,18, 16,10,07 ; PREDEFPAL_SCGB_11_3
RGB 31,31,31, 18,18,18, 26,10,06, 00,00,00 ; PREDEFPAL_45
RGB 31,31,31, 30,22,24, 28,15,21, 00,00,00 ; PREDEFPAL_46
RGB 31,31,31, 26,20,00, 16,19,29, 00,00,00 ; PREDEFPAL_47
diff --git a/gfx/stats/party_menu_bg.pal b/gfx/stats/party_menu_bg.pal
new file mode 100644
index 000000000..324109a2b
--- /dev/null
+++ b/gfx/stats/party_menu_bg.pal
@@ -0,0 +1,4 @@
+ RGB 31, 31, 31
+ RGB 17, 19, 31
+ RGB 14, 16, 31
+ RGB 00, 00, 00
diff --git a/gfx/stats/party_menu_bg_mobile.pal b/gfx/stats/party_menu_bg_mobile.pal
new file mode 100644
index 000000000..016eee5a1
--- /dev/null
+++ b/gfx/stats/party_menu_bg_mobile.pal
@@ -0,0 +1,4 @@
+ RGB 31, 31, 31
+ RGB 31, 19, 24
+ RGB 30, 10, 06
+ RGB 00, 00, 00
diff --git a/gfx/icons/party_menu.pal b/gfx/stats/party_menu_ob.pal
index 70af517be..70af517be 100644
--- a/gfx/icons/party_menu.pal
+++ b/gfx/stats/party_menu_ob.pal