mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 20:24:18 +01:00
53 lines
1.4 KiB
C
53 lines
1.4 KiB
C
#ifndef GUARD_EVENT_DATA_H
|
|
#define GUARD_EVENT_DATA_H
|
|
|
|
#include "flags.h"
|
|
#include "vars.h"
|
|
|
|
void InitEventData(void);
|
|
void ClearTempFieldEventData(void);
|
|
void ClearUpperFlags(void);
|
|
void DisableNationalPokedex(void);
|
|
void EnableNationalPokedex(void);
|
|
bool32 IsNationalPokedexEnabled(void);
|
|
void DisableMysteryEvent(void);
|
|
void EnableMysteryEvent(void);
|
|
bool32 IsMysteryEventEnabled(void);
|
|
void DisableMysteryGift(void);
|
|
void EnableMysteryGift(void);
|
|
bool32 IsMysteryGiftEnabled(void);
|
|
void sub_809D4D8(void);
|
|
void sub_809D570(void);
|
|
void DisableResetRTC(void);
|
|
void EnableResetRTC(void);
|
|
bool32 CanResetRTC(void);
|
|
u16 *GetVarPointer(u16 id);
|
|
u16 VarGet(u16 id);
|
|
bool8 VarSet(u16 id, u16 value);
|
|
u8 VarGetFieldObjectGraphicsId(u8 id);
|
|
u8 *GetFlagPointer(u16 id);
|
|
u8 FlagSet(u16 id);
|
|
u8 FlagClear(u16 id);
|
|
bool8 FlagGet(u16 id);
|
|
|
|
extern u16 gSpecialVar_0x8000;
|
|
extern u16 gSpecialVar_0x8001;
|
|
extern u16 gSpecialVar_0x8002;
|
|
extern u16 gSpecialVar_0x8003;
|
|
extern u16 gSpecialVar_0x8004;
|
|
extern u16 gSpecialVar_0x8005;
|
|
extern u16 gSpecialVar_0x8006;
|
|
extern u16 gSpecialVar_0x8007;
|
|
extern u16 gSpecialVar_0x8008;
|
|
extern u16 gSpecialVar_0x8009;
|
|
extern u16 gSpecialVar_0x800A;
|
|
extern u16 gSpecialVar_0x800B;
|
|
extern u16 gSpecialVar_Result;
|
|
extern u16 gSpecialVar_LastTalked;
|
|
extern u16 gSpecialVar_Facing;
|
|
extern u16 gSpecialVar_MonBoxId;
|
|
extern u16 gSpecialVar_MonBoxPos;
|
|
extern u16 gSpecialVar_0x8014;
|
|
|
|
#endif // GUARD_EVENT_DATA_H
|