diff options
Diffstat (limited to 'gba/source')
-rw-r--r-- | gba/source/serialize.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gba/source/serialize.c b/gba/source/serialize.c index 8929689..f5446ef 100644 --- a/gba/source/serialize.c +++ b/gba/source/serialize.c | |||
@@ -135,10 +135,10 @@ void PokemonIntermediateInit( | |||
135 | if (sub0->species == UNOWN_SPECIES_INDEX) | 135 | if (sub0->species == UNOWN_SPECIES_INDEX) |
136 | { | 136 | { |
137 | u8 unownDeterminer = | 137 | u8 unownDeterminer = |
138 | ((bpkm->personality & 0x07000000) >> 18) | 138 | ((bpkm->personality & 0x03000000) >> 18) |
139 | | ((bpkm->personality & 0x00070000) >> 12) | 139 | | ((bpkm->personality & 0x00030000) >> 12) |
140 | | ((bpkm->personality & 0x00000700) >> 6) | 140 | | ((bpkm->personality & 0x00000300) >> 6) |
141 | | (bpkm->personality & 0x00000007); | 141 | | (bpkm->personality & 0x00000003); |
142 | 142 | ||
143 | pki->unownLetter = (unownDeterminer % 28); | 143 | pki->unownLetter = (unownDeterminer % 28); |
144 | } | 144 | } |