mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-13 04:28:05 -05:00
20 lines
937 B
C
20 lines
937 B
C
#ifndef POKEPLATINUM_TRAINER_ENCOUNTER_H
|
|
#define POKEPLATINUM_TRAINER_ENCOUNTER_H
|
|
|
|
#include "struct_decls/map_object.h"
|
|
|
|
#include "field/field_system_decl.h"
|
|
|
|
#include "player_avatar.h"
|
|
#include "sys_task_manager.h"
|
|
|
|
BOOL FieldSystem_CheckForTrainersWantingBattle(FieldSystem *fieldSystem, BOOL hasTwoAliveMons);
|
|
int MapObject_GetDistanceToPlayer(const MapObject *mapObj, PlayerAvatar *playerAvatar, int direction, int range);
|
|
int MapObject_GetTrainerID(MapObject *mapObj);
|
|
BOOL FieldSystem_IsTrainerDefeated(FieldSystem *fieldSystem, MapObject *mapObj);
|
|
SysTask *TrainerEncounter_StartApproachingTrainerTask(FieldSystem *fieldSystem, MapObject *mapObj, PlayerAvatar *playerAvatar, int direction, int sightRange, int unused, int approachType, int approachNum);
|
|
BOOL TrainerEncounter_IsApproachingTrainerTaskDone(SysTask *task);
|
|
void TrainerEncounter_FreeApproachingTrainerTask(SysTask *task);
|
|
|
|
#endif // POKEPLATINUM_TRAINER_ENCOUNTER_H
|