Use gCurrentMove instead of checking FF move (#5999)

This commit is contained in:
Alex 2025-01-12 00:25:17 +01:00 committed by GitHub
parent 846734e894
commit 10a3ed2044
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]