Clean up graphics
|
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 284 B |
|
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 186 B |
|
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 190 B |
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 192 B |
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 203 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 137 B |
@@ -29,6 +29,7 @@ BATTLETERRAINGFXDIR := graphics/battle_terrain
|
|||||||
BERRYPOUCHGFXDIR := graphics/berry_pouch
|
BERRYPOUCHGFXDIR := graphics/berry_pouch
|
||||||
HALLOFFAMEGFXDIR := graphics/hall_of_fame
|
HALLOFFAMEGFXDIR := graphics/hall_of_fame
|
||||||
MAPPREVIEWGFXDIR := graphics/map_preview
|
MAPPREVIEWGFXDIR := graphics/map_preview
|
||||||
|
NAMINGGFXDIR := graphics/naming_screen
|
||||||
|
|
||||||
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark
|
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark
|
||||||
contest_types := cool beauty cute smart tough
|
contest_types := cool beauty cute smart tough
|
||||||
@@ -654,3 +655,12 @@ $(MAPPREVIEWGFXDIR)/victory_road/tiles.4bpp: %.4bpp: %.png
|
|||||||
|
|
||||||
$(MAPPREVIEWGFXDIR)/viridian_forest/tiles.4bpp: %.4bpp: %.png
|
$(MAPPREVIEWGFXDIR)/viridian_forest/tiles.4bpp: %.4bpp: %.png
|
||||||
$(GFX) $< $@ -num_tiles 389
|
$(GFX) $< $@ -num_tiles 389
|
||||||
|
|
||||||
|
$(NAMINGGFXDIR)/cursor.4bpp: %.4bpp: %.png
|
||||||
|
$(GFX) $< $@ -num_tiles 5
|
||||||
|
|
||||||
|
$(NAMINGGFXDIR)/cursor_squished.4bpp: %.4bpp: %.png
|
||||||
|
$(GFX) $< $@ -num_tiles 5
|
||||||
|
|
||||||
|
$(NAMINGGFXDIR)/cursor_filled.4bpp: %.4bpp: %.png
|
||||||
|
$(GFX) $< $@ -num_tiles 5
|
||||||
|
|||||||
@@ -4909,7 +4909,7 @@ extern const u32 gNamingScreenKeyboardSymbols_Tilemap[];
|
|||||||
extern const u32 gNamingScreenMenu_Gfx[];
|
extern const u32 gNamingScreenMenu_Gfx[];
|
||||||
extern const u16 gNamingScreenRival_Pal[];
|
extern const u16 gNamingScreenRival_Pal[];
|
||||||
extern const u16 gNamingScreenKeyboard_Pal[];
|
extern const u16 gNamingScreenKeyboard_Pal[];
|
||||||
extern const u16 gNamingScreenInterface_Pal[6][16];
|
extern const u16 gNamingScreenMenu_Pal[6][16];
|
||||||
extern const u16 gNamingScreenBackButton_Gfx[];
|
extern const u16 gNamingScreenBackButton_Gfx[];
|
||||||
extern const u16 gNamingScreenOKButton_Gfx[];
|
extern const u16 gNamingScreenOKButton_Gfx[];
|
||||||
extern const u16 gNamingScreenPageSwapFrame_Gfx[];
|
extern const u16 gNamingScreenPageSwapFrame_Gfx[];
|
||||||
|
|||||||
@@ -1183,9 +1183,9 @@ const u32 gUnknown_8E97EC4[] = INCBIN_U32("graphics/interface/learn_move.bin.lz"
|
|||||||
|
|
||||||
const u16 gNamingScreenKeyboard_Pal[] = INCBIN_U16("graphics/naming_screen/keyboard.gbapal");
|
const u16 gNamingScreenKeyboard_Pal[] = INCBIN_U16("graphics/naming_screen/keyboard.gbapal");
|
||||||
const u16 gNamingScreenRival_Pal[] = INCBIN_U16("graphics/naming_screen/rival.gbapal");
|
const u16 gNamingScreenRival_Pal[] = INCBIN_U16("graphics/naming_screen/rival.gbapal");
|
||||||
const u16 gNamingScreenInterface_Pal[6][16] =
|
const u16 gNamingScreenMenu_Pal[6][16] =
|
||||||
{
|
{
|
||||||
INCBIN_U16("graphics/naming_screen/pc_icon.gbapal"),
|
INCBIN_U16("graphics/naming_screen/menu.gbapal"),
|
||||||
INCBIN_U16("graphics/naming_screen/page_swap_upper.gbapal"),
|
INCBIN_U16("graphics/naming_screen/page_swap_upper.gbapal"),
|
||||||
INCBIN_U16("graphics/naming_screen/page_swap_lower.gbapal"),
|
INCBIN_U16("graphics/naming_screen/page_swap_lower.gbapal"),
|
||||||
INCBIN_U16("graphics/naming_screen/page_swap_others.gbapal"),
|
INCBIN_U16("graphics/naming_screen/page_swap_others.gbapal"),
|
||||||
|
|||||||
@@ -58,10 +58,10 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PALTAG_PC_ICON,
|
PALTAG_MENU, // Also the PC icon
|
||||||
PALTAG_PAGE_SWAP_UPPER,
|
PALTAG_PAGE_SWAP_UPPER,
|
||||||
PALTAG_PAGE_SWAP_LOWER,
|
PALTAG_PAGE_SWAP_LOWER,
|
||||||
PALTAG_PAGE_SWAP_OTHERS,
|
PALTAG_PAGE_SWAP_OTHERS, // Also the input arrow/underscore
|
||||||
PALTAG_PAGE_SWAP,
|
PALTAG_PAGE_SWAP,
|
||||||
PALTAG_CURSOR,
|
PALTAG_CURSOR,
|
||||||
PALTAG_BACK_BUTTON,
|
PALTAG_BACK_BUTTON,
|
||||||
@@ -782,7 +782,7 @@ static bool8 MainState_WaitPageSwap(void)
|
|||||||
|
|
||||||
sNamingScreen->state = STATE_HANDLE_INPUT;
|
sNamingScreen->state = STATE_HANDLE_INPUT;
|
||||||
sNamingScreen->currentPage++;
|
sNamingScreen->currentPage++;
|
||||||
sNamingScreen->currentPage %= 3;
|
sNamingScreen->currentPage %= KBPAGE_COUNT;
|
||||||
|
|
||||||
if (onLastColumn)
|
if (onLastColumn)
|
||||||
{
|
{
|
||||||
@@ -1872,7 +1872,7 @@ static void CreateHelperTasks(void)
|
|||||||
|
|
||||||
static void LoadPalettes(void)
|
static void LoadPalettes(void)
|
||||||
{
|
{
|
||||||
LoadPalette(gNamingScreenInterface_Pal, 0, sizeof(gNamingScreenInterface_Pal));
|
LoadPalette(gNamingScreenMenu_Pal, 0, sizeof(gNamingScreenMenu_Pal));
|
||||||
LoadPalette(gNamingScreenKeyboard_Pal, 0xA0, 0x20);
|
LoadPalette(gNamingScreenKeyboard_Pal, 0xA0, 0x20);
|
||||||
LoadPalette(stdpal_get(2), 0xB0, 0x20);
|
LoadPalette(stdpal_get(2), 0xB0, 0x20);
|
||||||
}
|
}
|
||||||
@@ -2442,7 +2442,7 @@ static const struct SpriteTemplate sSpriteTemplate_Underscore = {
|
|||||||
|
|
||||||
static const struct SpriteTemplate sSpriteTemplate_PCIcon = {
|
static const struct SpriteTemplate sSpriteTemplate_PCIcon = {
|
||||||
.tileTag = TAG_NONE,
|
.tileTag = TAG_NONE,
|
||||||
.paletteTag = PALTAG_PC_ICON,
|
.paletteTag = PALTAG_MENU,
|
||||||
.oam = &sOam_8x8,
|
.oam = &sOam_8x8,
|
||||||
.anims = sAnims_PCIcon,
|
.anims = sAnims_PCIcon,
|
||||||
.images = sImageTable_PCIcon,
|
.images = sImageTable_PCIcon,
|
||||||
@@ -2488,13 +2488,13 @@ static const struct SpriteSheet sSpriteSheets[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct SpritePalette sSpritePalettes[] = {
|
static const struct SpritePalette sSpritePalettes[] = {
|
||||||
{gNamingScreenInterface_Pal[0], PALTAG_PC_ICON},
|
{gNamingScreenMenu_Pal[0], PALTAG_MENU},
|
||||||
{gNamingScreenInterface_Pal[1], PALTAG_PAGE_SWAP_UPPER},
|
{gNamingScreenMenu_Pal[1], PALTAG_PAGE_SWAP_UPPER},
|
||||||
{gNamingScreenInterface_Pal[2], PALTAG_PAGE_SWAP_LOWER},
|
{gNamingScreenMenu_Pal[2], PALTAG_PAGE_SWAP_LOWER},
|
||||||
{gNamingScreenInterface_Pal[3], PALTAG_PAGE_SWAP_OTHERS},
|
{gNamingScreenMenu_Pal[3], PALTAG_PAGE_SWAP_OTHERS},
|
||||||
{gNamingScreenInterface_Pal[4], PALTAG_PAGE_SWAP},
|
{gNamingScreenMenu_Pal[4], PALTAG_PAGE_SWAP},
|
||||||
{gNamingScreenInterface_Pal[5], PALTAG_CURSOR},
|
{gNamingScreenMenu_Pal[5], PALTAG_CURSOR},
|
||||||
{gNamingScreenInterface_Pal[4], PALTAG_BACK_BUTTON},
|
{gNamingScreenMenu_Pal[4], PALTAG_BACK_BUTTON},
|
||||||
{gNamingScreenInterface_Pal[4], PALTAG_OK_BUTTON},
|
{gNamingScreenMenu_Pal[4], PALTAG_OK_BUTTON},
|
||||||
{} // terminator
|
{} // terminator
|
||||||
};
|
};
|
||||||
|
|||||||