2017-09-28 17:38:07 +02:00
|
|
|
#ifndef GUARD_BATTLE_AI_SCRIPT_COMMANDS_H
|
|
|
|
#define GUARD_BATTLE_AI_SCRIPT_COMMANDS_H
|
2017-09-05 09:41:48 +02:00
|
|
|
|
2018-06-17 16:48:58 +02:00
|
|
|
// return values for BattleAI_ChooseMoveOrAction
|
|
|
|
// 0 - 3 are move idx
|
|
|
|
#define AI_CHOICE_FLEE 4
|
|
|
|
#define AI_CHOICE_WATCH 5
|
|
|
|
|
2017-09-05 09:41:48 +02:00
|
|
|
void BattleAI_HandleItemUseBeforeAISetup(u8 defaultScoreMoves);
|
|
|
|
void BattleAI_SetupAIData(u8 defaultScoreMoves);
|
|
|
|
u8 BattleAI_ChooseMoveOrAction(void);
|
2018-06-17 16:48:58 +02:00
|
|
|
void ClearBattlerMoveHistory(u8 battlerId);
|
|
|
|
void RecordAbilityBattle(u8 battlerId, u8 abilityId);
|
|
|
|
void ClearBattlerAbilityHistory(u8 battlerId);
|
|
|
|
void RecordItemEffectBattle(u8 battlerId, u8 itemEffect);
|
|
|
|
void ClearBattlerItemEffectHistory(u8 battlerId);
|
2017-09-05 09:41:48 +02:00
|
|
|
|
2017-09-28 17:38:07 +02:00
|
|
|
#endif // GUARD_BATTLE_AI_SCRIPT_COMMANDS_H
|