diff options
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; } |