mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
1cb659df8c
- Determined how the various script contexts were used and renamed accordingly. - ScriptContext2_Enable/Disable => Lock/UnlockPlayerFieldControls - The sole purpose of the flag is to make sure the player can't move around in the overworld. It has nothing to do with script contexts. - ScriptContext1 => ScriptContext - It is the global script context used to set up scripts which run over many frames. - ScriptContext2_RunNewScript => RunScriptImmediately - ScriptContext2's sole purpose was to run scripts immediately and in a separate context, usually while the global context is waiting for things like map loads or screen changes.
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
#ifndef GUARD_SECRET_BASE_H
|
|
#define GUARD_SECRET_BASE_H
|
|
|
|
void HideSecretBaseDecorationSprites(void);
|
|
void CopyCurSecretBaseOwnerName_StrVar1(void);
|
|
void ClearJapaneseSecretBases(struct SecretBase *dest);
|
|
void SetPlayerSecretBaseParty(void);
|
|
u8 *GetSecretBaseMapName(u8 *dest);
|
|
const u8 *GetSecretBaseTrainerLoseText(void);
|
|
void SetOccupiedSecretBaseEntranceMetatiles(struct MapEvents const *events);
|
|
void InitSecretBaseAppearance(bool8 hidePC);
|
|
bool8 CurMapIsSecretBase(void);
|
|
void SecretBasePerStepCallback(u8 taskId);
|
|
bool8 TrySetCurSecretBase(void);
|
|
void CheckInteractedWithFriendsPosterDecor(void);
|
|
void CheckInteractedWithFriendsFurnitureBottom(void);
|
|
void CheckInteractedWithFriendsFurnitureMiddle(void);
|
|
void CheckInteractedWithFriendsFurnitureTop(void);
|
|
void WarpIntoSecretBase(const struct MapPosition *position, const struct MapEvents *events);
|
|
bool8 SecretBaseMapPopupEnabled(void);
|
|
void CheckLeftFriendsSecretBase(void);
|
|
void ClearSecretBases(void);
|
|
void SetCurSecretBaseIdFromPosition(const struct MapPosition *position, const struct MapEvents *events);
|
|
void TrySetCurSecretBaseIndex(void);
|
|
void CheckPlayerHasSecretBase(void);
|
|
void ToggleSecretBaseEntranceMetatile(void);
|
|
void ScriptContext_Enable(void);
|
|
void ReceiveSecretBasesData(void *records, size_t recordSize, u8 linkIdx);
|
|
|
|
#endif //GUARD_SECRET_BASE_H
|