summaryrefslogtreecommitdiff
path: root/data/scripts/maps/BattleTower_Outside.inc
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-10-01 14:51:04 -0500
committerGitHub <noreply@github.com>2017-10-01 14:51:04 -0500
commit9ba9993be18af162239838cfefe23f535e291ac0 (patch)
treebe25184d91d099fe769ba5eda55f4898f128ce9c /data/scripts/maps/BattleTower_Outside.inc
parent83efcc9c3d1e81b78c2cd9ceab3ac6420a5f4070 (diff)
parentab3c40fbf6dd7e32d63ef8146edea900d10681d6 (diff)
Merge pull request #436 from camthesaxman/script_cmd_renaming
Rename script commands
Diffstat (limited to 'data/scripts/maps/BattleTower_Outside.inc')
-rw-r--r--data/scripts/maps/BattleTower_Outside.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/data/scripts/maps/BattleTower_Outside.inc b/data/scripts/maps/BattleTower_Outside.inc
index 02c4e0c6f..95c5a9d77 100644
--- a/data/scripts/maps/BattleTower_Outside.inc
+++ b/data/scripts/maps/BattleTower_Outside.inc
@@ -14,14 +14,14 @@ BattleTower_Outside_EventScript_160168:: @ 8160168
msgbox BattleTower_Outside_Text_199D06, 4
checkitem ITEM_SS_TICKET, 1
compare RESULT, 0
- jumpeq BattleTower_Outside_EventScript_1601C6
+ goto_if_eq BattleTower_Outside_EventScript_1601C6
message BattleTower_Outside_Text_199D9D
- waittext
- jump BattleTower_Outside_EventScript_16018E
+ waitmessage
+ goto BattleTower_Outside_EventScript_16018E
end
BattleTower_Outside_EventScript_16018E:: @ 816018E
- multichoicedef 21, 6, 53, 2, 0
+ multichoicedefault 21, 6, 53, 2, 0
switch RESULT
case 0, BattleTower_Outside_EventScript_1601D0
case 1, BattleTower_Outside_EventScript_1601FB
@@ -37,7 +37,7 @@ BattleTower_Outside_EventScript_1601C6:: @ 81601C6
BattleTower_Outside_EventScript_1601D0:: @ 81601D0
msgbox BattleTower_Outside_Text_199DF2, 5
compare RESULT, 0
- jumpeq BattleTower_Outside_EventScript_160226
+ goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, 4
call BattleTower_Outside_EventScript_160232
warp SlateportCity_Harbor, 255, 8, 11
@@ -48,7 +48,7 @@ BattleTower_Outside_EventScript_1601D0:: @ 81601D0
BattleTower_Outside_EventScript_1601FB:: @ 81601FB
msgbox BattleTower_Outside_Text_199E0E, 5
compare RESULT, 0
- jumpeq BattleTower_Outside_EventScript_160226
+ goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, 4
call BattleTower_Outside_EventScript_160232
warp LilycoveCity_Harbor, 255, 8, 11
@@ -58,16 +58,16 @@ BattleTower_Outside_EventScript_1601FB:: @ 81601FB
BattleTower_Outside_EventScript_160226:: @ 8160226
message BattleTower_Outside_Text_199E7A
- waittext
- jump BattleTower_Outside_EventScript_16018E
+ waitmessage
+ goto BattleTower_Outside_EventScript_16018E
end
BattleTower_Outside_EventScript_160232:: @ 8160232
- closebutton
- move LAST_TALKED, BattleTower_Outside_Movement_1A0845
- waitmove 0
- pause 30
- spriteinvisible 5, 26, 4
+ closemessage
+ applymovement LAST_TALKED, BattleTower_Outside_Movement_1A0845
+ waitmovement 0
+ delay 30
+ hideobject 5, 26, 4
setvar 0x8004, 4
call BattleTower_Outside_EventScript_1A047C
return