diff options
author | yenatch <yenatch@gmail.com> | 2017-04-29 16:46:34 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-04-29 16:46:34 -0400 |
commit | abfea9ba9ebfb12e238bc9e0d35b61deb9d39fbd (patch) | |
tree | d81070bff9057795f14a3a138a03a0ac3ae31345 /src/decompress.c | |
parent | 376e638a5b8cb8e4925dc553210dece255b46eea (diff) |
Fix an erroneous SPECIES_EGG in Unown code.
Diffstat (limited to 'src/decompress.c')
-rw-r--r-- | src/decompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decompress.c b/src/decompress.c index fb91ebd67..12be8a055 100644 --- a/src/decompress.c +++ b/src/decompress.c @@ -91,11 +91,11 @@ void LoadSpecialPokePic(const struct SpriteSheet *spriteSheet, u32 b, u32 c, u32 { u16 i = (((g & 0x3000000) >> 18) | ((g & 0x30000) >> 12) | ((g & 0x300) >> 6) | (g & 3)) % 0x1C; - // if it is Unown A, set the index to where Unown begins, otherwise add the egg index to get the correct letter to load. + // The other Unowns are separate from Unown A. if (i == 0) i = SPECIES_UNOWN; else - i += SPECIES_EGG; + i += SPECIES_UNOWN_B - 1; if (frontOrBack8 == 0) LZ77UnCompWram(gMonBackPicTable[i].data, dest); |