mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-23 04:44:03 +01:00
fix memento fail condition
This commit is contained in:
parent
e66820e646
commit
11626d5043
@ -11520,7 +11520,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