mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-27 05:01:14 -05:00
Update battle_util.c
Noted Protection Bypassing
This commit is contained in:
@@ -8012,6 +8012,11 @@ bool32 IsBattlerProtected(u8 battlerId, u16 move)
|
||||
else if (gProtectStructs[battlerId].protected)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (move == MOVE_TEATIME)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Protective Pads doesn't stop Unseen Fist from bypassing Protect effects, so IsMoveMakingContact() isn't used here.
|
||||
// This means extra logic is needed to handle Shell Side Arm.
|
||||
|
||||
Reference in New Issue
Block a user