summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util_80F99CC.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-04-08 14:03:53 -0400
committerhuderlem <huderlem@gmail.com>2019-04-08 17:33:35 -0500
commit0c690920ab161e32375947ab07667ed6463468cf (patch)
tree7e8d12ec8586e7edb0fc54101a7807a1794390af /src/script_pokemon_util_80F99CC.c
parent9ee4f4d65ab18c98660311c85d2553d28b90fb05 (diff)
through sub_80C4A28
Diffstat (limited to 'src/script_pokemon_util_80F99CC.c')
-rw-r--r--src/script_pokemon_util_80F99CC.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script_pokemon_util_80F99CC.c b/src/script_pokemon_util_80F99CC.c
index e7bf74a7f..ebdcbf5fd 100644
--- a/src/script_pokemon_util_80F99CC.c
+++ b/src/script_pokemon_util_80F99CC.c
@@ -24,7 +24,7 @@ extern const u8 gPPUpReadMasks[];
extern u8 gPlayerPartyCount;
extern u16 gSpecialVar_0x8004;
extern u16 gSpecialVar_0x8005;
-extern u8 gUnknown_02038694;
+extern u8 gContestMonPartyIndex;
extern u16 gSpecialVar_Result;
extern void (*gFieldCallback)(void);
@@ -162,13 +162,13 @@ void HandleSelectPartyMenu(u8 var)
{
case A_BUTTON:
PlaySE(SE_SELECT);
- gUnknown_02038694 = sub_806CA38(var);
- gSpecialVar_0x8004 = gUnknown_02038694;
+ gContestMonPartyIndex = sub_806CA38(var);
+ gSpecialVar_0x8004 = gContestMonPartyIndex;
sub_8123138(var);
break;
case B_BUTTON:
PlaySE(SE_SELECT);
- gUnknown_02038694 = 0xFF;
+ gContestMonPartyIndex = 0xFF;
gSpecialVar_0x8004 = 0xFF;
sub_8123138(var);
break;