2018-03-06 13:52:29 +00:00
|
|
|
#ifndef GUARD_MATCH_CALL_H
|
|
|
|
#define GUARD_MATCH_CALL_H
|
|
|
|
|
|
|
|
enum {
|
|
|
|
MATCH_CALL_TYPE_NON_TRAINER,
|
|
|
|
MATCH_CALL_TYPE_TRAINER,
|
|
|
|
MATCH_CALL_TYPE_WALLY,
|
|
|
|
MATCH_CALL_TYPE_BIRCH,
|
|
|
|
MATCH_CALL_TYPE_MAY_BRENDAN,
|
|
|
|
MATCH_CALL_TYPE_GYMLEADER_ELITEFOUR
|
|
|
|
};
|
|
|
|
|
2018-08-11 21:51:54 +00:00
|
|
|
s32 GetRematchIdxByTrainerIdx(s32 trainerIdx);
|
2019-02-08 17:48:51 +00:00
|
|
|
void InitMatchCallCounters(void);
|
2019-03-02 03:32:50 +00:00
|
|
|
bool32 TryStartMatchCall(void);
|
|
|
|
bool32 IsMatchCallTaskActive(void);
|
2019-04-14 18:21:06 +00:00
|
|
|
void StartMatchCallFromScript(u8 *message);
|
2019-03-02 08:18:08 +00:00
|
|
|
void sub_8197080(u8 *destStr);
|
2019-04-14 18:21:06 +00:00
|
|
|
bool32 SelectMatchCallMessage(int, u8 *);
|
2019-04-16 16:00:13 +00:00
|
|
|
void sub_8197184(u32 windowId, u32 destOffset, u32 paletteId);
|
|
|
|
void sub_81971C4(u32 windowId, u32 tileOffset, u32 paletteId);
|
2018-08-11 21:51:54 +00:00
|
|
|
|
2018-03-06 13:52:29 +00:00
|
|
|
#endif //GUARD_MATCH_CALL_H
|