2017-10-10 20:45:07 +01:00
|
|
|
#ifndef GUARD_BATTLE_AI_SWITCH_ITEMS_H
|
|
|
|
#define GUARD_BATTLE_AI_SWITCH_ITEMS_H
|
|
|
|
|
2019-01-27 19:54:34 +00:00
|
|
|
void GetAIPartyIndexes(u32 battlerId, s32 *firstId, s32 *lastId);
|
2023-08-29 14:21:31 +01:00
|
|
|
void AI_TrySwitchOrUseItem(u32 battler);
|
2024-07-01 07:53:07 +01:00
|
|
|
u32 GetMostSuitableMonToSwitchInto(u32 battler, bool32 switchAfterMonKOd);
|
2023-12-21 10:40:04 +00:00
|
|
|
bool32 ShouldSwitch(u32 battler, bool32 emitResult);
|
2024-08-08 10:08:50 +01:00
|
|
|
bool32 IsMonGrounded(u16 heldItemEffect, u32 ability, u8 type1, u8 type2);
|
2017-10-10 20:45:07 +01:00
|
|
|
|
|
|
|
#endif // GUARD_BATTLE_AI_SWITCH_ITEMS_H
|