diff options
author | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-07-27 21:58:07 +0200 |
---|---|---|
committer | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-07-27 21:58:07 +0200 |
commit | 599ff56901be2bdee6e96d202a9210685b051daa (patch) | |
tree | f8075b575fb54a96200c3ae9e8f9517eb53f52cf /arm9/src | |
parent | 6239e413783793c096ac91f1cab90ee9c9583ad1 (diff) |
document Chatot_checkCry
Diffstat (limited to 'arm9/src')
-rw-r--r-- | arm9/src/scrcmd_sound.c | 2 | ||||
-rw-r--r-- | arm9/src/sound_chatot.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arm9/src/scrcmd_sound.c b/arm9/src/scrcmd_sound.c index 94e7b69d..8e59c182 100644 --- a/arm9/src/scrcmd_sound.c +++ b/arm9/src/scrcmd_sound.c @@ -195,7 +195,7 @@ THUMB_FUNC BOOL ScrCmd_CheckChatotCry(struct ScriptContext* ctx) u16* ret_ptr = GetVarPointer(ctx->unk80, ScriptReadHalfword(ctx)); void* unk = Sav2_Chatot_get(ctx->unk80->saveBlock2); - if (FUN_02005D20(unk) == 1) + if (Chatot_checkCry(unk) == 1) { *ret_ptr = 1; return FALSE; diff --git a/arm9/src/sound_chatot.c b/arm9/src/sound_chatot.c index 085b6104..71cc1abc 100644 --- a/arm9/src/sound_chatot.c +++ b/arm9/src/sound_chatot.c @@ -20,7 +20,7 @@ THUMB_FUNC BOOL FUN_02005CFC() return FALSE; } -THUMB_FUNC BOOL FUN_02005D20(struct SaveChatotSoundClip *param0) +THUMB_FUNC BOOL Chatot_checkCry(struct SaveChatotSoundClip *param0) { u8 *r4 = FUN_02003D38(30); @@ -44,7 +44,7 @@ THUMB_FUNC u32 FUN_02005D48(struct SaveChatotSoundClip *param0, u32 param1, s32 s8 *st0 = FUN_02004DB4(); u8 *st4 = FUN_02003D38(29); - if (!FUN_02005D20(param0)) + if (!Chatot_checkCry(param0)) { return 0; } |