summaryrefslogtreecommitdiff
path: root/include/battle_ai_switch_items.h
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-05-23 10:51:26 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-05-23 10:51:26 -0400
commitc723d980e772f7e7ab82dbcb7ad07132c09ab5b4 (patch)
tree0bed002b2990b9e837220618a321f3b6517a1099 /include/battle_ai_switch_items.h
parentc50a21fba07db80ac44c6f09fd202ba4b2e2c7d3 (diff)
parentffbbc88801de3fc56d0bf5f0af1418ca7cfcfa4f (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald
Diffstat (limited to 'include/battle_ai_switch_items.h')
-rw-r--r--include/battle_ai_switch_items.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/battle_ai_switch_items.h b/include/battle_ai_switch_items.h
index 0a230e7f6..a0b6fe62c 100644
--- a/include/battle_ai_switch_items.h
+++ b/include/battle_ai_switch_items.h
@@ -7,10 +7,30 @@ enum
AI_ITEM_HEAL_HP,
AI_ITEM_CURE_CONDITION,
AI_ITEM_X_STAT,
- AI_ITEM_GUARD_SPECS,
+ AI_ITEM_GUARD_SPEC,
AI_ITEM_NOT_RECOGNIZABLE
};
+enum {
+ AI_HEAL_CONFUSION,
+ AI_HEAL_PARALYSIS,
+ AI_HEAL_FREEZE,
+ AI_HEAL_BURN,
+ AI_HEAL_POISON,
+ AI_HEAL_SLEEP,
+};
+
+enum {
+ AI_X_ATTACK,
+ AI_X_DEFEND,
+ AI_X_SPEED,
+ AI_X_SPATK,
+ AI_X_SPDEF, // Unused
+ AI_X_ACCURACY,
+ AI_X_EVASION, // Unused
+ AI_DIRE_HIT,
+};
+
void AI_TrySwitchOrUseItem(void);
u8 GetMostSuitableMonToSwitchInto(void);