summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util_80C4BF0.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-15 20:41:55 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-15 20:41:55 -0600
commit5d923c4d5f3d0786715663b3ad83bc9f3e778164 (patch)
tree99e35c489871918c95493c74ae753a9e3eb60357 /src/script_pokemon_util_80C4BF0.c
parented152b1566fa5c39ee72ca190c49fbfe30708036 (diff)
import some battle_4.c code from emerald and get atk23_getexp matching
Diffstat (limited to 'src/script_pokemon_util_80C4BF0.c')
-rw-r--r--src/script_pokemon_util_80C4BF0.c4
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;
}