Fix HasBattlerSideMoveWithEffect comment (#6965)

This commit is contained in:
Pawkkie 2025-05-23 08:18:59 -04:00 committed by GitHub
parent 6e63827bd7
commit d3cadf093e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2201,7 +2201,7 @@ bool32 HasBattlerSideMoveWithEffect(u32 battler, u32 effect)
return FALSE;
}
// HasSideMoveWithMoveEffect checks if the AI knows a side has a move effect,
// HasBattlerSideMoveWithEffect checks if the AI knows a side has a move effect,
// while HasBattlerSideUsedMoveWithEffect checks if the side has ever used a move effect.
// The former acts the same way as the latter if AI_FLAG_OMNISCIENT isn't used.
bool32 HasBattlerSideUsedMoveWithEffect(u32 battler, u32 effect)