diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-18 00:32:28 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-18 01:47:58 -0500 |
commit | c89dfd9f5618eef74f2d39d7c1ea3a5a5448ed8e (patch) | |
tree | 5143b9ee26928e9a75999cc587c62f8323eb22bf /include/mystery_event_script.h | |
parent | b5b5d95de64a00d3d9dce395100808406f50b0ed (diff) |
Finish updating macro comments
Diffstat (limited to 'include/mystery_event_script.h')
-rw-r--r-- | include/mystery_event_script.h | 10 |
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); |