summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util_80C4BF0.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-01-01 19:03:47 -0800
committerGitHub <noreply@github.com>2018-01-01 19:03:47 -0800
commit397f32f29dbcd8fb6ad47afe5ba1ee354ca2b5c7 (patch)
treeb4c05276d2e5d65f5bf7cf55a054947c92235f8e /src/script_pokemon_util_80C4BF0.c
parent79a9ff94719b5397647ddf11efc1d3dc1d388e1d (diff)
parent664b42470fb6c590dd2bd8b02707a790feda23fe (diff)
Merge pull request #503 from huderlem/specials
Label a bunch of specials
Diffstat (limited to 'src/script_pokemon_util_80C4BF0.c')
-rw-r--r--src/script_pokemon_util_80C4BF0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script_pokemon_util_80C4BF0.c b/src/script_pokemon_util_80C4BF0.c
index fc94b1b01..f397e5ebb 100644
--- a/src/script_pokemon_util_80C4BF0.c
+++ b/src/script_pokemon_util_80C4BF0.c
@@ -53,11 +53,11 @@ extern u8 gContestFinalStandings[];
extern s16 gUnknown_02038670[];
extern s16 gUnknown_02038678[];
-void sub_80C4BF0(void)
+void SetContestTrainerGfxIds(void)
{
- gSaveBlock1.vars[0x10] = gContestMons[0].trainerGfxId;
- gSaveBlock1.vars[0x11] = gContestMons[1].trainerGfxId;
- gSaveBlock1.vars[0x12] = gContestMons[2].trainerGfxId;
+ gSaveBlock1.vars[VAR_OBJ_GFX_ID_0 - VARS_START] = gContestMons[0].trainerGfxId;
+ gSaveBlock1.vars[VAR_OBJ_GFX_ID_1 - VARS_START] = gContestMons[1].trainerGfxId;
+ gSaveBlock1.vars[VAR_OBJ_GFX_ID_2 - VARS_START] = gContestMons[2].trainerGfxId;
}
void sub_80C4C28(void)