From e7a61a19cda2047c8f47ed52cd5253e94f2379ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Calixte?= Date: Wed, 4 Aug 2021 21:14:26 +0200 Subject: use BOOL --- arm9/src/sound_chatot.c | 6 +++--- include/sound_chatot.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arm9/src/sound_chatot.c b/arm9/src/sound_chatot.c index 2efe4843..06b2fc64 100644 --- a/arm9/src/sound_chatot.c +++ b/arm9/src/sound_chatot.c @@ -165,7 +165,7 @@ THUMB_FUNC u32 FUN_02005EE0(struct SaveChatotSoundClip *param0) return 0; } -THUMB_FUNC u32 FUN_02005F14(s32 param0) +THUMB_FUNC BOOL FUN_02005F14(s32 param0) { switch (param0) { @@ -174,8 +174,8 @@ THUMB_FUNC u32 FUN_02005F14(s32 param0) case 5: case 11: case 12: - return 1; + return TRUE; default: - return 0; + return FALSE; } } diff --git a/include/sound_chatot.h b/include/sound_chatot.h index ac547354..fbbba0c6 100644 --- a/include/sound_chatot.h +++ b/include/sound_chatot.h @@ -14,6 +14,6 @@ void Chatot_saveRecording(struct SaveChatotSoundClip *param0); void FUN_02005E80(u8 param0); void FUN_02005E90(struct SaveChatotSoundClip *param0, u32 param1, s32 param2, s32 param3); u32 FUN_02005EE0(struct SaveChatotSoundClip *param0); -u32 FUN_02005F14(s32 param0); +BOOL FUN_02005F14(s32 param0); #endif // POKEDIAMOND_UNK_02005CFC_H -- cgit v1.2.3