mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-08 02:56:14 -05:00
Use gCurrentMove instead of checking FF move (#5999)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user