summaryrefslogtreecommitdiff
path: root/asm/contest_ai.s
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
commit0f116854b2408ea7750e9c3f8da4d4ea2a3e0d38 (patch)
tree38bb9b6d56ea6c60be2087e9ff4e76b82c6a8d1b /asm/contest_ai.s
parent272cd213391b5ce87cb2aeac263b3eedb0f19a07 (diff)
parent85a8e5f1ded5a0a2354916617dd0b82091a42ee0 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'asm/contest_ai.s')
-rw-r--r--asm/contest_ai.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/contest_ai.s b/asm/contest_ai.s
index d2061c84e..5cf1e0b62 100644
--- a/asm/contest_ai.s
+++ b/asm/contest_ai.s
@@ -1315,7 +1315,7 @@ _0812923C:
thumb_func_start ContestAICmd_get_contest_type
ContestAICmd_get_contest_type: @ 8129244
ldr r1, _08129258 @ =gSharedMem + 0x192E4
- ldr r0, _0812925C @ =gScriptContestCategory
+ ldr r0, _0812925C @ =gSpecialVar_ContestCategory
ldrh r0, [r0]
strh r0, [r1, 0x18]
ldr r1, _08129260 @ =gAIScriptPtr
@@ -1325,7 +1325,7 @@ ContestAICmd_get_contest_type: @ 8129244
bx lr
.align 2, 0
_08129258: .4byte gSharedMem + 0x192E4
-_0812925C: .4byte gScriptContestCategory
+_0812925C: .4byte gSpecialVar_ContestCategory
_08129260: .4byte gAIScriptPtr
thumb_func_end ContestAICmd_get_contest_type