summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SafariZone_Southeast.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/SafariZone_Southeast.inc')
-rw-r--r--data/scripts/maps/SafariZone_Southeast.inc44
1 files changed, 22 insertions, 22 deletions
diff --git a/data/scripts/maps/SafariZone_Southeast.inc b/data/scripts/maps/SafariZone_Southeast.inc
index 196efbb35..06a400810 100644
--- a/data/scripts/maps/SafariZone_Southeast.inc
+++ b/data/scripts/maps/SafariZone_Southeast.inc
@@ -10,22 +10,22 @@ SafariZone_Southeast_MapScript2_160041:: @ 8160041
SafariZone_Southeast_EventScript_16004B:: @ 816004B
lockall
setvar 0x4001, 0
- move 255, SafariZone_Southeast_Movement_160087
- waitmove 0
- move 1, SafariZone_Southeast_Movement_160089
- waitmove 0
- movespriteperm 1, 32, 34
+ applymovement 255, SafariZone_Southeast_Movement_160087
+ waitmovement 0
+ applymovement 1, SafariZone_Southeast_Movement_160089
+ waitmovement 0
+ setobjectxyperm 1, 32, 34
setvar 0x40a4, 0
releaseall
end
SafariZone_Southeast_MapScript1_160073:: @ 8160073
compare 0x40a4, 2
- callif 1, SafariZone_Southeast_EventScript_16007F
+ call_if 1, SafariZone_Southeast_EventScript_16007F
end
SafariZone_Southeast_EventScript_16007F:: @ 816007F
- movespriteperm 1, 31, 34
+ setobjectxyperm 1, 31, 34
return
SafariZone_Southeast_Movement_160087:: @ 8160087
@@ -53,10 +53,10 @@ SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
lock
faceplayer
compare 0x4001, 0
- jumpeq SafariZone_Southeast_EventScript_1600D1
+ goto_if_eq SafariZone_Southeast_EventScript_1600D1
msgbox SafariZone_Southeast_Text_1C3A56, 5
compare RESULT, 1
- jumpeq SafariZone_Southeast_EventScript_1600E0
+ goto_if_eq SafariZone_Southeast_EventScript_1600E0
msgbox SafariZone_Southeast_Text_1C3A9C, 4
release
end
@@ -69,32 +69,32 @@ SafariZone_Southeast_EventScript_1600D1:: @ 81600D1
SafariZone_Southeast_EventScript_1600E0:: @ 81600E0
msgbox SafariZone_Southeast_Text_1C3ACA, 4
- closebutton
+ closemessage
switch FACING
case 2, SafariZone_Southeast_EventScript_160105
case 4, SafariZone_Southeast_EventScript_16011F
end
SafariZone_Southeast_EventScript_160105:: @ 8160105
- move 1, SafariZone_Southeast_Movement_160150
- waitmove 0
- move 255, SafariZone_Southeast_Movement_16014B
- waitmove 0
- jump SafariZone_Southeast_EventScript_160139
+ applymovement 1, SafariZone_Southeast_Movement_160150
+ waitmovement 0
+ applymovement 255, SafariZone_Southeast_Movement_16014B
+ waitmovement 0
+ goto SafariZone_Southeast_EventScript_160139
end
SafariZone_Southeast_EventScript_16011F:: @ 816011F
- move 1, SafariZone_Southeast_Movement_160153
- waitmove 0
- move 255, SafariZone_Southeast_Movement_16014D
- waitmove 0
- jump SafariZone_Southeast_EventScript_160139
+ applymovement 1, SafariZone_Southeast_Movement_160153
+ waitmovement 0
+ applymovement 255, SafariZone_Southeast_Movement_16014D
+ waitmovement 0
+ goto SafariZone_Southeast_EventScript_160139
end
SafariZone_Southeast_EventScript_160139:: @ 8160139
setvar 0x40a4, 1
- special 206
- warpwalk Route121_SafariZoneEntrance, 255, 2, 5
+ special ExitSafariMode
+ warpdoor Route121_SafariZoneEntrance, 255, 2, 5
waitstate
end