Use gCurrentMove instead of checking FF move (#5999)
This commit is contained in:
parent
846734e894
commit
10a3ed2044
@ -5804,7 +5804,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32
|
||||
&& IsBattlerAlive(gBattlerAttacker))
|
||||
{
|
||||
//special Future Sight handling
|
||||
if (gMovesInfo[gWishFutureKnock.futureSightMove[battler]].effect == EFFECT_FUTURE_SIGHT)
|
||||
if (gMovesInfo[gCurrentMove].effect == EFFECT_FUTURE_SIGHT)
|
||||
{
|
||||
//no Innards Out effect if Future Sight user is currently not on field
|
||||
if (gWishFutureKnock.futureSightPartyIndex[gBattlerTarget] == gBattlerPartyIndexes[gBattlerAttacker]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user