Modernize code
Can compile with arm-none-eabi-gcc 8.3.0 gbafix correctly handles ELF input
This commit is contained in:
9
src/tv.c
9
src/tv.c
@@ -56,9 +56,9 @@ struct {
|
||||
u16 move;
|
||||
} sTV_SecretBaseVisitMonsTemp[10];
|
||||
|
||||
IWRAM_DATA u8 sTVShowMixingNumPlayers;
|
||||
IWRAM_DATA u8 sTVShowNewsMixingNumPlayers;
|
||||
IWRAM_DATA s8 sTVShowMixingCurSlot;
|
||||
static u8 sTVShowMixingNumPlayers;
|
||||
static u8 sTVShowNewsMixingNumPlayers;
|
||||
static s8 sTVShowMixingCurSlot;
|
||||
|
||||
EWRAM_DATA u16 sPokemonAnglerSpecies = 0;
|
||||
EWRAM_DATA u16 sPokemonAnglerAttemptCounters = 0;
|
||||
@@ -70,9 +70,6 @@ EWRAM_DATA u8 sTVSecretBaseSecretsRandomValues[3] = {};
|
||||
|
||||
// Static ROM declarations
|
||||
|
||||
extern const u8 *const sTVBravoTrainerTextGroup[];
|
||||
extern const u8 *const sTVBravoTrainerBattleTowerTextGroup[];
|
||||
|
||||
void ClearPokemonNews(void);
|
||||
u8 GetTVChannelByShowType(u8 kind);
|
||||
u8 FindFirstActiveTVShowThatIsNotAMassOutbreak(void);
|
||||
|
||||
Reference in New Issue
Block a user