2024-06-24 04:43:04 +00:00
|
|
|
#ifndef GUARD_CODE_IQ_SKILL_MENU_H
|
|
|
|
#define GUARD_CODE_IQ_SKILL_MENU_H
|
2023-09-18 05:13:13 +00:00
|
|
|
|
|
|
|
#include "constants/iq_skill.h"
|
2023-09-21 02:52:40 +00:00
|
|
|
#include "structs/menu.h"
|
2023-09-18 05:13:13 +00:00
|
|
|
#include "pokemon.h"
|
2023-09-21 02:26:35 +00:00
|
|
|
#include "structs/str_text.h"
|
2023-09-18 05:13:13 +00:00
|
|
|
|
|
|
|
// size: 0x124
|
|
|
|
struct unkStruct_203B238
|
|
|
|
{
|
|
|
|
/* 0x0 */ u32 state;
|
|
|
|
/* 0x4 */ s16 species;
|
|
|
|
/* 0x8 */ PokemonStruct1 *pokeStruct;
|
|
|
|
/* 0xC */ u8 iqSkills[NUM_IQ_SKILLS];
|
2024-06-24 04:43:04 +00:00
|
|
|
/* 0x24 */ u32 menuIndex;
|
2023-09-18 05:13:13 +00:00
|
|
|
/* 0x28 */ u8 iqSkillIndex;
|
|
|
|
/* 0x2C */ u32 numIQSkills;
|
|
|
|
/* 0x30 */ s32 menuAction;
|
|
|
|
MenuItem unk34[8];
|
|
|
|
MenuStruct unk74;
|
|
|
|
UnkTextStruct2 unkC4[4];
|
|
|
|
};
|
|
|
|
|
2024-06-24 04:43:04 +00:00
|
|
|
bool8 CreateIQSkillMenu(s16 species);
|
2023-09-18 05:13:13 +00:00
|
|
|
u32 sub_801BF48(void);
|
2024-06-24 04:43:04 +00:00
|
|
|
void CleanIQSkillMenu(void);
|
2023-09-18 05:13:13 +00:00
|
|
|
|
2024-06-24 04:43:04 +00:00
|
|
|
enum IQSkillMenuStates
|
|
|
|
{
|
|
|
|
IQ_SKILL_MENU_STATE_INIT,
|
|
|
|
IQ_SKILL_MENU_STATE_MAIN,
|
|
|
|
IQ_SKILL_MENU_STATE_INFO = 3,
|
|
|
|
IQ_SKILL_MENU_STATE_EXIT
|
|
|
|
};
|
|
|
|
|
|
|
|
enum IQSkillMenuActions
|
|
|
|
{
|
|
|
|
IQ_SKILL_MENU_NULL = 1,
|
|
|
|
IQ_SKILL_MENU_SWITCH,
|
|
|
|
IQ_SKILL_MENU_INFO,
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GUARD_CODE_IQ_SKILL_MENU_H
|