Fix B_PHYSICAL_SPECIAL_SPLIT when set to Gen 4 (#8348)

This commit is contained in:
Eduardo Quezada 2025-11-25 14:17:21 -03:00 committed by GitHub
parent 79163deb24
commit 152ad88436
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10650,7 +10650,7 @@ enum DamageCategory GetBattleMoveCategory(u32 move)
return DAMAGE_CATEGORY_STATUS;
}
if (B_PHYSICAL_SPECIAL_SPLIT <= GEN_4)
if (B_PHYSICAL_SPECIAL_SPLIT < GEN_4)
return gTypesInfo[GetBattleMoveType(move)].damageCategory;
return GetMoveCategory(move);