summaryrefslogtreecommitdiff
path: root/include/battle_ai_switch_items.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-04-10 12:41:35 -0400
committerGitHub <noreply@github.com>2021-04-10 12:41:35 -0400
commitf6016838b1b0e2f0cf752b3b44c63e9e9776de4f (patch)
treec08712b996af85f4fce6156e48eaef86ec2a0fda /include/battle_ai_switch_items.h
parent5e82db8dc3f10229635d6825fbcfc742740043f2 (diff)
parentfe1b757af5ae8e8942d747863d04c4c33e5399d8 (diff)
Merge pull request #1397 from GriffinRichards/doc-moremisc
Clean up battle scripts
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);