Decompile pokedex_area_screen.c (#412)
This commit is contained in:
@@ -4736,4 +4736,8 @@ extern const u32 gSlotMachineReelTime_Gfx[];
|
||||
extern const u32 gUnknown_08D8D410[];
|
||||
extern const u32 gUnknown_08D8D58C[];
|
||||
|
||||
// Pokedex Area Screen
|
||||
extern const u32 gPokedexAreaScreenAreaUnknown_Gfx[];
|
||||
extern const u16 gPokedexAreaScreenAreaUnknown_Pal[];
|
||||
|
||||
#endif //GUARD_GRAPHICS_H
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef GUARD_POKEDEX_AREA_SCREEN_H
|
||||
#define GUARD_POKEDEX_AREA_SCREEN_H
|
||||
|
||||
void sub_813D3D8(u16, u8*);
|
||||
void ShowPokedexAreaScreen(u16, u8*);
|
||||
|
||||
#endif // GUARD_POKEDEX_AREA_SCREEN_H
|
||||
|
||||
@@ -78,6 +78,15 @@ struct RegionMap {
|
||||
/*0x284*/ u8 cursorLargeImage[0x600];
|
||||
}; // size = 0x884
|
||||
|
||||
struct RegionMapLocation
|
||||
{
|
||||
u8 x;
|
||||
u8 y;
|
||||
u8 width;
|
||||
u8 height;
|
||||
const u8 *name;
|
||||
};
|
||||
|
||||
// Exported RAM declarations
|
||||
|
||||
// Exported ROM declarations
|
||||
@@ -95,5 +104,10 @@ u8 *GetMapName(u8 *, u16, u16);
|
||||
bool32 sub_8124668(u8 mapSecId);
|
||||
u8 *sub_81245DC(u8 *dest, u16 mapSecId);
|
||||
u8 *sub_8124610(u8 *dest, u16 mapSecId);
|
||||
u16 CorrectSpecialMapSecId(u16 mapSecId);
|
||||
void sub_8122D88(struct RegionMap *regionMap);
|
||||
void PokedexAreaScreen_UpdateRegionMapVariablesAndVideoRegs(s16 x, s16 y);
|
||||
|
||||
extern const struct RegionMapLocation gRegionMapEntries[];
|
||||
|
||||
#endif //GUARD_REGION_MAP_H
|
||||
|
||||
17
include/unk_pokedex_area_screen_helper.h
Executable file
17
include/unk_pokedex_area_screen_helper.h
Executable file
@@ -0,0 +1,17 @@
|
||||
#ifndef GUARD_UNK_POKEDEX_AREA_SCREEN_HELPER_H
|
||||
#define GUARD_UNK_POKEDEX_AREA_SCREEN_HELPER_H
|
||||
|
||||
struct UnkStruct_1C4D70
|
||||
{
|
||||
u32 bg:2;
|
||||
u32 unk2:8;
|
||||
u32 unk10:2;
|
||||
u32 unk12:20;
|
||||
};
|
||||
|
||||
void sub_81C4D70(const struct UnkStruct_1C4D70 *);
|
||||
bool32 sub_81C4E90(void);
|
||||
void sub_81C4ED0(u32);
|
||||
void sub_81C4EB4(void);
|
||||
|
||||
#endif // GUARD_UNK_POKEDEX_AREA_SCREEN_HELPER_H
|
||||
Reference in New Issue
Block a user