Document pokeblock feed scene

This commit is contained in:
GriffinR 2021-04-12 12:33:06 -04:00
parent c786a9b20c
commit 042a2ecc41
6 changed files with 455 additions and 358 deletions

View file

@ -4076,7 +4076,7 @@ extern const u8 gNamingScreenCursor_Gfx[];
extern const u8 gNamingScreenInputArrow_Gfx[];
extern const u8 gNamingScreenUnderscore_Gfx[];
extern const u32 gUnknown_08D9BA44[];
extern const u32 gPokeblockFeedBg_Tilemap[];
extern const u32 gConfetti_Gfx[];
extern const u32 gConfetti_Pal[];

View file

@ -51,7 +51,7 @@ extern s16 gPokeblockGain;
void ChooseMonToGivePokeblock(struct Pokeblock *pokeblock, void (*callback)(void));
// pokeblock feed
void CB2_PreparePokeblockFeedScene(void);
void PreparePokeblockFeedScene(void);
// pokeblock
extern const s8 gPokeblockFlavorCompatibilityTable[NUM_NATURES * FLAVOR_COUNT];

View file

@ -1201,7 +1201,7 @@ const u32 gPokeblockBlack_Pal[] = INCBIN_U32("graphics/pokeblock/black.gbapal.lz
const u32 gPokeblockWhite_Pal[] = INCBIN_U32("graphics/pokeblock/white.gbapal.lz");
const u32 gPokeblockGold_Pal[] = INCBIN_U32("graphics/pokeblock/gold.gbapal.lz");
const u32 gUnknown_08D9BA44[] = INCBIN_U32("graphics/interface/pokeblock_feeding_bg_map.bin.lz");
const u32 gPokeblockFeedBg_Tilemap[] = INCBIN_U32("graphics/interface/pokeblock_feeding_bg_map.bin.lz");
#include "data/graphics/berries.h"
#include "data/graphics/rayquaza_scene.h"

View file

@ -37,7 +37,7 @@
#define MENU_MIDPOINT (MAX_MENU_ITEMS / 2)
#define TILE_HIGHLIGHT_NONE 0x0005 // Tile number for the bg of an unselected menu item
#define TILE_HIGHLIGHT_BLUE 0x1005 // Tile number for the bg of a selected menu item
#define TILE_HIGHLIGHT_BLUE 0x1005 // Tile number for the bg of a selected menu item
#define TILE_HIGHLIGHT_RED 0x2005 // Tile number for the bg of a menu item to swap
#define TAG_POKEBLOCK_CASE 14800

File diff suppressed because it is too large Load diff

View file

@ -708,7 +708,7 @@ static void FeedPokeblockToMon(void)
FREE_AND_SET_NULL(sMenu);
FreeAllWindowBuffers();
gMain.savedCallback = CB2_ReturnAndChooseMonToGivePokeblock;
CB2_PreparePokeblockFeedScene();
PreparePokeblockFeedScene();
}
break;
}