mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-26 21:33:53 +01:00
Name last event_data funcs
This commit is contained in:
parent
1a672dac8d
commit
09840efc64
@ -16,8 +16,8 @@ bool32 IsMysteryEventEnabled(void);
|
||||
void DisableMysteryGift(void);
|
||||
void EnableMysteryGift(void);
|
||||
bool32 IsMysteryGiftEnabled(void);
|
||||
void sub_809D4D8(void);
|
||||
void sub_809D570(void);
|
||||
void ClearMysteryEventFlags(void);
|
||||
void ClearMysteryEventVars(void);
|
||||
void DisableResetRTC(void);
|
||||
void EnableResetRTC(void);
|
||||
bool32 CanResetRTC(void);
|
||||
|
@ -108,7 +108,7 @@ bool32 IsMysteryGiftEnabled(void)
|
||||
return FlagGet(FLAG_SYS_MYSTERY_GIFT_ENABLE);
|
||||
}
|
||||
|
||||
void sub_809D4D8(void)
|
||||
void ClearMysteryEventFlags(void)
|
||||
{
|
||||
FlagClear(FLAG_MYSTERY_EVENT_DONE);
|
||||
FlagClear(FLAG_MYSTERY_EVENT_1);
|
||||
@ -128,7 +128,7 @@ void sub_809D4D8(void)
|
||||
FlagClear(FLAG_MYSTERY_EVENT_15);
|
||||
}
|
||||
|
||||
void sub_809D570(void)
|
||||
void ClearMysteryEventVars(void)
|
||||
{
|
||||
VarSet(VAR_EVENT_PICHU_SLOT, 0);
|
||||
VarSet(VAR_NEVER_READ_0x40DE, 0);
|
||||
|
@ -132,8 +132,8 @@ void DestroyWonderCard(void)
|
||||
sub_801B368();
|
||||
sub_801B9F8();
|
||||
ClearRamScript();
|
||||
sub_809D4D8();
|
||||
sub_809D570();
|
||||
ClearMysteryEventFlags();
|
||||
ClearMysteryEventVars();
|
||||
ClearEReaderTrainer(&gSaveBlock2Ptr->frontier.ereaderTrainer);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user