summaryrefslogtreecommitdiff
path: root/include/mystery_event_script.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-22 19:10:49 -0500
committerGitHub <noreply@github.com>2021-11-22 19:10:49 -0500
commite0fae879da1b773bf90fca145e047ccdb7613938 (patch)
treeb1be0ec73e33fccf2fe2deac44d62aa10ae391e4 /include/mystery_event_script.h
parent5cb875b6cb798cf890e156f54a150ff90735ddab (diff)
parent42a83ee50e3364f3f7361dacb3d3616053f4c5bf (diff)
Merge pull request #1558 from GriffinRichards/update-macros
Update event macro comments
Diffstat (limited to 'include/mystery_event_script.h')
-rw-r--r--include/mystery_event_script.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/mystery_event_script.h b/include/mystery_event_script.h
index 32b9f009f..198a07e85 100644
--- a/include/mystery_event_script.h
+++ b/include/mystery_event_script.h
@@ -1,8 +1,16 @@
#ifndef GUARD_MYSTERY_EVENT_SCRIPT_H
#define GUARD_MYSTERY_EVENT_SCRIPT_H
+enum {
+ MEVENT_STATUS_LOAD_OK,
+ MEVENT_STATUS_LOAD_ERROR,
+ MEVENT_STATUS_SUCCESS,
+ MEVENT_STATUS_FAILURE,
+ MEVENT_STATUS_FF = 0xFF
+};
+
void InitMysteryEventScriptContext(u8 *script);
-bool32 RunMysteryEventScriptContextCommand(u32 *script);
+bool32 RunMysteryEventScriptContextCommand(u32 *status);
u32 RunMysteryEventScript(u8 *script);
void SetMysteryEventScriptStatus(u32 val);
u16 GetRecordMixingGift(void);