pokeemerald/include/match_call.h

24 lines
728 B
C
Raw Normal View History

2018-03-06 14:52:29 +01: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 23:51:54 +02:00
s32 GetRematchIdxByTrainerIdx(s32 trainerIdx);
2019-02-08 18:48:51 +01:00
void InitMatchCallCounters(void);
2019-03-02 04:32:50 +01:00
bool32 TryStartMatchCall(void);
bool32 IsMatchCallTaskActive(void);
2020-06-04 00:25:16 +02:00
void StartMatchCallFromScript(const u8 *message);
2019-12-07 10:08:21 +01:00
void BufferPokedexRatingForMatchCall(u8 *destStr);
2019-04-14 20:21:06 +02:00
bool32 SelectMatchCallMessage(int, u8 *);
2021-04-01 08:35:14 +02:00
void LoadMatchCallWindowGfx(u32 windowId, u32 destOffset, u32 paletteId);
void DrawMatchCallTextBoxBorder(u32 windowId, u32 tileOffset, u32 paletteId);
2018-08-11 23:51:54 +02:00
2018-03-06 14:52:29 +01:00
#endif //GUARD_MATCH_CALL_H