summaryrefslogtreecommitdiff
path: root/src/mauville_old_man.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mauville_old_man.c')
-rw-r--r--src/mauville_old_man.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c
index c97ee94f3..cdcde9b06 100644
--- a/src/mauville_old_man.c
+++ b/src/mauville_old_man.c
@@ -250,7 +250,7 @@ void ScrSpecial_HipsterTeachWord(void)
{
u16 phrase = GetNewHipsterPhraseToTeach();
- if (phrase == 0xFFFF)
+ if (phrase == EC_EMPTY_WORD)
{
gSpecialVar_Result = FALSE;
}
@@ -283,7 +283,7 @@ void ScrSpecial_GenerateGiddyLine(void)
if (giddy->taleCounter == 0)
InitGiddyTaleList();
- if (giddy->randomWords[giddy->taleCounter] != 0xFFFF) // is not the last element of the array?
+ if (giddy->randomWords[giddy->taleCounter] != EC_EMPTY_WORD)
{
u8 *stringPtr;
u32 adjective = Random();
@@ -316,7 +316,7 @@ static void InitGiddyTaleList(void)
{EC_GROUP_HOBBIES, 0},
{EC_GROUP_MOVE_1, 0},
{EC_GROUP_MOVE_2, 0},
- {EC_GROUP_POKEMON_2, 0}
+ {EC_GROUP_POKEMON_NATIONAL, 0}
};
u16 i;
u16 r10;
@@ -348,7 +348,7 @@ static void InitGiddyTaleList(void)
r1 = Random() % 10;
if (r1 < 3 && r7 < 8)
{
- giddy->randomWords[i] = 0xFFFF;
+ giddy->randomWords[i] = EC_EMPTY_WORD;
r7++;
}
else