diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-21 15:04:48 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-21 15:04:48 -0400 |
commit | 54cda0308707ace7055cc8ea6f4e698e6324f911 (patch) | |
tree | da994718bb835a0d69103aafd6b6b3f90194aaee /src/pokedex_cry_screen.c | |
parent | 75b2298d37fa39077f7d5b930c0629ad5064ab84 (diff) |
Sync more contest docs from Emerald
Diffstat (limited to 'src/pokedex_cry_screen.c')
-rw-r--r-- | src/pokedex_cry_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex_cry_screen.c b/src/pokedex_cry_screen.c index 9abea27a1..edfed2c9d 100644 --- a/src/pokedex_cry_screen.c +++ b/src/pokedex_cry_screen.c @@ -216,7 +216,7 @@ u8 sub_8119E3C(struct CryRelatedStruct *cry, u8 arg1) switch (gUnknown_03005E98) { case 0: - gPokedexCryScreenPtr->unk0014 = cry->unk0; + gPokedexCryScreenPtr->unk0014 = cry->totalPoints; gPokedexCryScreenPtr->unk0016 = cry->yPos; gPokedexCryScreenPtr->unk001A = 0; gPokedexCryScreenPtr->unk001B = 0; @@ -235,7 +235,7 @@ u8 sub_8119E3C(struct CryRelatedStruct *cry, u8 arg1) break; case 1: r7 = cry->unk2 << 11; - r6 = (cry->paletteNo << 12) + ((unsigned)(cry->unk0 << 18) >> 23); + r6 = (cry->paletteNo << 12) + ((unsigned)(cry->totalPoints << 18) >> 23); for (i = 0; i < 7; i++) { for (j = 0; j < 32; j++) |