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