doing some more decomp

This commit is contained in:
Seth Barberee
2022-10-18 18:45:08 -05:00
parent 18d8a1a381
commit 5ecb84bfbc
9 changed files with 115 additions and 210 deletions

View File

@@ -35,7 +35,7 @@ struct DungeonGlobalData
u8 unkC;
u8 unkD[0xF - 0xD];
/* 0xF */ bool8 inputAllowed; // Whether the game is currently accepting input. Set to false while action animations play.
u8 fill10;
u8 unk10;
u8 unk11;
s16 unk12;
u8 fill14[0x16D - 0x14];
@@ -47,7 +47,9 @@ struct DungeonGlobalData
/* 0x57C */ u8 fill57C[0x644 - 0x57c];
/* 0x644 */ u8 unk644;
/* 0x645 */ u8 floorNumber;
u8 fill646[0x65C - 0x646];
u8 fill646[0x654 - 0x646];
u8 unk654;
u8 fill655[0x65C - 0x655];
u8 unk65C;
u8 fill65D[0x660 - 0x65D];
/* 0x660 */ s16 speedTurnCounter; // Handles turn order when Pokémon have different movement speeds.

View File

@@ -2,5 +2,6 @@
#define GUARD_DUNGEON_LEADER_H
struct DungeonEntity* GetLeaderEntity();
struct DungeonEntityData* GetLeaderEntityData(void);
#endif

View File

@@ -88,7 +88,7 @@ s32 GetItemBuyPrice(u8 itemIndex);
s32 GetItemSellPrice(u8 itemIndex);
s32 GetItemOrder(u8 itemIndex);
u8 GetItemPalette(u8 itemIndex);
u8 GetItemCategory(u8 itemIndex);
u32 GetItemCategory(u8 itemIndex);
u32 GetItemUnkThrow(u8 itemIndex, u32 r1);
u8 *GetItemDescription(u8 itemIndex);
bool8 GetItemAIFlag(u8 itemIndex, u32 r1);