Move party menu graphics out of interface
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 261 B |
@ -429,7 +429,7 @@ $(MASKSGFXDIR)/unused_level_up.4bpp: %.4bpp: %.png
|
||||
$(BATTRANSGFXDIR)/vs_frame.4bpp: %.4bpp: %.png
|
||||
$(GFX) $< $@ -num_tiles 16
|
||||
|
||||
$(INTERFACEGFXDIR)/party_menu_bg.4bpp: %.4bpp: %.png
|
||||
graphics/party_menu/bg.4bpp: %.4bpp: %.png
|
||||
$(GFX) $< $@ -num_tiles 62
|
||||
|
||||
$(TYPESGFXDIR)/move_types.4bpp: $(types:%=$(TYPESGFXDIR)/%.4bpp) $(contest_types:%=$(TYPESGFXDIR)/contest_%.4bpp)
|
||||
|
@ -1,3 +1,9 @@
|
||||
enum {
|
||||
TAG_POKEBALL = 1200,
|
||||
TAG_POKEBALL_SMALL,
|
||||
TAG_STATUS_ICONS,
|
||||
};
|
||||
|
||||
static const struct BgTemplate sPartyMenuBgTemplates[] =
|
||||
{
|
||||
{
|
||||
@ -112,8 +118,8 @@ static const u8 sPartyMenuSpriteCoords[PARTY_LAYOUT_COUNT][PARTY_SIZE][4 * 2] =
|
||||
};
|
||||
|
||||
// Used only when both Cancel and Confirm are present
|
||||
static const u32 sConfirmButton_Tilemap[] = INCBIN_U32("graphics/interface/party_menu_confirm_button.bin");
|
||||
static const u32 sCancelButton_Tilemap[] = INCBIN_U32("graphics/interface/party_menu_cancel_button.bin");
|
||||
static const u32 sConfirmButton_Tilemap[] = INCBIN_U32("graphics/party_menu/confirm_button.bin");
|
||||
static const u32 sCancelButton_Tilemap[] = INCBIN_U32("graphics/party_menu/cancel_button.bin");
|
||||
|
||||
// Text colors for BG, FG, and Shadow in that order
|
||||
static const u8 sFontColorTable[][3] =
|
||||
@ -969,19 +975,19 @@ static const union AnimCmd *const sSpriteAnimTable_MenuPokeball[] =
|
||||
|
||||
static const struct CompressedSpriteSheet sSpriteSheet_MenuPokeball =
|
||||
{
|
||||
gPartyMenuPokeball_Gfx, 0x400, 0x04b0
|
||||
gPartyMenuPokeball_Gfx, 0x400, TAG_POKEBALL
|
||||
};
|
||||
|
||||
static const struct CompressedSpritePalette sSpritePalette_MenuPokeball =
|
||||
{
|
||||
gPartyMenuPokeball_Pal, 0x04b0
|
||||
gPartyMenuPokeball_Pal, TAG_POKEBALL
|
||||
};
|
||||
|
||||
// Used for the pokeball sprite on each party slot / Cancel button
|
||||
static const struct SpriteTemplate sSpriteTemplate_MenuPokeball =
|
||||
{
|
||||
.tileTag = 0x04b0,
|
||||
.paletteTag = 0x04b0,
|
||||
.tileTag = TAG_POKEBALL,
|
||||
.paletteTag = TAG_POKEBALL,
|
||||
.oam = &sOamData_MenuPokeball,
|
||||
.anims = sSpriteAnimTable_MenuPokeball,
|
||||
.images = NULL,
|
||||
@ -1055,14 +1061,14 @@ static const union AnimCmd *const sSpriteAnimTable_MenuPokeballSmall[] =
|
||||
|
||||
static const struct CompressedSpriteSheet sSpriteSheet_MenuPokeballSmall =
|
||||
{
|
||||
gPartyMenuPokeballSmall_Gfx, 0x0300, 0x04b1
|
||||
gPartyMenuPokeballSmall_Gfx, 0x0300, TAG_POKEBALL_SMALL
|
||||
};
|
||||
|
||||
// Used for the pokeball sprite next to Cancel and Confirm when both are present, otherwise sSpriteTemplate_MenuPokeball is used
|
||||
static const struct SpriteTemplate sSpriteTemplate_MenuPokeballSmall =
|
||||
{
|
||||
.tileTag = 1201,
|
||||
.paletteTag = 1200,
|
||||
.tileTag = TAG_POKEBALL_SMALL,
|
||||
.paletteTag = TAG_POKEBALL,
|
||||
.oam = &sOamData_MenuPokeballSmall,
|
||||
.anims = sSpriteAnimTable_MenuPokeballSmall,
|
||||
.images = NULL,
|
||||
@ -1149,18 +1155,18 @@ static const union AnimCmd *const sSpriteTemplate_StatusCondition[] =
|
||||
|
||||
static const struct CompressedSpriteSheet sSpriteSheet_StatusIcons =
|
||||
{
|
||||
gStatusGfx_Icons, 0x400, 1202
|
||||
gStatusGfx_Icons, 0x400, TAG_STATUS_ICONS
|
||||
};
|
||||
|
||||
static const struct CompressedSpritePalette sSpritePalette_StatusIcons =
|
||||
{
|
||||
gStatusPal_Icons, 1202
|
||||
gStatusPal_Icons, TAG_STATUS_ICONS
|
||||
};
|
||||
|
||||
static const struct SpriteTemplate sSpriteTemplate_StatusIcons =
|
||||
{
|
||||
.tileTag = 1202,
|
||||
.paletteTag = 1202,
|
||||
.tileTag = TAG_STATUS_ICONS,
|
||||
.paletteTag = TAG_STATUS_ICONS,
|
||||
.oam = &sOamData_StatusCondition,
|
||||
.anims = sSpriteTemplate_StatusCondition,
|
||||
.images = NULL,
|
||||
|
@ -147,7 +147,7 @@ const u32 gBattleAnimSpriteGfx_ClawSlash[] = INCBIN_U32("graphics/battle_anims/s
|
||||
const u32 gBattleAnimSpriteGfx_Scratch3[] = INCBIN_U32("graphics/battle_anims/sprites/scratch_3.4bpp.lz");
|
||||
const u32 gBattleAnimSpriteGfx_Scratch2[] = INCBIN_U32("graphics/battle_anims/sprites/scratch_2.4bpp.lz");
|
||||
|
||||
const u32 gPartyMenuHpBar_Gfx[] = INCBIN_U32("graphics/interface/party_menu_hpbar.4bpp.lz");
|
||||
const u32 gUnusedHpBar_Gfx[] = INCBIN_U32("graphics/interface/unused_hpbar.4bpp.lz");
|
||||
|
||||
const u32 gBattleAnimSpriteGfx_BubbleBurst2[] = INCBIN_U32("graphics/battle_anims/sprites/bubble_burst_2.4bpp.lz");
|
||||
|
||||
@ -1112,13 +1112,13 @@ const u32 gBattleAnimSpritePal_Slash2[] = INCBIN_U32("graphics/battle_anims/spri
|
||||
const u32 gBattleAnimSpriteGfx_WhiteShadow[] = INCBIN_U32("graphics/battle_anims/sprites/white_shadow.4bpp.lz");
|
||||
const u32 gBattleAnimSpritePal_WhiteShadow[] = INCBIN_U32("graphics/battle_anims/sprites/white_shadow.gbapal.lz");
|
||||
|
||||
const u32 gPartyMenuBg_Gfx[] = INCBIN_U32("graphics/interface/party_menu_bg.4bpp.lz");
|
||||
const u32 gPartyMenuBg_Pal[] = INCBIN_U32("graphics/interface/party_menu_bg.gbapal.lz");
|
||||
const u32 gPartyMenuBg_Tilemap[] = INCBIN_U32("graphics/interface/party_menu_bg.bin.lz");
|
||||
const u32 gPartyMenuBg_Gfx[] = INCBIN_U32("graphics/party_menu/bg.4bpp.lz");
|
||||
const u32 gPartyMenuBg_Pal[] = INCBIN_U32("graphics/party_menu/bg.gbapal.lz");
|
||||
const u32 gPartyMenuBg_Tilemap[] = INCBIN_U32("graphics/party_menu/bg.bin.lz");
|
||||
|
||||
const u32 gPartyMenuPokeball_Gfx[] = INCBIN_U32("graphics/interface/party_menu_pokeball.4bpp.lz");
|
||||
const u32 gPartyMenuPokeballSmall_Gfx[] = INCBIN_U32("graphics/interface/party_menu_pokeball_small.4bpp.lz"); //unused
|
||||
const u32 gPartyMenuPokeball_Pal[] = INCBIN_U32("graphics/interface/party_menu_pokeball.gbapal.lz");
|
||||
const u32 gPartyMenuPokeball_Gfx[] = INCBIN_U32("graphics/party_menu/pokeball.4bpp.lz");
|
||||
const u32 gPartyMenuPokeballSmall_Gfx[] = INCBIN_U32("graphics/party_menu/pokeball_small.4bpp.lz"); //unused
|
||||
const u32 gPartyMenuPokeball_Pal[] = INCBIN_U32("graphics/party_menu/pokeball.gbapal.lz");
|
||||
|
||||
const u32 gStatusGfx_Icons[] = INCBIN_U32("graphics/interface/status_icons.4bpp.lz");
|
||||
const u32 gStatusPal_Icons[] = INCBIN_U32("graphics/interface/status_icons.gbapal.lz");
|
||||
|