2017-09-02 21:43:53 +02:00
|
|
|
#ifndef GUARD_EVENT_DATA_H
|
|
|
|
#define GUARD_EVENT_DATA_H
|
|
|
|
|
|
|
|
void InitEventData(void);
|
|
|
|
void ClearTempFieldEventData(void);
|
2019-02-12 07:40:34 +01:00
|
|
|
void ClearDailyFlags(void);
|
2017-09-02 21:43:53 +02:00
|
|
|
void DisableNationalPokedex(void);
|
|
|
|
void EnableNationalPokedex(void);
|
|
|
|
bool32 IsNationalPokedexEnabled(void);
|
2017-09-02 22:31:37 +02:00
|
|
|
void DisableMysteryEvent(void);
|
|
|
|
void EnableMysteryEvent(void);
|
|
|
|
bool32 IsMysteryEventEnabled(void);
|
2017-09-02 21:43:53 +02:00
|
|
|
void DisableMysteryGift(void);
|
|
|
|
void EnableMysteryGift(void);
|
|
|
|
bool32 IsMysteryGiftEnabled(void);
|
2021-10-15 18:56:14 +02:00
|
|
|
void ClearMysteryGiftFlags(void);
|
|
|
|
void ClearMysteryGiftVars(void);
|
2017-09-02 21:43:53 +02:00
|
|
|
void DisableResetRTC(void);
|
|
|
|
void EnableResetRTC(void);
|
|
|
|
bool32 CanResetRTC(void);
|
|
|
|
u16 *GetVarPointer(u16 id);
|
|
|
|
u16 VarGet(u16 id);
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
u16 VarGetIfExist(u16 id);
|
2017-09-02 21:43:53 +02:00
|
|
|
bool8 VarSet(u16 id, u16 value);
|
2023-11-11 20:08:20 +01:00
|
|
|
u16 VarGetObjectEventGraphicsId(u8 id);
|
2017-09-02 21:43:53 +02:00
|
|
|
u8 *GetFlagPointer(u16 id);
|
|
|
|
u8 FlagSet(u16 id);
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
u8 FlagToggle(u16 id);
|
2017-10-12 09:06:19 +02:00
|
|
|
u8 FlagClear(u16 id);
|
2017-09-02 21:43:53 +02:00
|
|
|
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;
|
2017-11-11 01:12:18 +01:00
|
|
|
extern u16 gSpecialVar_Result;
|
|
|
|
extern u16 gSpecialVar_LastTalked;
|
|
|
|
extern u16 gSpecialVar_Facing;
|
2017-11-08 22:20:10 +01:00
|
|
|
extern u16 gSpecialVar_MonBoxId;
|
|
|
|
extern u16 gSpecialVar_MonBoxPos;
|
2019-02-28 05:54:51 +01:00
|
|
|
extern u16 gSpecialVar_Unused_0x8014;
|
2017-09-02 21:43:53 +02:00
|
|
|
|
|
|
|
#endif // GUARD_EVENT_DATA_H
|