diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-22 19:10:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 19:10:49 -0500 |
commit | e0fae879da1b773bf90fca145e047ccdb7613938 (patch) | |
tree | b1be0ec73e33fccf2fe2deac44d62aa10ae391e4 /include/mystery_event_script.h | |
parent | 5cb875b6cb798cf890e156f54a150ff90735ddab (diff) | |
parent | 42a83ee50e3364f3f7361dacb3d3616053f4c5bf (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.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); |