diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-24 14:12:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-24 14:12:14 -0600 |
commit | b827bd9a5a44e17fa9fced591465fc64a619a134 (patch) | |
tree | 473525953b1ac35be06b26cd2e6926fb7b0278cb /src/script_pokemon_util_80C4BF0.c | |
parent | 30c77aa4ca5502b07a9ccdf2012a7da265e8bffa (diff) | |
parent | 2c4d972f7c5a79ca94dca599b6e7b9e2c769cf70 (diff) |
Merge pull request #500 from huderlem/vars
Use constants for vars
Diffstat (limited to 'src/script_pokemon_util_80C4BF0.c')
-rw-r--r-- | src/script_pokemon_util_80C4BF0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script_pokemon_util_80C4BF0.c b/src/script_pokemon_util_80C4BF0.c index 0f409bfe1..fc94b1b01 100644 --- a/src/script_pokemon_util_80C4BF0.c +++ b/src/script_pokemon_util_80C4BF0.c @@ -249,10 +249,10 @@ void ShowContestWinner(void) void sub_80C4F70(void) { - VarSet(0x4010, gContestMons[0].trainerGfxId); - VarSet(0x4011, gContestMons[1].trainerGfxId); - VarSet(0x4012, gContestMons[2].trainerGfxId); - VarSet(0x4013, gContestMons[3].trainerGfxId); + VarSet(VAR_OBJ_GFX_ID_0, gContestMons[0].trainerGfxId); + VarSet(VAR_OBJ_GFX_ID_1, gContestMons[1].trainerGfxId); + VarSet(VAR_OBJ_GFX_ID_2, gContestMons[2].trainerGfxId); + VarSet(VAR_OBJ_GFX_ID_3, gContestMons[3].trainerGfxId); } bool8 GiveMonArtistRibbon(void) |