2017-10-12 07:06:19 +00:00
|
|
|
#ifndef GUARD_MYSTERY_EVENT_SCRIPT_H
|
|
|
|
#define GUARD_MYSTERY_EVENT_SCRIPT_H
|
|
|
|
|
2021-11-18 05:32:28 +00:00
|
|
|
enum {
|
|
|
|
MEVENT_STATUS_LOAD_OK,
|
|
|
|
MEVENT_STATUS_LOAD_ERROR,
|
|
|
|
MEVENT_STATUS_SUCCESS,
|
|
|
|
MEVENT_STATUS_FAILURE,
|
|
|
|
MEVENT_STATUS_FF = 0xFF
|
|
|
|
};
|
|
|
|
|
2021-10-17 07:00:48 +00:00
|
|
|
void InitMysteryEventScriptContext(u8 *script);
|
2021-11-18 05:32:28 +00:00
|
|
|
bool32 RunMysteryEventScriptContextCommand(u32 *status);
|
2018-01-21 11:36:11 +00:00
|
|
|
u32 RunMysteryEventScript(u8 *script);
|
2017-10-12 07:06:19 +00:00
|
|
|
void SetMysteryEventScriptStatus(u32 val);
|
|
|
|
u16 GetRecordMixingGift(void);
|
|
|
|
|
|
|
|
#endif // GUARD_MYSTERY_EVENT_SCRIPT_H
|