summaryrefslogtreecommitdiff
path: root/src/contest.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2020-02-12 18:34:19 -0600
committerGitHub <noreply@github.com>2020-02-12 18:34:19 -0600
commit204c431993dad29661a9ff47326787cd0cf381e6 (patch)
treebda0c76fa20f0cc9e679985d8f7286ad95dd38c4 /src/contest.c
parent66c6b7a38b2a071ce7029978dd0d02fe6ec05952 (diff)
parent6b966d20e5d3866117fc9f1c0616654f2dfc415e (diff)
Merge pull request #910 from GriffinRichards/fix-eventobj
Standardize Object Event naming
Diffstat (limited to 'src/contest.c')
-rw-r--r--src/contest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contest.c b/src/contest.c
index 66dbdb6f1..58628e35d 100644
--- a/src/contest.c
+++ b/src/contest.c
@@ -2615,9 +2615,9 @@ void sub_80DA8C8(u8 partyIndex)
}
memcpy(gContestMons[gContestPlayerMonIndex].trainerName, name, 8);
if (gSaveBlock2Ptr->playerGender == MALE)
- gContestMons[gContestPlayerMonIndex].trainerGfxId = EVENT_OBJ_GFX_LINK_BRENDAN;
+ gContestMons[gContestPlayerMonIndex].trainerGfxId = OBJ_EVENT_GFX_LINK_BRENDAN;
else
- gContestMons[gContestPlayerMonIndex].trainerGfxId = EVENT_OBJ_GFX_LINK_MAY;
+ gContestMons[gContestPlayerMonIndex].trainerGfxId = OBJ_EVENT_GFX_LINK_MAY;
gContestMons[gContestPlayerMonIndex].aiChecks = 0;
gContestMons[gContestPlayerMonIndex].unk2C[0] = 0;
gContestMons[gContestPlayerMonIndex].species = GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES);