diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-10-24 01:42:52 +0800 |
---|---|---|
committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-10-24 01:42:52 +0800 |
commit | 1dc0b25c1e58e422883e16ce7fb4f6bea1e9a0bb (patch) | |
tree | 867d72df6ebe9b2d1f3ff72503879640322ec224 /include/event_data.h | |
parent | 9a53686a4eb595c288758486af5fea9b7805283f (diff) | |
parent | 6e36c229200e083ca005cbc448e99210d111f3b2 (diff) |
Merge branch 'master' into battle
Diffstat (limited to 'include/event_data.h')
-rw-r--r-- | include/event_data.h | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/include/event_data.h b/include/event_data.h index d1946d173..719ba37b2 100644 --- a/include/event_data.h +++ b/include/event_data.h @@ -6,6 +6,26 @@ #include "constants/flags.h" #include "constants/vars.h" +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_Facing; +extern u16 gSpecialVar_Result; +extern u16 gSpecialVar_LastTalked; +extern u16 gSpecialVar_MonBoxId; +extern u16 gSpecialVar_MonBoxPos; +extern u16 gSpecialVar_TextColor; +extern u16 gSpecialVar_PrevTextColor; + void InitEventData(void); void ClearTempFieldEventData(void); void ClearUpperFlags(void); @@ -32,32 +52,11 @@ u8 FlagSet(u16 id); u8 FlagClear(u16 id); bool8 FlagGet(u16 id); u16 * GetVarPointer(u16 id); -bool32 Flag_0x839_IsSet(void); -void sub_806E6FC(void); +bool32 IsMysteryGiftEnabled(void); +void ResetSpecialVars(void); void sub_806E2D0(void); void sub_806E370(void); bool32 IsNationalPokedexEnabled(void); void sub_806E190(void); -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; - -extern u16 gUnknown_20370DA; -extern u16 gUnknown_20370DC; #endif // GUARD_EVENT_DATA_H |