7e167f0b3c
* AI_FLAG_BAD_SWITCHING * Cleanup and tests, U-Turn / Baton Pass / Parting Shot aren't working properly * Fix U-Turn etc. tests * Test overhaul with Egg's suggestions * Add EFFECT_HIT_SWITCH_TARGET to tests * Review feedback * Re-review feedback
9 lines
356 B
C
9 lines
356 B
C
#ifndef GUARD_BATTLE_AI_SWITCH_ITEMS_H
|
|
#define GUARD_BATTLE_AI_SWITCH_ITEMS_H
|
|
|
|
void GetAIPartyIndexes(u32 battlerId, s32 *firstId, s32 *lastId);
|
|
void AI_TrySwitchOrUseItem(u32 battler);
|
|
u32 GetMostSuitableMonToSwitchInto(u32 battler, bool32 switchAfterMonKOd);
|
|
bool32 ShouldSwitch(u32 battler, bool32 emitResult);
|
|
|
|
#endif // GUARD_BATTLE_AI_SWITCH_ITEMS_H
|