summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm9/global.inc2
-rw-r--r--arm9/src/scrcmd_sound.c2
-rw-r--r--arm9/src/sound_chatot.c4
-rw-r--r--include/sound_chatot.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/arm9/global.inc b/arm9/global.inc
index 69fa82c1..b46f57ad 100644
--- a/arm9/global.inc
+++ b/arm9/global.inc
@@ -363,7 +363,7 @@
.extern PlaySound
.extern FUN_02005CBC
.extern FUN_02005CFC
-.extern FUN_02005D20
+.extern Chatot_checkCry
.extern FUN_02005D48
.extern FUN_02005DFC
.extern Chatot_startRecording
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;
}
diff --git a/include/sound_chatot.h b/include/sound_chatot.h
index cff116a2..35e4363d 100644
--- a/include/sound_chatot.h
+++ b/include/sound_chatot.h
@@ -5,7 +5,7 @@
#include "sav_chatot.h"
BOOL FUN_02005CFC();
-BOOL FUN_02005D20(struct SaveChatotSoundClip *param0);
+BOOL Chatot_checkCry(struct SaveChatotSoundClip *param0);
u32 FUN_02005D48(struct SaveChatotSoundClip *param0, u32 param1, s32 param2, s32 param3);
void FUN_02005DFC();
u32 Chatot_startRecording();