Move extern variable declarations

This commit is contained in:
Marijn van der Werf 2023-03-26 15:16:38 +02:00
parent 048d935653
commit 4964949ddf
3 changed files with 9 additions and 5 deletions

View File

@ -263,4 +263,8 @@ extern PlayerStatus gPlayerStatus;
extern PlayerSpinState gPlayerSpinState;
extern PlayerData gPlayerData;
#if VERSION_PAL
extern s32 gCurrentLanguage;
#endif
#endif

View File

@ -3,11 +3,6 @@
static s32 itemIcon;
extern s32 gCurrentLanguage;
extern HudScript HES_Refund_de;
extern HudScript HES_Refund_fr;
extern HudScript HES_Refund_es;
// Returns time to sleep for on $x.
API_CALLABLE(N(GiveRefund)) {
BattleStatus* battleStatus = &gBattleStatus;

View File

@ -210,6 +210,11 @@ typedef HudElement* HudElementList[320];
extern HudScript HES_AnimatedHandPointer;
extern HudScript HES_StatusCoin;
extern HudScript HES_Refund;
#if VERSION_PAL
extern HudScript HES_Refund_de;
extern HudScript HES_Refund_fr;
extern HudScript HES_Refund_es;
#endif
extern HudScript HES_MenuTimes;
typedef struct PartnerPopupProperties {