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