From ef3c1e0138a71df58bf6a227df4a1913d7ff7b1d Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 9 Sep 2020 19:47:58 -0500 Subject: oops it's a bool --- 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 663a50f..f6eb240 100644 --- a/include/dungeon.h +++ b/include/dungeon.h @@ -11,7 +11,7 @@ struct Dungeon { u8 stairDirection; u8 unk1; - u8 isRecruitable; + bool8 isRecruitable; s8 unk3; u8 maxItemCount; u8 maxPartySize; diff --git a/src/dungeon.c b/src/dungeon.c index a56b6e4..912ac85 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -51,7 +51,7 @@ s8 GetUnk3(u8 dungeon) return gDungeons[dungeon].unk3; } -u8 GetRecruitable(u8 dungeon) +bool8 GetRecruitable(u8 dungeon) { return gDungeons[dungeon].isRecruitable; } -- cgit v1.2.3