summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util_80F99CC.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-11-10 12:21:05 -0800
committerGitHub <noreply@github.com>2017-11-10 12:21:05 -0800
commit9ed1584bab5d2c0676261d6419834cd9d4f7dc3c (patch)
treeb451de240205ca20b9ce52bccb33d0d67adef3d8 /src/script_pokemon_util_80F99CC.c
parent8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff)
parent0343a1bcd728d813a38fc3486535e962e681c094 (diff)
Merge pull request #454 from ProjectRevoTPP/ewram
ewram refactor
Diffstat (limited to 'src/script_pokemon_util_80F99CC.c')
-rw-r--r--src/script_pokemon_util_80F99CC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script_pokemon_util_80F99CC.c b/src/script_pokemon_util_80F99CC.c
index e303d5173..21ff220d2 100644
--- a/src/script_pokemon_util_80F99CC.c
+++ b/src/script_pokemon_util_80F99CC.c
@@ -17,6 +17,7 @@
#include "string_util.h"
#include "task.h"
#include "text.h"
+#include "ewram.h"
extern u8 gPlayerPartyCount;
extern u16 gSpecialVar_0x8004;
@@ -272,7 +273,7 @@ void HandleMoveTutorPartyMenu(u8 var)
void sub_80F9EEC(void)
{
sub_809D9F0(&gPlayerParty[0], gSpecialVar_0x8004, gPlayerPartyCount - 1, c2_exit_to_overworld_2_switch, 0);
- unk_2018000.unk8 = 3;
+ UNK_2018000_STRUCT.unk8 = 3;
gFieldCallback = sub_8080990;
}