pmd-red/include/friend_area_action_menu.h

75 lines
1.9 KiB
C
Raw Normal View History

2021-07-07 16:39:34 +00:00
#ifndef GUARD_FRIEND_AREA_ACTION_MENU_H
#define GUARD_FRIEND_AREA_ACTION_MENU_H
#include "constants/move.h"
#include "items.h"
2023-09-21 02:52:40 +00:00
#include "structs/menu.h"
#include "pokemon.h"
2023-09-21 02:26:35 +00:00
#include "structs/str_text.h"
enum FriendAreaActionMenuStates
{
FRIEND_AREA_ACTION_MENU_INIT,
FRIEND_AREA_ACTION_MENU_MAIN,
FRIEND_AREA_ACTION_MENU_MAIN_2,
2023-09-25 00:38:11 +00:00
// 3
FRIEND_AREA_ACTION_MENU_SUMMARY = 4,
FRIEND_AREA_ACTION_MENU_CHECK_IQ,
2023-09-25 00:38:11 +00:00
// 6 - 7
FRIEND_AREA_ACTION_MENU_SAY_FAREWELL_PROMPT = 8,
FRIEND_AREA_ACTION_MENU_SAY_FAREWELL_CONFIRM,
2023-09-25 00:38:11 +00:00
// 10 - 16
FRIEND_AREA_ACTION_MENU_EXIT = 17,
};
enum FriendAreaActionMenuActions
{
FRIEND_AREA_ACTION_MENU_ACTION_NONE = 1,
FRIEND_AREA_ACTION_MENU_ACTION_YES,
FRIEND_AREA_ACTION_MENU_ACTION_NO,
FRIEND_AREA_ACTION_MENU_ACTION_INFO = 4,
FRIEND_AREA_ACTION_MENU_ACTION_SUMMARY = 4,
FRIEND_AREA_ACTION_MENU_ACTION_CHECK_IQ,
FRIEND_AREA_ACTION_MENU_ACTION_JOIN_TEAM,
FRIEND_AREA_ACTION_MENU_ACTION_STANDBY,
FRIEND_AREA_ACTION_MENU_ACTION_MAKE_LEADER,
FRIEND_AREA_ACTION_MENU_ACTION_SAY_FAREWELL,
FRIEND_AREA_ACTION_MENU_ACTION_GIVE,
FRIEND_AREA_ACTION_MENU_ACTION_TAKE,
FRIEND_AREA_ACTION_MENU_ACTION_MOVES,
};
// size: 0x1E0
struct unkStruct_203B2BC
{
u32 state;
2023-02-03 10:03:47 +00:00
u32 fallbackState;
s16 targetPoke;
u16 unkA;
u32 id;
BulkItem itemToGive;
BulkItem item2;
PokemonStruct1 *pokeStruct;
2023-02-03 10:03:47 +00:00
bool8 isTeamLeader;
2023-01-18 14:28:34 +00:00
u32 moveIndex; // some sort of move index
2022-12-02 19:56:36 +00:00
u16 moveID;
2023-09-02 12:50:36 +00:00
Move moves[8];
u16 moveIDs[MAX_MON_MOVES]; // some list of move IDs
2023-04-09 23:22:17 +00:00
u32 menuAction1;
u32 menuAction2;
u32 menuAction3;
MenuStruct unk7C;
2023-02-26 16:36:23 +00:00
u8 fill80[0xFD - 0xCC];
u32 unkFD;
u8 fill101[0x11C - 0x104];
MenuItem menuItems[4];
u8 fill120[0x16C - 0x13C];
2023-05-17 03:52:59 +00:00
u16 unk16C[10];
UnkTextStruct2 unk180[4];
};
u32 sub_8027074(void);
u32 sub_80270A4(void);
void sub_8027168(void);
#endif // GUARD_FRIEND_AREA_ACTION_MENU_H