diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-24 14:23:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-24 14:23:52 -0600 |
commit | e3078400bbdb3e8416806127290b9a2d68cfb3b8 (patch) | |
tree | 7ef9993608fc9c6e426ce908957ac07f72b8f650 /src/engine/mystery_event_script.c | |
parent | b827bd9a5a44e17fa9fced591465fc64a619a134 (diff) | |
parent | e5c216e5066dac26fad64cb2e7bb6a5f0d40bf3f (diff) |
Merge pull request #492 from PikalaxALT/decompile_data
Decompile data and abstract away some explicit memcpy calls
Diffstat (limited to 'src/engine/mystery_event_script.c')
-rw-r--r-- | src/engine/mystery_event_script.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/engine/mystery_event_script.c b/src/engine/mystery_event_script.c index 2fc62d4f8..6fcad66ac 100644 --- a/src/engine/mystery_event_script.c +++ b/src/engine/mystery_event_script.c @@ -14,6 +14,7 @@ #include "string_util.h" #include "text.h" #include "util.h" +#include "mystery_event_msg.h" #if ENGLISH #define LANGUAGE_MASK 0x2 @@ -32,17 +33,6 @@ extern void party_compaction(void); extern ScrCmdFunc gMysteryEventScriptCmdTable[]; extern ScrCmdFunc gMysteryEventScriptCmdTableEnd[]; -extern const u8 gOtherText_BerryObtainedDadHasIt[]; -extern const u8 gOtherText_BerryTransformed[]; -extern const u8 gOtherText_BerryAlreadyObtained[]; -extern const u8 gOtherText_SpecialRibbonReceived[]; -extern const u8 gOtherText_DexUpgraded[]; -extern const u8 gOtherText_RareWordAdded[]; -extern const u8 gOtherText_PokeWasSentOver[]; -extern const u8 gOtherText_PartyIsFull[]; -extern const u8 gOtherText_NewTrainerInHoenn[]; -extern const u8 gOtherText_DataCannotUseVersion[]; - static EWRAM_DATA struct ScriptContext sMysteryEventScriptContext = {0}; static bool32 CheckCompatibility(u16 a1, u32 a2, u16 a3, u32 a4) |