2017-10-12 07:06:19 +00:00
|
|
|
#ifndef GUARD_TV_H
|
|
|
|
#define GUARD_TV_H
|
|
|
|
|
2019-02-07 16:24:09 +00:00
|
|
|
#define SLOT_MACHINE 0
|
|
|
|
#define ROULETTE 1
|
|
|
|
|
2017-10-13 15:09:36 +00:00
|
|
|
extern u8 *const gTVStringVarPtrs[3];
|
2017-10-12 07:06:19 +00:00
|
|
|
|
2018-02-27 23:18:59 +00:00
|
|
|
void ClearTVShowData(void);
|
2018-02-27 17:13:28 +00:00
|
|
|
void sub_80EE184(void);
|
|
|
|
void sub_80EE35C(u16 foeSpecies, u16 species, u8 moveIdx, const u16 *movePtr, u16 betterMove);
|
2019-11-24 21:58:40 +00:00
|
|
|
void TryPutFrontierTVShowOnAir(u16 winStreak, u8 facility);
|
2018-02-27 17:13:28 +00:00
|
|
|
void DoTVShow(void);
|
|
|
|
void DoTVShowInSearchOfTrainers(void);
|
2019-10-22 21:56:47 +00:00
|
|
|
void TryPutTreasureInvestigatorsOnAir(void);
|
2019-11-04 21:41:42 +00:00
|
|
|
void TryPutLotteryWinnerReportOnAir(void);
|
2019-11-17 22:34:11 +00:00
|
|
|
void TryPutTrainerFanClubOnAir(void);
|
2019-10-20 06:31:51 +00:00
|
|
|
void IncrementDailyPlantedBerries(void);
|
|
|
|
void IncrementDailyPickedBerries(void);
|
|
|
|
void IncrementDailyBattlePoints(u16 delta);
|
2020-01-08 09:26:26 +00:00
|
|
|
void HideBattleTowerReporter(void);
|
2018-05-25 22:25:36 +00:00
|
|
|
void ReceiveTvShowsData(void *src, u32 size, u8 masterIdx);
|
2019-11-11 02:54:00 +00:00
|
|
|
void TryPutSpotTheCutiesOnAir(struct Pokemon *pokemon, u8 ribbonMonDataIdx);
|
2017-10-13 15:09:36 +00:00
|
|
|
u32 GetPlayerIDAsU32(void);
|
|
|
|
bool8 GetPriceReduction(u8 newsKind);
|
2018-02-27 17:13:28 +00:00
|
|
|
void sub_80F14F8(TVShow *shows);
|
|
|
|
size_t CountDigits(int value);
|
2017-10-13 15:09:36 +00:00
|
|
|
u8 GetRibbonCount(struct Pokemon *pokemon);
|
2019-02-22 21:03:35 +00:00
|
|
|
void AlertTVThatPlayerPlayedSlotMachine(u16 nCoinsSpent);
|
|
|
|
void AlertTVThatPlayerPlayedRoulette(u16 nCoinsSpent);
|
2019-02-22 21:12:37 +00:00
|
|
|
void AlertTVOfNewCoinTotal(u16 nCoinsPaidOut);
|
2020-01-08 09:26:26 +00:00
|
|
|
void TryPutSecretBaseSecretsOnAir(void);
|
2020-06-24 20:27:00 +00:00
|
|
|
void TryPutTodaysRivalTrainerOnAir(void);
|
2018-02-27 17:13:28 +00:00
|
|
|
void sub_80EDC60(const u16 *words);
|
|
|
|
void sub_80EDA80(void);
|
2018-05-25 22:25:36 +00:00
|
|
|
void ReceivePokeNewsData(void *src, u32 size, u8 masterIdx);
|
2018-02-27 17:13:28 +00:00
|
|
|
void sub_80F0BB8(void);
|
|
|
|
void sub_80ED950(bool8 flag);
|
2019-10-20 06:31:51 +00:00
|
|
|
void IncrementDailySlotsUses(void);
|
|
|
|
void IncrementDailyRouletteUses(void);
|
|
|
|
void IncrementDailyWildBattles(void);
|
|
|
|
void IncrementDailyBerryBlender(void);
|
2018-02-27 17:13:28 +00:00
|
|
|
void sub_80F1208(TVShow *shows);
|
|
|
|
void sub_80EE44C(u8 nMonsCaught, u8 nPkblkUsed);
|
2017-10-13 15:09:36 +00:00
|
|
|
void sub_80F14F8(TVShow *shows);
|
2017-10-14 01:29:11 +00:00
|
|
|
size_t sub_80EF370(int value);
|
2017-11-19 21:48:46 +00:00
|
|
|
bool8 Put3CheersForPokeblocksOnTheAir(const u8 *partnersName, u8 flavor, u8 unused, u8 sheen, u8 language);
|
2018-02-27 23:18:59 +00:00
|
|
|
void SetPokemonAnglerSpecies(u16 species);
|
|
|
|
void UpdateTVShowsPerDay(u16 days);
|
|
|
|
void PutPokemonTodayCaughtOnAir(void);
|
|
|
|
void TV_PutSecretBaseVisitOnTheAir(void);
|
2018-02-27 19:40:09 +00:00
|
|
|
void PutBattleUpdateOnTheAir(u8 opponentLinkPlayerId, u16 move, u16 speciesPlayer, u16 speciesOpponent);
|
2018-05-08 00:49:23 +00:00
|
|
|
void BravoTrainerPokemonProfile_BeforeInterview1(u16 move);
|
2019-01-04 22:55:03 +00:00
|
|
|
void InterviewBefore(void);
|
|
|
|
void InterviewAfter(void);
|
2018-05-09 10:07:56 +00:00
|
|
|
void UpdateTVScreensOnMap(int, int);
|
2018-08-08 08:37:12 +00:00
|
|
|
void TV_PrintIntToStringVar(u8 varIdx, int value);
|
2018-09-01 22:15:35 +00:00
|
|
|
void SaveRecordedItemPurchasesForTVShow(void);
|
2019-11-24 21:58:40 +00:00
|
|
|
bool8 ShouldAirFrontierTVShow(void);
|
2018-10-27 19:01:35 +00:00
|
|
|
void sub_80EE8C8(u16 winStreak, u8 facilityAndMode);
|
2019-01-04 22:55:03 +00:00
|
|
|
void BravoTrainerPokemonProfile_BeforeInterview2(u8 contestStandingPlace);
|
2019-01-28 17:13:07 +00:00
|
|
|
void ContestLiveUpdates_BeforeInterview_1(u8 a0);
|
|
|
|
void ContestLiveUpdates_BeforeInterview_2(u8 a0);
|
|
|
|
void ContestLiveUpdates_BeforeInterview_3(u8 a0);
|
|
|
|
void ContestLiveUpdates_BeforeInterview_4(u16 a0);
|
|
|
|
void ContestLiveUpdates_BeforeInterview_5(u8 a0, u8 a1);
|
2019-02-15 08:40:57 +00:00
|
|
|
void ResetGabbyAndTy(void);
|
2017-10-13 15:09:36 +00:00
|
|
|
|
|
|
|
#endif //GUARD_TV_H
|