summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dungeon.h2
-rw-r--r--src/dungeon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/dungeon.h b/include/dungeon.h
index f6eb240..96cc579 100644
--- a/include/dungeon.h
+++ b/include/dungeon.h
@@ -19,7 +19,7 @@ struct Dungeon
u8 moneyCondition;
u8 unk8;
u8 unk9;
- u8 saveBeforeEntering; //whether to quicksave or not before entering
+ bool8 saveBeforeEntering; //whether to quicksave or not before entering
u8 unkB; // Apparently is a HM mask (Fly, Dive, Waterfall, Surf, Water)
s16 timer;
s16 unkE;
diff --git a/src/dungeon.c b/src/dungeon.c
index 912ac85..9684ef2 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -21,7 +21,7 @@ s16 GetUnkC(u8 dungeon)
return gDungeons[dungeon].timer;
}
-u8 GetSaveBeforeEntering(u8 dungeon)
+bool8 GetSaveBeforeEntering(u8 dungeon)
{
return gDungeons[dungeon].saveBeforeEntering;
}