mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 14:53:55 +01:00
Don't use Toxic if opponent has Toxic Boost.
This commit is contained in:
parent
9b459eb64a
commit
3c7e60a441
@ -620,6 +620,7 @@ AI_CBM_Toxic: @ 82DC48C
|
||||
if_equal TYPE_POISON, Score_Minus10
|
||||
get_ability AI_TARGET
|
||||
if_equal ABILITY_IMMUNITY, Score_Minus10
|
||||
if_equal ABILITY_TOXIC_BOOST, Score_Minus10
|
||||
if_status AI_TARGET, STATUS1_ANY, Score_Minus10
|
||||
if_side_affecting AI_TARGET, SIDE_STATUS_SAFEGUARD, Score_Minus10
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user