mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 03:04:15 +01:00
Colorize and combine birch_bag/birch_grass
This commit is contained in:
parent
863779afbb
commit
12cbb0b30f
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 691 B |
BIN
graphics/starter_choose/tiles.png
Normal file
BIN
graphics/starter_choose/tiles.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -675,9 +675,6 @@ $(POKEDEXGFXDIR)/region_map.8bpp: %.8bpp: %.png
|
||||
$(POKEDEXGFXDIR)/region_map_affine.8bpp: %.8bpp: %.png
|
||||
$(GFX) $< $@ -num_tiles 233 -Wnum_tiles
|
||||
|
||||
$(STARTERGFXDIR)/birch_help.4bpp: $(STARTERGFXDIR)/birch_bag.4bpp $(STARTERGFXDIR)/birch_grass.4bpp
|
||||
@cat $^ >$@
|
||||
|
||||
$(NAMINGGFXDIR)/cursor.4bpp: %.4bpp: %.png
|
||||
$(GFX) $< $@ -num_tiles 5 -Wnum_tiles
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
#ifndef GUARD_STARTER_CHOOSE_H
|
||||
#define GUARD_STARTER_CHOOSE_H
|
||||
|
||||
extern const u16 gBirchBagGrassPal[2][16];
|
||||
extern const u16 gBirchBagGrass_Pal[];
|
||||
extern const u32 gBirchBagTilemap[];
|
||||
extern const u32 gBirchGrassTilemap[];
|
||||
extern const u32 gBirchHelpGfx[];
|
||||
extern const u32 gBirchBagGrass_Gfx[];
|
||||
extern const u32 gPokeballSelection_Gfx[];
|
||||
|
||||
u16 GetStarterPokemon(u16 chosenStarterId);
|
||||
|
@ -547,9 +547,9 @@ static void Task_LoadShowMons(u8 taskId)
|
||||
ResetAllPicSprites();
|
||||
FreeAllSpritePalettes();
|
||||
gReservedSpritePaletteCount = 8;
|
||||
LZ77UnCompVram(gBirchHelpGfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchBagGrass_Gfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchGrassTilemap, (void *)(BG_SCREEN_ADDR(7)));
|
||||
LoadPalette(gBirchBagGrassPal[0] + 1, 1, 31 * 2);
|
||||
LoadPalette(gBirchBagGrass_Pal + 1, 1, 31 * 2);
|
||||
|
||||
for (i = 0; i < MON_PIC_SIZE; i++)
|
||||
gDecompressionBuffer[i] = 0x11;
|
||||
|
@ -196,7 +196,7 @@ static void CB2_SaveFailedScreen(void)
|
||||
DmaFill16(3, 0, VRAM, VRAM_SIZE);
|
||||
DmaFill32(3, 0, OAM, OAM_SIZE);
|
||||
DmaFill16(3, 0, PLTT, PLTT_SIZE);
|
||||
LZ77UnCompVram(gBirchHelpGfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchBagGrass_Gfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchBagTilemap, (void *)(BG_SCREEN_ADDR(14)));
|
||||
LZ77UnCompVram(gBirchGrassTilemap, (void *)(BG_SCREEN_ADDR(15)));
|
||||
LZ77UnCompVram(sSaveFailedClockGfx, (void *)(OBJ_VRAM0 + 0x20));
|
||||
@ -214,7 +214,7 @@ static void CB2_SaveFailedScreen(void)
|
||||
ResetSpriteData();
|
||||
ResetTasks();
|
||||
ResetPaletteFade();
|
||||
LoadPalette(gBirchBagGrassPal, 0, 0x40);
|
||||
LoadPalette(gBirchBagGrass_Pal, 0, 0x40);
|
||||
LoadPalette(sSaveFailedClockPal, 0x100, 0x20);
|
||||
LoadPalette(gTextWindowFrame1_Pal, 0xE0, 0x20);
|
||||
LoadPalette(gStandardMenuPalette, 0xF0, 0x20);
|
||||
|
@ -51,17 +51,12 @@ static void SpriteCB_StarterPokemon(struct Sprite *sprite);
|
||||
|
||||
static u16 sStarterLabelWindowId;
|
||||
|
||||
const u16 gBirchBagGrassPal[][16] =
|
||||
{
|
||||
INCBIN_U16("graphics/starter_choose/birch_bag.gbapal"),
|
||||
INCBIN_U16("graphics/starter_choose/birch_grass.gbapal"),
|
||||
};
|
||||
|
||||
const u16 gBirchBagGrass_Pal[] = INCBIN_U16("graphics/starter_choose/tiles.gbapal");
|
||||
static const u16 sPokeballSelection_Pal[] = INCBIN_U16("graphics/starter_choose/pokeball_selection.gbapal");
|
||||
static const u16 sStarterCircle_Pal[] = INCBIN_U16("graphics/starter_choose/starter_circle.gbapal");
|
||||
const u32 gBirchBagTilemap[] = INCBIN_U32("graphics/starter_choose/birch_bag.bin.lz");
|
||||
const u32 gBirchGrassTilemap[] = INCBIN_U32("graphics/starter_choose/birch_grass.bin.lz");
|
||||
const u32 gBirchHelpGfx[] = INCBIN_U32("graphics/starter_choose/birch_help.4bpp.lz"); // Birch bag and grass combined
|
||||
const u32 gBirchBagGrass_Gfx[] = INCBIN_U32("graphics/starter_choose/tiles.4bpp.lz");
|
||||
const u32 gPokeballSelection_Gfx[] = INCBIN_U32("graphics/starter_choose/pokeball_selection.4bpp.lz");
|
||||
static const u32 sStarterCircle_Gfx[] = INCBIN_U32("graphics/starter_choose/starter_circle.4bpp.lz");
|
||||
|
||||
@ -402,7 +397,7 @@ void CB2_ChooseStarter(void)
|
||||
DmaFill32(3, 0, OAM, OAM_SIZE);
|
||||
DmaFill16(3, 0, PLTT, PLTT_SIZE);
|
||||
|
||||
LZ77UnCompVram(gBirchHelpGfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchBagGrass_Gfx, (void *)VRAM);
|
||||
LZ77UnCompVram(gBirchBagTilemap, (void *)(BG_SCREEN_ADDR(6)));
|
||||
LZ77UnCompVram(gBirchGrassTilemap, (void *)(BG_SCREEN_ADDR(7)));
|
||||
|
||||
@ -421,7 +416,7 @@ void CB2_ChooseStarter(void)
|
||||
ResetAllPicSprites();
|
||||
|
||||
LoadPalette(GetOverworldTextboxPalettePtr(), 0xE0, 0x20);
|
||||
LoadPalette(gBirchBagGrassPal, 0, 0x40);
|
||||
LoadPalette(gBirchBagGrass_Pal, 0, sizeof(gBirchBagGrass_Pal));
|
||||
LoadCompressedSpriteSheet(&sSpriteSheet_PokeballSelect[0]);
|
||||
LoadCompressedSpriteSheet(&sSpriteSheet_StarterCircle[0]);
|
||||
LoadSpritePalettes(sSpritePalettes_StarterChoose);
|
||||
|
Loading…
Reference in New Issue
Block a user