You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More info here but this affects all Pokemon with only 1 ability and makes the caught icon tinted when they appear with their hidden abilities even if the user owns the hidden ability.
This is because in the dexattr the ability is stored as a binary bitmask where 1 is the first ability, 2 is the second ability, and 4 is the hidden ability.
A Pokemon with only 1 ability has their hidden ability at abilityIndex 1 instead of 2 so when the code checks 2^abilityIndex it's getting a value of 2 instead of 4 and this mismatch causes the caught icon to be tinted even when it shouldn't be.
The text was updated successfully, but these errors were encountered:
More info here but this affects all Pokemon with only 1 ability and makes the caught icon tinted when they appear with their hidden abilities even if the user owns the hidden ability.
This is because in the dexattr the ability is stored as a binary bitmask where 1 is the first ability, 2 is the second ability, and 4 is the hidden ability.
A Pokemon with only 1 ability has their hidden ability at abilityIndex 1 instead of 2 so when the code checks 2^abilityIndex it's getting a value of 2 instead of 4 and this mismatch causes the caught icon to be tinted even when it shouldn't be.
The text was updated successfully, but these errors were encountered: