diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex.c | 2 | ||||
-rw-r--r-- | src/pokedex_cry_screen.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index 280f75757..3ea641ca1 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -3476,7 +3476,7 @@ static void sub_8090540(u16 a) } #ifdef NONMATCHING -static void sub_8090584(u8 a, u16 b) +static void HighlightScreenSelectBarItem(u8 a, u16 b) { u8 i; //r1 u8 j; //r3 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++) |