summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tv.c b/src/tv.c
index a1743fd2d..82624977e 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -1016,7 +1016,7 @@ bool8 IsTVShowInSearchOfTrainersAiring(void)
bool8 GabbyAndTyGetLastQuote(void)
{
- if (gSaveBlock1Ptr->gabbyAndTyData.quote[0] == 0xFFFF)
+ if (gSaveBlock1Ptr->gabbyAndTyData.quote[0] == EC_EMPTY_WORD)
{
return FALSE;
}
@@ -3299,14 +3299,11 @@ void TV_FanClubLetter_RandomWordToStringVar3(TVShow *show)
while (TRUE)
{
if (i == 6)
- {
i = 0;
- }
- if (show->fanclubLetter.words[i] != 0xFFFF)
- {
+
+ if (show->fanclubLetter.words[i] != EC_EMPTY_WORD)
break;
- }
- i ++;
+ i++;
}
CopyEasyChatWord(gStringVar3, show->fanclubLetter.words[i]);
}