From 691b80f533bcac33e58a479f1e23fe7a18d73f9e Mon Sep 17 00:00:00 2001 From: Dennis H Date: Thu, 2 Feb 2023 14:11:16 +0100 Subject: [PATCH] change return type --- src/dungeon_2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dungeon_2.c b/src/dungeon_2.c index a118188cb..7db397e5a 100644 --- a/src/dungeon_2.c +++ b/src/dungeon_2.c @@ -14,17 +14,17 @@ extern u8 gUnknown_81077E8[]; void sub_80901D8(struct DungeonLocation *param_1,struct DungeonLocation *param_2); -int sub_809017C(struct DungeonLocation* a1) { +bool8 sub_809017C(struct DungeonLocation* a1) { struct DungeonLocation location; int i; sub_80901D8(&location, a1); for (i = 0; i < 999 && gUnknown_8107828[i].id != 63; ++i) { if (location.id == gUnknown_8107828[i].id && location.floor == gUnknown_8107828[i].floor) { - return 1; + return TRUE; } } - return 0; + return FALSE; } void sub_80901D8(struct DungeonLocation *param_1,struct DungeonLocation *param_2)