summaryrefslogtreecommitdiff
path: root/include/dungeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dungeon.h')
-rw-r--r--include/dungeon.h31
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