diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-04-26 12:50:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 12:50:51 -0400 |
commit | a1e8de5098b9bc3a978240e893a494f1a25248d8 (patch) | |
tree | 1381887937def8daa4cc9e9cc477a59e9ff74390 /src/script.c | |
parent | 1a4867a4bf4427c45af7545adcabae58ee19eb6e (diff) | |
parent | 274151836b44d960ab357d861a4d79602a8722d5 (diff) |
Merge pull request #53 from PikalaxALT/mystery_gift_menu
Mystery gift menu
Diffstat (limited to 'src/script.c')
-rw-r--r-- | src/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.c b/src/script.c index d7246752c..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 sub_8143FC8(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 (!sub_8143FC8()) + if (!ValidateReceivedWonderCard()) return NULL; if (scriptData->magic != RAM_SCRIPT_MAGIC) return NULL; |