add to ewram, clean up dungeon action

This commit is contained in:
DizzyEggg
2025-04-04 12:58:07 +02:00
parent 66ddb9f9f3
commit 8638f546db
15 changed files with 37 additions and 51 deletions

View File

@@ -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

View File

@@ -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