mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 12:14:20 +01:00
2eabcea86e
* items that can be used in battle now use battlescripts * removed ExecuteTableBasedItemEffect_ * taught AI how to use items, removed AI_itemtype/flag * X-Items store stages raised in holdEffectParam * USE_ITEM in tests
10 lines
289 B
C
10 lines
289 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(void);
|
|
u8 GetMostSuitableMonToSwitchInto(void);
|
|
bool32 ShouldSwitch(void);
|
|
|
|
#endif // GUARD_BATTLE_AI_SWITCH_ITEMS_H
|