diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/maps/hallucination_cliff.tmx | 80 | ||||
-rw-r--r-- | res/scripts/hallucination_cliff.lua | 107 |
2 files changed, 182 insertions, 5 deletions
diff --git a/res/maps/hallucination_cliff.tmx b/res/maps/hallucination_cliff.tmx index 0e09ecd..e7ed864 100644 --- a/res/maps/hallucination_cliff.tmx +++ b/res/maps/hallucination_cliff.tmx | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="48" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="18"> | 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="48" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="24"> |
3 | <properties> | 3 | <properties> |
4 | <property name="music" value="red_green_yellow_yellow"/> | 4 | <property name="music" value="red_green_yellow_yellow"/> |
5 | </properties> | 5 | </properties> |
@@ -108,6 +108,58 @@ | |||
108 | 1,1,1,1,1,1,1,1,14,15,1073742201,1073742194,7,7,3221225842,1073742201,14,15,14,1,1,14,15,1,1,1,1,1,1,1,1,1,1,14,15,1,1,14,15,1,1,14,15,1,1,1,1,1 | 108 | 1,1,1,1,1,1,1,1,14,15,1073742201,1073742194,7,7,3221225842,1073742201,14,15,14,1,1,14,15,1,1,1,1,1,1,1,1,1,1,14,15,1,1,14,15,1,1,14,15,1,1,1,1,1 |
109 | </data> | 109 | </data> |
110 | </layer> | 110 | </layer> |
111 | <layer id="3" name="Lower (ornamentation)" width="48" height="48"> | ||
112 | <data encoding="csv"> | ||
113 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
114 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
115 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
116 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
117 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
118 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
119 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
120 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
121 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
122 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
123 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
124 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
125 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
126 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
127 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
128 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
129 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
130 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,224,225,226,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
131 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,410,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
132 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
133 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
134 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
135 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
136 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
137 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
138 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
139 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
140 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
141 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
142 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
143 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
144 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
145 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
146 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
147 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
148 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
149 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
150 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
151 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
152 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
153 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
154 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
155 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
156 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
157 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
158 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
159 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | ||
160 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93 | ||
161 | </data> | ||
162 | </layer> | ||
111 | <objectgroup id="2" name="Objects"> | 163 | <objectgroup id="2" name="Objects"> |
112 | <object id="1" name="fromBottom" type="warp" x="208.333" y="752.667"> | 164 | <object id="1" name="fromBottom" type="warp" x="208.333" y="752.667"> |
113 | <point/> | 165 | <point/> |
@@ -176,12 +228,32 @@ | |||
176 | </properties> | 228 | </properties> |
177 | <point/> | 229 | <point/> |
178 | </object> | 230 | </object> |
179 | <object id="16" name="hinawa_second_position" type="warp" x="456" y="288"> | 231 | <object id="16" name="hinawa_second_position" type="warp" x="456" y="296"> |
180 | <point/> | 232 | <point/> |
181 | </object> | 233 | </object> |
182 | <object id="17" name="hinawa_offscreen_first" type="warp" x="432" y="456"> | 234 | <object id="17" name="hinawa_offscreen_first" type="warp" x="432" y="456"> |
183 | <point/> | 235 | <point/> |
184 | </object> | 236 | </object> |
237 | <object id="18" name="hinawa_mid_checkpoint" type="warp" x="384" y="296"> | ||
238 | <point/> | ||
239 | </object> | ||
240 | <object id="19" name="hinawa_off_cliff" type="warp" x="296" y="296"> | ||
241 | <point/> | ||
242 | </object> | ||
243 | <object id="20" name="kuma_watch_point" type="warp" x="456" y="282"> | ||
244 | <point/> | ||
245 | </object> | ||
246 | <object id="21" name="boney_watch_point" type="warp" x="456" y="312"> | ||
247 | <point/> | ||
248 | </object> | ||
249 | <object id="22" name="see_hinawa_second_event" type="trigger" x="448" y="336" width="16" height="16"> | ||
250 | <properties> | ||
251 | <property name="script" value="see_hinawa_second_event"/> | ||
252 | </properties> | ||
253 | </object> | ||
254 | <object id="23" name="second_hinawa_vantage" type="warp" x="456" y="330"> | ||
255 | <point/> | ||
256 | </object> | ||
185 | </objectgroup> | 257 | </objectgroup> |
186 | <layer id="1" name="Upper" width="48" height="48"> | 258 | <layer id="1" name="Upper" width="48" height="48"> |
187 | <properties> | 259 | <properties> |
@@ -205,8 +277,8 @@ | |||
205 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,276,230,232,229, | 277 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,276,230,232,229, |
206 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,403,404,405,406,407,2147484051,93,234,241,229,232, | 278 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,403,404,405,406,407,2147484051,93,234,241,229,232, |
207 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,408,409,229, | 279 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,408,409,229, |
208 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,224,225,226,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | 280 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, |
209 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,231,228,93,93,410,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | 281 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,231,228,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, |
210 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,231,228,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | 282 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,231,228,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, |
211 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,233,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | 283 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,233,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, |
212 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,234,93,93,93,93,93,93,411,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, | 284 | 93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,234,93,93,93,93,93,93,411,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, |
diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index d539e62..51fa433 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua | |||
@@ -203,7 +203,6 @@ function hallucination_cliff.see_hinawa_first_event() | |||
203 | WaitForPan() | 203 | WaitForPan() |
204 | Delay(2000) | 204 | Delay(2000) |
205 | 205 | ||
206 | MakeSpriteNotSolid("hinawa") | ||
207 | UnpauseSprite("hinawa") | 206 | UnpauseSprite("hinawa") |
208 | DirectSpriteToLocation("hinawa", "hinawa_offscreen_first", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY) | 207 | DirectSpriteToLocation("hinawa", "hinawa_offscreen_first", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY) |
209 | WaitForSpritePath("hinawa") | 208 | WaitForSpritePath("hinawa") |
@@ -220,3 +219,109 @@ function hallucination_cliff.see_hinawa_first_event() | |||
220 | 219 | ||
221 | HideCutsceneBars(CutsceneOptions.DO_NOT_CHANGE_ANIMATION) | 220 | HideCutsceneBars(CutsceneOptions.DO_NOT_CHANGE_ANIMATION) |
222 | end | 221 | end |
222 | |||
223 | function hallucination_cliff.see_hinawa_second_event() | ||
224 | -- only trigger this scene if the first half of the scene has occured and the | ||
225 | -- event hasn't been disabled. | ||
226 | if not (gamestate.hinawa_can_appear and gamestate.saw_hinawa_first_scene) then | ||
227 | return | ||
228 | end | ||
229 | |||
230 | -- do not trigger a second time. | ||
231 | if gamestate.saw_hinawa_second_scene then | ||
232 | return | ||
233 | end | ||
234 | |||
235 | gamestate.saw_hinawa_second_scene = true | ||
236 | |||
237 | -- automatically move lucas forward enough that he is no longer on the ladder. | ||
238 | DisablePlayerControl() | ||
239 | Halt("lucas") | ||
240 | DirectSpriteToLocation("lucas", "second_hinawa_vantage", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY) | ||
241 | WaitForSpritePath("lucas") | ||
242 | DisableBehaviour("lucas") | ||
243 | |||
244 | StartCutscene(CutsceneOptions.DO_NOT_CHANGE_ANIMATION) | ||
245 | Delay(1000) | ||
246 | |||
247 | -- we need to do this because a lot of pathfinding is going to fire off almost | ||
248 | -- at the same time, and while the paths the characters take should not | ||
249 | -- actually intersect, the pathfinding is done with only their starting | ||
250 | -- positions in mind. | ||
251 | MakeSpriteNotSolid("hinawa") | ||
252 | MakeSpriteNotSolid("lucas") | ||
253 | MakeSpriteNotSolid("kuma") | ||
254 | MakeSpriteNotSolid("duster") | ||
255 | MakeSpriteNotSolid("boney") | ||
256 | |||
257 | -- hinawa walks to the left, then turns to look at lucas. | ||
258 | UnpauseSprite("hinawa") | ||
259 | DirectSpriteToLocation("hinawa", "hinawa_mid_checkpoint", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY) | ||
260 | WaitForSpritePath("hinawa") | ||
261 | DisableBehaviour("hinawa") | ||
262 | Delay(1500) | ||
263 | |||
264 | SetDirection("hinawa", Direction.DOWN_LEFT) | ||
265 | Delay(100) | ||
266 | SetDirection("hinawa", Direction.DOWN) | ||
267 | Delay(100) | ||
268 | SetDirection("hinawa", Direction.DOWN_RIGHT) | ||
269 | Delay(2000) | ||
270 | SetDirection("hinawa", Direction.RIGHT) | ||
271 | Delay(250) | ||
272 | |||
273 | -- hinawa then walks off the cliff. | ||
274 | DirectSpriteToLocation("hinawa", "hinawa_off_cliff", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY | PathfindingOptions.MOONWALKING) | ||
275 | Delay(1000) | ||
276 | |||
277 | -- lucas walks after her, while the rest of the party gather a little behind | ||
278 | -- him. because of this, we need to break apart the party, since they are all | ||
279 | -- going to have independent walking patterns. | ||
280 | BreakUpParty("lucas") | ||
281 | UnpauseSprite("lucas") | ||
282 | SetMovementSpeed("lucas", 1) | ||
283 | DirectSpriteToLocation("lucas", "hinawa_mid_checkpoint") | ||
284 | Delay(1000) | ||
285 | |||
286 | UnpauseSprite("kuma") | ||
287 | UnpauseSprite("duster") | ||
288 | UnpauseSprite("boney") | ||
289 | SetMovementSpeed("kuma", 1) | ||
290 | SetMovementSpeed("duster", 1) | ||
291 | SetMovementSpeed("boney", 1) | ||
292 | DirectSpriteToLocation("kuma", "kuma_watch_point") | ||
293 | DirectSpriteToLocation("duster", "hinawa_second_position") | ||
294 | DirectSpriteToLocation("boney", "boney_watch_point") | ||
295 | |||
296 | WaitForSpritePath("hinawa") | ||
297 | DisableBehaviour("hinawa") | ||
298 | SetDirection("hinawa", Direction.RIGHT) | ||
299 | |||
300 | WaitForSpritePath("lucas") | ||
301 | DisableBehaviour("lucas") | ||
302 | SetDirection("lucas", Direction.LEFT) | ||
303 | SetAnimation("lucas", "frozen") | ||
304 | |||
305 | WaitForSpritePath("kuma") | ||
306 | DisableBehaviour("kuma") | ||
307 | SetDirection("kuma", Direction.LEFT) | ||
308 | SetAnimation("kuma", "frozen") | ||
309 | |||
310 | WaitForSpritePath("duster") | ||
311 | DisableBehaviour("duster") | ||
312 | SetDirection("duster", Direction.LEFT) | ||
313 | SetAnimation("duster", "frozen") | ||
314 | |||
315 | WaitForSpritePath("boney") | ||
316 | DisableBehaviour("boney") | ||
317 | SetDirection("boney", Direction.LEFT) | ||
318 | SetAnimation("boney", "frozen") | ||
319 | |||
320 | MakeSpriteSolid("hinawa") | ||
321 | MakeSpriteSolid("lucas") | ||
322 | MakeSpriteSolid("kuma") | ||
323 | MakeSpriteSolid("duster") | ||
324 | MakeSpriteSolid("boney") | ||
325 | |||
326 | -- TODO: rest of scene | ||
327 | end | ||