summaryrefslogtreecommitdiff
path: root/src/mystery_event_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mystery_event_script.c')
-rw-r--r--src/mystery_event_script.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mystery_event_script.c b/src/mystery_event_script.c
index 6fcad66ac..58f7f8627 100644
--- a/src/mystery_event_script.c
+++ b/src/mystery_event_script.c
@@ -114,8 +114,9 @@ static void SetWord(u8 *ptr, u32 val)
ptr[3] = val >> 24;
}
-bool8 unref_sub_81261B4(u8 *a1, int a2)
+bool8 debug_sub_81261B4(u8 *a1, const u8 * _a2)
{
+ int a2 = (int)_a2;
if (a1[0x0] == 1 && a1[0x11] == 15 && !GetWord(a1 + 0x12))
{
int v4 = GetWord(a1 + 0x16) - a2 + (int)a1;
@@ -128,8 +129,9 @@ bool8 unref_sub_81261B4(u8 *a1, int a2)
return FALSE;
}
-bool8 unref_sub_812620C(u8 *a1, int a2)
+bool8 debug_sub_812620C(u8 *a1, const u8 * _a2)
{
+ int a2 = (int)_a2;
if (a1[0x0] == 1 && a1[0x11] == 16 && !GetWord(a1 + 0x12))
{
int v4 = GetWord(a1 + 0x16) - a2 + (int)a1;