1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
SafariZone_Southeast_MapScripts:: @ 8160036
map_script MAP_SCRIPT_ON_TRANSITION, SafariZone_Southeast_MapScript1_160073
map_script MAP_SCRIPT_ON_FRAME_TABLE, SafariZone_Southeast_MapScript2_160041
.byte 0
SafariZone_Southeast_MapScript2_160041:: @ 8160041
map_script_2 VAR_SAFARI_ZONE_STATE, 2, SafariZone_Southeast_EventScript_16004B
.2byte 0
SafariZone_Southeast_EventScript_16004B:: @ 816004B
lockall
setvar VAR_TEMP_1, 0
applymovement OBJ_EVENT_ID_PLAYER, SafariZone_Southeast_Movement_160087
waitmovement 0
applymovement 1, SafariZone_Southeast_Movement_160089
waitmovement 0
setobjectxyperm 1, 32, 34
setvar VAR_SAFARI_ZONE_STATE, 0
releaseall
end
SafariZone_Southeast_MapScript1_160073:: @ 8160073
compare VAR_SAFARI_ZONE_STATE, 2
call_if_eq SafariZone_Southeast_EventScript_16007F
end
SafariZone_Southeast_EventScript_16007F:: @ 816007F
setobjectxyperm 1, 31, 34
return
SafariZone_Southeast_Movement_160087:: @ 8160087
walk_down
step_end
SafariZone_Southeast_Movement_160089:: @ 8160089
walk_right
walk_in_place_fastest_down
step_end
SafariZone_Southeast_EventScript_16008C:: @ 816008C
msgbox SafariZone_Southeast_Text_1C3B71, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_160095:: @ 8160095
msgbox SafariZone_Southeast_Text_1C3BBD, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_16009E:: @ 816009E
msgbox SafariZone_Southeast_Text_1C3DCE, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
lock
faceplayer
compare VAR_TEMP_1, 0
goto_if_eq SafariZone_Southeast_EventScript_1600D1
msgbox SafariZone_Southeast_Text_1C3A56, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SafariZone_Southeast_EventScript_1600E0
msgbox SafariZone_Southeast_Text_1C3A9C, MSGBOX_DEFAULT
release
end
SafariZone_Southeast_EventScript_1600D1:: @ 81600D1
setvar VAR_TEMP_1, 1
msgbox SafariZone_Southeast_Text_1C3B2D, MSGBOX_DEFAULT
release
end
SafariZone_Southeast_EventScript_1600E0:: @ 81600E0
msgbox SafariZone_Southeast_Text_1C3ACA, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case 2, SafariZone_Southeast_EventScript_160105
case 4, SafariZone_Southeast_EventScript_16011F
end
SafariZone_Southeast_EventScript_160105:: @ 8160105
applymovement 1, SafariZone_Southeast_Movement_160150
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, SafariZone_Southeast_Movement_16014B
waitmovement 0
goto SafariZone_Southeast_EventScript_160139
end
SafariZone_Southeast_EventScript_16011F:: @ 816011F
applymovement 1, SafariZone_Southeast_Movement_160153
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, SafariZone_Southeast_Movement_16014D
waitmovement 0
goto SafariZone_Southeast_EventScript_160139
end
SafariZone_Southeast_EventScript_160139:: @ 8160139
setvar VAR_SAFARI_ZONE_STATE, 1
special ExitSafariMode
warpdoor MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5
waitstate
end
SafariZone_Southeast_Movement_16014B:: @ 816014B
walk_up
step_end
SafariZone_Southeast_Movement_16014D:: @ 816014D
walk_right
walk_in_place_fastest_up
step_end
SafariZone_Southeast_Movement_160150:: @ 8160150
walk_left
walk_in_place_fastest_right
step_end
SafariZone_Southeast_Movement_160153:: @ 8160153
walk_down
walk_in_place_fastest_up
step_end
|