From 9cbf1aae195248d010bda8dabf7f72e1ffb58bf4 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 10 Sep 2016 13:27:38 -0700 Subject: make aif2pcm compatible with VS2015 --- src/pokemon_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3