document Chatot_checkCry

This commit is contained in:
Rémi Calixte
2021-07-27 21:58:07 +02:00
parent 6239e41378
commit 599ff56901
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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();