diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2018-01-15 21:39:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 21:39:07 -0600 |
commit | e1fd501e16deefe643c4572efaa07a59372616e4 (patch) | |
tree | 9993a2ad6e2c7609763f5649d5417aa4f784b9a3 /src/script_pokemon_util_80C4BF0.c | |
parent | ed152b1566fa5c39ee72ca190c49fbfe30708036 (diff) | |
parent | 15cffaecf34d93c99aa635586ad24fa9978a70a0 (diff) |
Merge pull request #540 from camthesaxman/emerald_port
port some fixed battle code from pokeemerald
Diffstat (limited to 'src/script_pokemon_util_80C4BF0.c')
-rw-r--r-- | src/script_pokemon_util_80C4BF0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_pokemon_util_80C4BF0.c b/src/script_pokemon_util_80C4BF0.c index b13006c13..f991297ab 100644 --- a/src/script_pokemon_util_80C4BF0.c +++ b/src/script_pokemon_util_80C4BF0.c @@ -238,8 +238,8 @@ void ShowContestWinner(void) if(gUnknown_0203856C) { sub_80AAF30(); - BATTLE_STRUCT->unk15DDF = 1; - BATTLE_STRUCT->unk15DDE = sub_80B2C4C(254, 0); + gBattleStruct->unk15DDF = 1; + gBattleStruct->unk15DDE = sub_80B2C4C(254, 0); Contest_SaveWinner(3); gUnknown_0203856C = 0; } |