diff options
author | shinny <shinny456@users.noreply.github.com> | 2020-06-02 14:56:12 -0400 |
---|---|---|
committer | shinny <shinny456@users.noreply.github.com> | 2020-06-02 14:56:12 -0400 |
commit | cef20f5b34c507dabeaa292617963371faeca2e3 (patch) | |
tree | c6dbccf154730d3b52a0af609393ae387ed1b346 /include/dungeon.h | |
parent | 4f88655a79bb2d8f10bdce2841f427c0e27040bd (diff) |
decomp dungeon data getters
Diffstat (limited to 'include/dungeon.h')
-rw-r--r-- | include/dungeon.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/dungeon.h b/include/dungeon.h new file mode 100644 index 0000000..7a9c864 --- /dev/null +++ b/include/dungeon.h @@ -0,0 +1,31 @@ +#ifndef GUARD_DUNGEON_H +#define GUARD_DUNGEON_H + +struct DungeonName +{ + const u8 *name1; + const u8 *name2; +}; + +struct Dungeon +{ + u8 stairDirection; + u8 unk1; + u8 unk2; + s8 unk3; + u8 maxItemCount; + u8 maxPartySize; + u8 levelCondition; + u8 moneyCondition; + u8 unk8; + u8 unk9; + u8 saveBeforeEntering; //whether to quicksave or not before entering + u8 unkB; + s16 unkC; + s16 unkE; +}; + +extern struct Dungeon gDungeons[]; +extern struct DungeonName gDungeonNames[]; + +#endif //GUARD_DUNGEON_H |