summaryrefslogtreecommitdiff
path: root/src/pokedex_cry_screen.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-25 10:15:14 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-25 10:15:14 -0400
commitaca61198745358f770dc0afd4e4bca6f4898fcf0 (patch)
tree0423338644d1522751d90b8f7db7708c43ad6602 /src/pokedex_cry_screen.c
parent5fbd9ca845dec2c98e24fdfdd3035543120afdd5 (diff)
Fix another one of CLion's fuckups affecting NONMATCHING build
Diffstat (limited to 'src/pokedex_cry_screen.c')
-rw-r--r--src/pokedex_cry_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex_cry_screen.c b/src/pokedex_cry_screen.c
index e11fb0e02..9abea27a1 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->texts;
+ gPokedexCryScreenPtr->unk0014 = cry->unk0;
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->texts << 18) >> 23);
+ r6 = (cry->paletteNo << 12) + ((unsigned)(cry->unk0 << 18) >> 23);
for (i = 0; i < 7; i++)
{
for (j = 0; j < 32; j++)