summaryrefslogtreecommitdiff
path: root/src/dungeon_engine.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-01-25 23:24:14 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-01-25 23:24:14 -0500
commitf2457501ee643a2fc3b23e93f4e2f0a567a3231c (patch)
treee19178b2581e12c523130b81bc1d9df955217708 /src/dungeon_engine.c
parent42909d03330749e610900d5aa5765758cc05e533 (diff)
Decomped IsFixedDungeon()
Diffstat (limited to 'src/dungeon_engine.c')
-rw-r--r--src/dungeon_engine.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dungeon_engine.c b/src/dungeon_engine.c
new file mode 100644
index 0000000..dd25441
--- /dev/null
+++ b/src/dungeon_engine.c
@@ -0,0 +1,13 @@
+#include "global.h"
+#include "dungeon_engine.h"
+#include "constants/dungeon.h"
+#include "dungeon_global_data.h"
+
+bool8 IsFixedDungeon()
+{
+ if (gDungeonGlobalData->tileset > DUNGEON_OUT_ON_RESCUE)
+ {
+ return TRUE;
+ }
+ return FALSE;
+}