Merge pull request #1748 from ghoulslash/memento
Fix memento Gen 7 fail condition
This commit is contained in:
commit
9b20fd4a07
1 changed files with 1 additions and 1 deletions
|
@ -11580,7 +11580,7 @@ static void Cmd_jumpifattackandspecialattackcannotfall(void) // memento
|
|||
&& gBattleMons[gBattlerTarget].statStages[STAT_SPATK] == MIN_STAT_STAGE
|
||||
&& gBattleCommunication[MISS_TYPE] != B_MSG_PROTECTED)
|
||||
#else
|
||||
if (gBattleCommunication[MISS_TYPE] != B_MSG_PROTECTED
|
||||
if (gBattleCommunication[MISS_TYPE] == B_MSG_PROTECTED
|
||||
|| gStatuses3[gBattlerTarget] & STATUS3_SEMI_INVULNERABLE
|
||||
|| IsBattlerProtected(gBattlerTarget, gCurrentMove)
|
||||
|| DoesSubstituteBlockMove(gBattlerAttacker, gBattlerTarget, gCurrentMove))
|
||||
|
|
Loading…
Reference in a new issue