2017-11-10 02:21:31 +01:00
|
|
|
SafariZone_South_MapScripts:: @ 823D279
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SafariZone_South_OnTransition
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, SafariZone_South_MapScript2_23D284
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
SafariZone_South_MapScript2_23D284: @ 823D284
|
2019-02-22 10:18:43 +01:00
|
|
|
map_script_2 VAR_SAFARI_ZONE_STATE, 2, SafariZone_South_EventScript_23D28E
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D28E:: @ 823D28E
|
|
|
|
lockall
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SafariZone_South_Movement_23D2C5
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
applymovement 1, SafariZone_South_Movement_23D2C7
|
|
|
|
waitmovement 0
|
|
|
|
setobjectxyperm 1, 32, 34
|
2019-02-22 10:18:43 +01:00
|
|
|
setvar VAR_SAFARI_ZONE_STATE, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
SafariZone_South_OnTransition: @ 823D2B1
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_SAFARI_ZONE_STATE, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SafariZone_South_EventScript_23D2BD
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D2BD:: @ 823D2BD
|
|
|
|
setobjectxyperm 1, 31, 34
|
|
|
|
return
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D2C5: @ 823D2C5
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D2C7: @ 823D2C7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D2CA:: @ 823D2CA
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A52EF, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D2D3:: @ 823D2D3
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A533B, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D2DC:: @ 823D2DC
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A553E, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D2E5:: @ 823D2E5
|
|
|
|
lock
|
|
|
|
faceplayer
|
2019-01-02 22:12:43 +01:00
|
|
|
goto_if_unset FLAG_GOOD_LUCK_SAFARI_ZONE, SafariZone_South_EventScript_23D30D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A51D4, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SafariZone_South_EventScript_23D31A
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A521A, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D30D:: @ 823D30D
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_GOOD_LUCK_SAFARI_ZONE
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A52AB, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D31A:: @ 823D31A
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A5248, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
switch VAR_FACING
|
2019-10-07 06:14:10 +02:00
|
|
|
case DIR_NORTH, SafariZone_South_EventScript_23D33F
|
|
|
|
case DIR_EAST, SafariZone_South_EventScript_23D359
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D33F:: @ 823D33F
|
|
|
|
applymovement 1, SafariZone_South_Movement_23D38A
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SafariZone_South_Movement_23D385
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
goto SafariZone_South_EventScript_23D373
|
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D359:: @ 823D359
|
|
|
|
applymovement 1, SafariZone_South_Movement_23D38D
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SafariZone_South_Movement_23D387
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
goto SafariZone_South_EventScript_23D373
|
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D373:: @ 823D373
|
2019-02-22 10:18:43 +01:00
|
|
|
setvar VAR_SAFARI_ZONE_STATE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
special ExitSafariMode
|
2018-06-15 05:00:09 +02:00
|
|
|
warpdoor MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D385: @ 823D385
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D387: @ 823D387
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D38A: @ 823D38A
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_Movement_23D38D: @ 823D38D
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D390:: @ 823D390
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A57EE, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Southeast_EventScript_23D399:: @ 823D399
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Southeast_Text_2A582D, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_South_EventScript_23D3A2:: @ 823D3A2
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_South_Text_2A5887, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Southeast_EventScript_23D3AB:: @ 823D3AB
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Southeast_Text_2A58C6, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Southeast_EventScript_23D3B4:: @ 823D3B4
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Southeast_Text_2A58FD, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Southeast_EventScript_23D3BD:: @ 823D3BD
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Southeast_Text_2A5960, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Northeast_EventScript_23D3C6:: @ 823D3C6
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Northeast_Text_2A59A4, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Northeast_EventScript_23D3CF:: @ 823D3CF
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Northeast_Text_2A5A09, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SafariZone_Northeast_EventScript_23D3D8:: @ 823D3D8
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SafariZone_Northeast_Text_2A5A44, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|