summaryrefslogtreecommitdiff
path: root/src/mystery_event_script.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-11-04 20:52:41 -0500
committerGitHub <noreply@github.com>2019-11-04 20:52:41 -0500
commit9b7d57bb6b654996df7a107c145ec49b78b33c1a (patch)
tree050d0a76f4c8a7c780ab6a951f22c77bd5d12744 /src/mystery_event_script.c
parent7bfa6d20587ed14cfa26b9fa81f45837abfafb26 (diff)
parent876a139ba385036ef34fde899b1caba0d7cc1f29 (diff)
Merge pull request #142 from PikalaxALT/dism_more_data
Dism more data still
Diffstat (limited to 'src/mystery_event_script.c')
-rw-r--r--src/mystery_event_script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mystery_event_script.c b/src/mystery_event_script.c
index 146595272..68a045f2c 100644
--- a/src/mystery_event_script.c
+++ b/src/mystery_event_script.c
@@ -67,12 +67,12 @@ static bool32 RunMysteryEventScriptCommand(struct ScriptContext *ctx)
return FALSE;
}
-void sub_80DA89C(u8 *script)
+void MEventScript_InitContext(u8 *script)
{
InitMysteryEventScript(&sMysteryEventScriptContext, script);
}
-bool32 sub_80DA8B0(u32 *a0)
+bool32 MEventScript_Run(u32 *a0)
{
bool32 ret = RunMysteryEventScriptCommand(&sMysteryEventScriptContext);
*a0 = sMysteryEventScriptContext.data[2];
@@ -83,8 +83,8 @@ bool32 sub_80DA8B0(u32 *a0)
u32 RunMysteryEventScript(u8 *script)
{
u32 ret;
- sub_80DA89C(script);
- while (sub_80DA8B0(&ret));
+ MEventScript_InitContext(script);
+ while (MEventScript_Run(&ret));
return ret;
}