diff options
author | YamaArashi <shadow962@live.com> | 2016-09-10 13:27:38 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-10 13:27:38 -0700 |
commit | 9cbf1aae195248d010bda8dabf7f72e1ffb58bf4 (patch) | |
tree | d323be8793ab9982c36398cfe30eb752365413e8 /src | |
parent | f20d0afa16e2a2cd18692bc90ab79a5d5ce10a8e (diff) |
make aif2pcm compatible with VS2015
Diffstat (limited to 'src')
-rw-r--r-- | src/pokemon_2.c | 2 |
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; |