Update battle_util.c
Noted Protection Bypassing
This commit is contained in:
parent
0a5154499e
commit
c4db74460a
1 changed files with 5 additions and 0 deletions
|
@ -8012,6 +8012,11 @@ bool32 IsBattlerProtected(u8 battlerId, u16 move)
|
||||||
else if (gProtectStructs[battlerId].protected)
|
else if (gProtectStructs[battlerId].protected)
|
||||||
return FALSE;
|
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.
|
// 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.
|
// This means extra logic is needed to handle Shell Side Arm.
|
||||||
|
|
Loading…
Reference in a new issue