From cef20f5b34c507dabeaa292617963371faeca2e3 Mon Sep 17 00:00:00 2001 From: shinny Date: Tue, 2 Jun 2020 14:56:12 -0400 Subject: decomp dungeon data getters --- include/dungeon.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/dungeon.h (limited to 'include/dungeon.h') 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 -- cgit v1.2.3