2017-10-12 02:06:19 -05:00
|
|
|
#ifndef GUARD_TV_H
|
|
|
|
#define GUARD_TV_H
|
|
|
|
|
2017-10-13 11:09:36 -04:00
|
|
|
extern u8 *const gTVStringVarPtrs[3];
|
2017-10-12 02:06:19 -05:00
|
|
|
|
2018-02-28 00:18:59 +01:00
|
|
|
void ClearTVShowData(void);
|
2021-04-25 17:22:45 -04:00
|
|
|
void TryPutBreakingNewsOnAir(void);
|
2021-01-14 06:29:59 -05:00
|
|
|
void TryPutBattleSeminarOnAir(u16 foeSpecies, u16 species, u8 moveIdx, const u16 *movePtr, u16 betterMove);
|
2019-11-24 16:58:40 -05:00
|
|
|
void TryPutFrontierTVShowOnAir(u16 winStreak, u8 facility);
|
2018-02-27 18:13:28 +01:00
|
|
|
void DoTVShow(void);
|
|
|
|
void DoTVShowInSearchOfTrainers(void);
|
2019-10-22 17:56:47 -04:00
|
|
|
void TryPutTreasureInvestigatorsOnAir(void);
|
2019-11-04 16:41:42 -05:00
|
|
|
void TryPutLotteryWinnerReportOnAir(void);
|
2019-11-17 17:34:11 -05:00
|
|
|
void TryPutTrainerFanClubOnAir(void);
|
2019-10-20 02:31:51 -04:00
|
|
|
void IncrementDailyPlantedBerries(void);
|
|
|
|
void IncrementDailyPickedBerries(void);
|
|
|
|
void IncrementDailyBattlePoints(u16 delta);
|
2020-01-08 04:26:26 -05:00
|
|
|
void HideBattleTowerReporter(void);
|
2018-05-26 00:25:36 +02:00
|
|
|
void ReceiveTvShowsData(void *src, u32 size, u8 masterIdx);
|
2019-11-10 21:54:00 -05:00
|
|
|
void TryPutSpotTheCutiesOnAir(struct Pokemon *pokemon, u8 ribbonMonDataIdx);
|
2017-10-13 11:09:36 -04:00
|
|
|
u32 GetPlayerIDAsU32(void);
|
|
|
|
bool8 GetPriceReduction(u8 newsKind);
|
2021-04-25 17:22:45 -04:00
|
|
|
void SanitizeTVShowLocationsForRuby(TVShow *shows);
|
2018-02-27 18:13:28 +01:00
|
|
|
size_t CountDigits(int value);
|
2017-10-13 11:09:36 -04:00
|
|
|
u8 GetRibbonCount(struct Pokemon *pokemon);
|
2019-02-22 16:03:35 -05:00
|
|
|
void AlertTVThatPlayerPlayedSlotMachine(u16 nCoinsSpent);
|
|
|
|
void AlertTVThatPlayerPlayedRoulette(u16 nCoinsSpent);
|
2021-04-25 17:22:45 -04:00
|
|
|
void TryPutFindThatGamerOnAir(u16 nCoinsPaidOut);
|
2020-01-08 04:26:26 -05:00
|
|
|
void TryPutSecretBaseSecretsOnAir(void);
|
2020-06-24 16:27:00 -04:00
|
|
|
void TryPutTodaysRivalTrainerOnAir(void);
|
2021-03-31 15:53:01 -04:00
|
|
|
void TryPutTrendWatcherOnAir(const u16 *words);
|
2018-05-26 00:25:36 +02:00
|
|
|
void ReceivePokeNewsData(void *src, u32 size, u8 masterIdx);
|
2021-04-25 17:22:45 -04:00
|
|
|
void DeactivateAllNormalTVShows(void);
|
2020-06-29 16:53:38 -04:00
|
|
|
void RecordFishingAttemptForTV(bool8 caughtFish);
|
2019-10-20 02:31:51 -04:00
|
|
|
void IncrementDailySlotsUses(void);
|
|
|
|
void IncrementDailyRouletteUses(void);
|
|
|
|
void IncrementDailyWildBattles(void);
|
|
|
|
void IncrementDailyBerryBlender(void);
|
2021-04-25 17:22:45 -04:00
|
|
|
void SanitizeTVShowsForRuby(TVShow *shows);
|
|
|
|
void TryPutSafariFanClubOnAir(u8 nMonsCaught, u8 nPkblkUsed);
|
2017-11-19 22:48:46 +01:00
|
|
|
bool8 Put3CheersForPokeblocksOnTheAir(const u8 *partnersName, u8 flavor, u8 unused, u8 sheen, u8 language);
|
2018-02-28 00:18:59 +01:00
|
|
|
void SetPokemonAnglerSpecies(u16 species);
|
|
|
|
void UpdateTVShowsPerDay(u16 days);
|
2021-04-25 17:22:45 -04:00
|
|
|
void TryPutPokemonTodayOnAir(void);
|
|
|
|
void TryPutSecretBaseVisitOnAir(void);
|
2018-02-27 20:40:09 +01:00
|
|
|
void PutBattleUpdateOnTheAir(u8 opponentLinkPlayerId, u16 move, u16 speciesPlayer, u16 speciesOpponent);
|
2018-05-07 20:49:23 -04:00
|
|
|
void BravoTrainerPokemonProfile_BeforeInterview1(u16 move);
|
2019-01-04 16:55:03 -06:00
|
|
|
void InterviewBefore(void);
|
|
|
|
void InterviewAfter(void);
|
2018-05-09 05:07:56 -05:00
|
|
|
void UpdateTVScreensOnMap(int, int);
|
2021-04-25 17:22:45 -04:00
|
|
|
void ConvertIntToDecimalString(u8 varIdx, int value);
|
|
|
|
void TryPutSmartShopperOnAir(void);
|
2019-11-24 16:58:40 -05:00
|
|
|
bool8 ShouldAirFrontierTVShow(void);
|
2019-01-04 16:55:03 -06:00
|
|
|
void BravoTrainerPokemonProfile_BeforeInterview2(u8 contestStandingPlace);
|
2020-08-16 05:07:44 -04:00
|
|
|
void ContestLiveUpdates_Init(u8 round1Placing);
|
|
|
|
void ContestLiveUpdates_SetRound2Placing(u8 round2Placing);
|
|
|
|
void ContestLiveUpdates_SetWinnerAppealFlag(u8 flag);
|
|
|
|
void ContestLiveUpdates_SetWinnerMoveUsed(u16 move);
|
|
|
|
void ContestLiveUpdates_SetLoserData(u8 flag, u8 loser);
|
2019-02-15 03:40:57 -05:00
|
|
|
void ResetGabbyAndTy(void);
|
2021-04-25 17:22:45 -04:00
|
|
|
u8 CheckForPlayersHouseNews(void);
|
|
|
|
bool8 IsGabbyAndTyShowOnTheAir(void);
|
|
|
|
void TryPutTrainerFanClubOnAir(void);
|
2017-10-13 11:09:36 -04:00
|
|
|
|
|
|
|
#endif //GUARD_TV_H
|