2017-09-24 22:09:13 +00:00
|
|
|
#ifndef GUARD_RECORDED_BATTLE_H
|
|
|
|
#define GUARD_RECORDED_BATTLE_H
|
|
|
|
|
2017-09-30 23:12:42 +00:00
|
|
|
extern u32 gRecordedBattleRngSeed;
|
2017-11-13 18:01:23 +00:00
|
|
|
extern u32 gBattlePalaceMoveSelectionRngValue;
|
2021-01-13 20:17:32 +00:00
|
|
|
extern u8 gRecordedBattleMultiplayerId;
|
2017-09-30 23:12:42 +00:00
|
|
|
|
2021-01-22 07:48:22 +00:00
|
|
|
#define B_RECORD_MODE_RECORDING 1
|
|
|
|
#define B_RECORD_MODE_PLAYBACK 2
|
|
|
|
|
|
|
|
void RecordedBattle_Init(u8 arg0);
|
2017-09-30 23:12:42 +00:00
|
|
|
void sub_8184E58(void);
|
2018-02-08 10:17:41 +00:00
|
|
|
void RecordedBattle_SetBattlerAction(u8 battlerId, u8 action);
|
|
|
|
void RecordedBattle_ClearBattlerAction(u8 battlerId, u8 bytesToClear);
|
|
|
|
u8 RecordedBattle_GetBattlerAction(u8 battlerId);
|
2021-01-22 07:48:22 +00:00
|
|
|
u8 RecordedBattle_GetAllNewBattlerData(u8 *dst);
|
2017-11-13 18:01:23 +00:00
|
|
|
void sub_81851A8(u8 *arg0);
|
|
|
|
bool32 CanCopyRecordedBattleSaveData(void);
|
2018-11-01 14:06:50 +00:00
|
|
|
bool32 MoveRecordedBattleToSaveData(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
void PlayRecordedBattle(void (*CB2_After)(void));
|
2018-07-01 09:15:42 +00:00
|
|
|
u8 GetRecordedBattleFrontierFacility(void);
|
2018-11-01 14:06:50 +00:00
|
|
|
u8 GetRecordedBattleFronterBrainSymbol(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
void RecordedBattle_SaveParties(void);
|
2018-02-08 10:17:41 +00:00
|
|
|
u8 GetActiveBattlerLinkPlayerGender(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
void sub_8185F84(void);
|
2017-09-30 23:12:42 +00:00
|
|
|
void sub_8185F90(u16 arg0);
|
2017-10-01 16:54:01 +00:00
|
|
|
u8 sub_8185FAC(void);
|
2018-11-01 14:06:50 +00:00
|
|
|
u8 GetBattleSceneInRecordedBattle(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
u8 GetTextSpeedInRecordedBattle(void);
|
2018-02-08 10:17:41 +00:00
|
|
|
void RecordedBattle_CopyBattlerMoves(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
void sub_818603C(u8 arg0);
|
|
|
|
u32 GetAiScriptsInRecordedBattle(void);
|
2017-10-05 22:12:01 +00:00
|
|
|
void sub_8186444(void);
|
2017-11-13 18:01:23 +00:00
|
|
|
bool8 sub_8186450(void);
|
2020-12-24 21:18:47 +00:00
|
|
|
void GetRecordedBattleRecordMixFriendName(u8 *dst);
|
2018-11-01 14:06:50 +00:00
|
|
|
u8 GetRecordedBattleRecordMixFriendClass(void);
|
|
|
|
u8 GetRecordedBattleApprenticeId(void);
|
|
|
|
u8 GetRecordedBattleRecordMixFriendLanguage(void);
|
|
|
|
u8 GetRecordedBattleApprenticeLanguage(void);
|
|
|
|
void RecordedBattle_SaveBattleOutcome(void);
|
|
|
|
u16 *GetRecordedBattleEasyChatSpeech(void);
|
2017-09-24 22:09:13 +00:00
|
|
|
|
|
|
|
#endif // GUARD_RECORDED_BATTLE_H
|