summaryrefslogtreecommitdiff
path: root/src/easy_chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/easy_chat.c')
-rw-r--r--src/easy_chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/easy_chat.c b/src/easy_chat.c
index 26cc50738..cc2cd7030 100644
--- a/src/easy_chat.c
+++ b/src/easy_chat.c
@@ -207,15 +207,15 @@ void unref_sub_80EB684(u8 arg0, u16 arg1) {
{
case 5:
c = 6;
- ptr = (u16*)((void *)&gSaveBlock1.tvShows.shows[arg1] + 0x04);
+ ptr = (u16*)((void *)&gSaveBlock1.tvShows[arg1] + 0x04);
break;
case 7:
c = 2;
- ptr = (u16*)((void *)&gSaveBlock1.tvShows.shows[arg1] + 0x1C);
+ ptr = (u16*)((void *)&gSaveBlock1.tvShows[arg1] + 0x1C);
break;
case 8:
c = 1;
- ptr = (u16*)((void *)&gSaveBlock1.tvShows.shows[arg1] + 0x02);
+ ptr = (u16*)((void *)&gSaveBlock1.tvShows[arg1] + 0x02);
break;
default:
@@ -462,7 +462,7 @@ static u16 sub_80EB9D8(void) {
{
const u16 dexNum = SpeciesToNationalPokedexNum(*speciesList);
- const u8 local2 = sub_8090D90(dexNum, 0);
+ const u8 local2 = GetNationalPokedexFlag(dexNum, 0);
if (local2)
{