mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-08 17:15:51 -05:00
add to ewram, clean up dungeon action
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#ifndef GUARD_CODE_8044CC8_H
|
||||
#define GUARD_CODE_8044CC8_H
|
||||
|
||||
// size: 0x4
|
||||
typedef struct unkStruct_202EE44
|
||||
{
|
||||
u16 actionId;
|
||||
u8 unk2;
|
||||
bool8 canBeChosen;
|
||||
} unkStruct_202EE44;
|
||||
|
||||
extern unkStruct_202EE44 gDungeonSubMenu[10];
|
||||
|
||||
void AddActionToDungeonSubMenu(u16 actionId, u8 param_2);
|
||||
void SetActionUnusableInDungeonSubMenu(u16 actionId);
|
||||
|
||||
#endif // GUARD_CODE_8044CC8_H
|
||||
@@ -60,4 +60,18 @@ enum DungeonAction
|
||||
NUM_DUNGEON_ACTIONS
|
||||
};
|
||||
|
||||
// size: 0x4
|
||||
typedef struct SubMenuAction
|
||||
{
|
||||
u16 actionId;
|
||||
u8 unk2;
|
||||
bool8 canBeChosen;
|
||||
} SubMenuAction;
|
||||
|
||||
extern SubMenuAction gDungeonSubMenu[10];
|
||||
extern s32 gDungeonSubMenuItemsCount;
|
||||
|
||||
void AddActionToDungeonSubMenu(u16 actionId, u8 param_2);
|
||||
void SetActionUnusableInDungeonSubMenu(u16 actionId);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user