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