summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-03-31 18:59:52 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-03-31 18:59:52 -0400
commitade01833781ee8a8057f2b2945095bababb2e639 (patch)
tree8c1ad4182225c08ca6c5e063c487fda5193afd4a /src/script.c
parent6d70b8adb194b1939f41e0f5cc3d9c480b2ee45b (diff)
Document mystery_gift
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.c b/src/script.c
index 91690dd33..cb06300bf 100644
--- a/src/script.c
+++ b/src/script.c
@@ -405,7 +405,7 @@ bool32 sub_80991F8(void)
u8 *sub_8099244(void)
{
struct RamScriptData *scriptData = &gSaveBlock1Ptr->ramScript.data;
- if (!sub_801B27C())
+ if (!ValidateReceivedWonderCard())
return NULL;
if (scriptData->magic != RAM_SCRIPT_MAGIC)
return NULL;