Increase number of additional move effects (#8149)

This commit is contained in:
Alex 2025-11-06 01:18:12 +01:00 committed by GitHub
parent c57bde3c5e
commit fbaaf2d338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ struct MoveInfo
u32 strikeCount:4; // Max 15 hits. Defaults to 1 if not set. May apply its effect on each hit.
u32 criticalHitStage:2;
bool32 alwaysCriticalHit:1;
u32 numAdditionalEffects:2; // limited to 3 - don't want to get too crazy
u32 numAdditionalEffects:3; // limited to 7
// Flags
bool32 makesContact:1;
bool32 ignoresProtect:1;
@ -101,8 +101,8 @@ struct MoveInfo
bool32 minimizeDoubleDamage:1;
bool32 ignoresTargetAbility:1;
bool32 ignoresTargetDefenseEvasionStages:1;
bool32 damagesUnderground:1;
// end of word
bool32 damagesUnderground:1;
bool32 damagesUnderwater:1;
bool32 damagesAirborne:1;
bool32 damagesAirborneDoubleDamage:1;
@ -131,7 +131,7 @@ struct MoveInfo
bool32 dampBanned:1;
//Other
bool32 validApprenticeMove:1;
u32 padding:6;
u32 padding:5;
// end of word
union {