From 312883043b04f54568c442b8db1a68aa868c852a Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 9 Sep 2020 19:58:33 -0500 Subject: doc'ing more bool stuff from pmde --- include/dungeon.h | 2 +- src/dungeon.c | 2 +- 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; } -- cgit v1.2.3