summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pokemon_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_2.c b/src/pokemon_2.c
index 0f3fc73c5..9936fa2a6 100644
--- a/src/pokemon_2.c
+++ b/src/pokemon_2.c
@@ -830,7 +830,7 @@ void SetBoxMonData(struct BoxPokemon *boxMon, s32 field, const u8 *data)
break;
case MON_DATA_IVS:
{
- u32 ivs = *data; // Bug: Only the HP / Attack IVs are read. The rest become 0.
+ u32 ivs = *data; // Bug: Only the HP IV and the lower 3 bits of the Attack IV are read. The rest become 0.
substruct3->hpIV = ivs & 0x1F;
substruct3->attackIV = (ivs >> 5) & 0x1F;
substruct3->defenseIV = (ivs >> 10) & 0x1F;