diff options
author | YamaArashi <shadow962@live.com> | 2016-12-29 13:39:00 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-12-29 13:39:00 -0800 |
commit | 0fdd18516ba5c7b61e31fbf3a729e5549b33a259 (patch) | |
tree | cfc1bf6940d95b653415e455b5684e2ec7db52ac | |
parent | 4f4b6a3f5b6a205eed811fe8f0371ac2a2b27fc9 (diff) |
fix typo
-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 e747629d1..251459571 100644 --- a/src/pokemon_2.c +++ b/src/pokemon_2.c @@ -1017,7 +1017,7 @@ void SetBoxMonData(struct BoxPokemon *boxMon, s32 field, const u8 *data) case MON_DATA_IVS: { #ifdef BUGFIX_SETMONIVS - u32 ivs = data[0] | (data[1] << 8) | (data[2] << 16) | (data[1] << 24); + u32 ivs = data[0] | (data[1] << 8) | (data[2] << 16) | (data[3] << 24); #else u32 ivs = *data; // Bug: Only the HP IV and the lower 3 bits of the Attack IV are read. The rest become 0. #endif |