summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-04-26 08:51:05 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-04-26 08:51:05 -0400
commit7b4e2ec05b269b2fa8b73ecf94bae1e63965fb43 (patch)
tree98db880eac1e19a3e0278da3f7d00623a3532263 /src/script.c
parent76a421f6f1787c013e8f8ba4403f5b995c648c41 (diff)
through mevent_message
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.c b/src/script.c
index c9e2d2c9d..608dc6ba0 100644
--- a/src/script.c
+++ b/src/script.c
@@ -9,7 +9,7 @@ extern u8 gUnknown_203ADFA;
extern void sub_80CBDE8(void); // field_specials
extern u16 CalcCRC16WithTable(u8 *data, int length); // util
-extern bool32 ValidateReceivedWonderNews(void); // mevent
+extern bool32 ValidateReceivedWonderCard(void); // mevent
enum
{
@@ -525,7 +525,7 @@ bool32 sub_8069DFC(void)
u8 *sub_8069E48(void)
{
struct RamScriptData *scriptData = &gSaveBlock1Ptr->ramScript.data;
- if (!ValidateReceivedWonderNews())
+ if (!ValidateReceivedWonderCard())
return NULL;
if (scriptData->magic != RAM_SCRIPT_MAGIC)
return NULL;