/[projet1]/users/twilighte/Stormlord/SFX_Scripts.s
Defence Force logotype

Contents of /users/twilighte/Stormlord/SFX_Scripts.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 412 - (show annotations)
Thu Oct 7 20:50:23 2010 UTC (8 years, 3 months ago) by dbug
File size: 6589 byte(s)
Added Stormlord
1 ;SFX_Scripts.s for Stormlord
2 ;Channel A - Hero Sounds (Projectiles)
3 ;Channel B - Pickups (Fairy,Key,Umbrella,Honeypot)
4 ;Channel C - Creature sounds
5 ;Envelope and Noise shared
6
7 ; SFX_LEVELCOMPLETE 1
8 ; SFX_KILLED 2
9 ; SFX_GAMEOVER 3
10 ;
11 ; SFX_PASSFAIRY 4
12 ;
13 ; SFX_LAUNCHER 5
14 ; SFX_FAIRYTEAR 6
15 ; SFX_GRUB 7
16 ; SFX_SPIDER 8
17 ;
18 ;
19 ; SFX_COLLECTKEY 9
20 ; SFX_COLLECTFAIRY 10
21 ; SFX_COLLECTUMBRELLA 11
22 ; SFX_COLLECTSHOES 12
23 ; SFX_COLLECTTEAR 13
24 ;
25 ; SFX_OPENDOOR 14
26 ; SFX_USETRAMPOLENE 15
27 ;
28 ; SFX_FIREHEART 16
29 ; SFX_FIREORB 17
30 ; SFX_FIRESWORD 18
31
32 Script_Killed ;c#cf#
33 .byt SETCHANNEL_A_T
34
35 .byt SETNOTE
36 .byt 25
37 .byt SETVOLUME+15
38
39 .byt PLAY+11
40
41 .byt SETCHANNEL_B_T
42
43 .byt SETNOTE
44 .byt 24
45 .byt SETVOLUME+15
46
47 .byt PLAY+11
48
49 .byt SETCHANNEL_C_T
50 .byt 18
51 .byt SETVOLUME+15
52
53 .byt PLAY+21
54
55 .byt END_ABC_OFF
56
57 Script_FireOrb ;shhh sound slow rise/slow fall
58 .byt SETCHANNEL_A_N
59 .byt SETVOLUME+0
60 .byt SETCOUNTER+7
61 .(
62 lblLoop1
63 .byt ADJUSTVOLUME+1
64 .byt PLAY+2
65 .byt LOOPONCOUNTERRANGE
66 .byt lblLoop1-Script_FireOrb
67 .)
68 .byt END_A_OFF
69
70 Script_FireSword ;high pitch and noise fade
71 .byt SETCHANNEL_A_TN
72 .byt SETVOLUME+15
73 .byt SETNOTE
74 .byt 120
75 .(
76 lblLoop1
77 .byt ADJUSTVOLUME-1
78 .byt PLAY+2
79 .byt LOOPONVOLUMERANGE
80 .byt lblLoop1-Script_FireSword
81 .)
82 .byt END_A_OFF
83
84 Script_FireHeart ;High pitch fade with vibrato
85 .byt SETCHANNEL_A_T
86 .byt SETVOLUME+15
87 .(
88 lblLoop1
89 .byt SETNOTE
90 .byt 108
91 .byt PLAY+2
92 .byt SETNOTE
93 .byt 110
94 .byt PLAY+2
95 .byt SETNOTE
96 .byt 112
97 .byt PLAY+2
98 .byt ADJUSTVOLUME-1
99 .byt PLAY+2
100 .byt LOOPONVOLUMERANGE
101 .byt lblLoop1-Script_FireHeart
102 .)
103 .byt END_A_OFF
104
105 Script_CollectUmbrella
106 .byt SETCHANNEL_B_TN
107 .byt SETPITCH
108 .byt 40
109 .byt SFXJUMP
110 .byt <SwapItemRent,>SwapItemRent
111
112 Script_CollectHoney
113 .byt SETCHANNEL_B_TN
114 .byt SETPITCH
115 .byt 60
116 .byt SFXJUMP
117 .byt <SwapItemRent,>SwapItemRent
118
119 Script_CollectBoots
120 .byt SETCHANNEL_B_TN
121 .byt SETPITCH
122 .byt 80
123 .byt SFXJUMP
124 .byt <SwapItemRent,>SwapItemRent
125
126 Script_CollectKey
127 .byt SETCHANNEL_B_TN
128 .byt SETPITCH
129 .byt 20
130
131 SwapItemRent
132 .byt SETVOLUME+12
133 .byt SETNOISE
134 .byt PLAY+1
135 .byt SETCHANNEL_B_T
136 .(
137 lblLoop0
138 .byt ADJUSTVOLUME-2
139 .byt PLAY+1
140 .byt LOOPONVOLUMERANGE
141 .byt lblLoop0-Script_CollectKey
142 .)
143 .byt END_B_OFF
144
145 Script_Launcher
146 .byt SETCHANNEL_C_T
147 .byt SETVOLUME+12
148 .byt SETPITCH
149 .byt 255
150 .byt PLAY+6
151 .byt SETPITCH
152 .byt 245
153 .(
154 lblLoop1
155 .byt ADJUSTPITCH-2
156 .byt ADJUSTVOLUME-1
157 .byt PLAY+1
158 .byt LOOPONVOLUMERANGE
159 .byt lblLoop1-Script_Launcher
160 .)
161 .byt END_C_OFF
162
163 Script_FreeFairy
164 .byt SETCHANNEL_B_T
165 .byt SETVOLUME+8
166 .(
167 lblLoop1
168 .byt SETPITCH
169 .byt 28
170 .byt PLAY+1
171 .byt SETPITCH
172 .byt 25
173 .byt PLAY+1
174 .byt ADJUSTVOLUME-1
175 .byt LOOPONVOLUMERANGE
176 .byt lblLoop1-Script_FreeFairy
177 .)
178 .byt END_B_OFF
179
180 Script_RainDrop
181 .byt SETCHANNEL_B_TE
182 .byt SETPITCH
183 .byt 0
184 .byt TRIGGER_DESCEND
185 .byt SETENV
186 .byt 5,0
187 .byt PLAY+11
188 .byt END_B_OFF
189
190
191 Script_Spider ;Quietly Repeating rythmic Tone toggle
192 .byt SETCHANNEL_C_N
193 .byt SETCOUNTER ;0 so RND 1-8
194 .(
195 lblLoop1
196 .byt SETVOLUME+4
197 .byt PLAY+1
198 .byt SETVOLUME
199 .byt PLAY+1
200 .byt LOOPONCOUNTERRANGE
201 .byt lblLoop1-Script_Spider
202 .)
203 .byt END_C_OFF
204
205 Script_Trampolene ;Boing using 2 close channels(AB) with bend
206 .byt SETCHANNEL_A_T
207 .byt SETVOLUME+15
208 .byt SETPITCH
209 .byt 255
210 .byt SETCHANNEL_B_T
211 .byt SETVOLUME+15
212 .byt SETPITCH
213 .byt 240
214 .(
215 lblLoop1
216 .byt SETCHANNEL_A_T
217 .byt ADJUSTPITCH-4
218 .byt ADJUSTVOLUME-1
219 .byt SETCHANNEL_B_T
220 .byt ADJUSTPITCH-2
221 .byt ADJUSTVOLUME-1
222 .byt PLAY+1
223 .byt LOOPONVOLUMERANGE
224 .byt lblLoop1-Script_Trampolene
225 .)
226 .byt SETVOLUME
227 .byt SETCHANNEL_A_T
228 .byt SETVOLUME
229 .byt END_AB_OFF
230
231 Script_Door ;Door Creek
232 .byt SETCHANNEL_B_T
233 .byt SETVOLUME+12
234 .byt SETPITCH
235 .byt 255
236 .byt PLAY+3
237 .byt SETCOUNTER+10
238 .(
239 lblLoop1
240 .byt ADJUSTPITCH-10
241 ; .byt ADJUSTVOLUME-1
242 .byt PLAY+1
243 .byt LOOPONCOUNTERRANGE
244 .byt lblLoop1-Script_Door
245 .)
246 .byt END_B_OFF
247
248 Script_Footstep
249 .byt SETCHANNEL_A_N
250 .byt SETNOISE
251 .byt SETVOLUME+5
252 .byt PLAY+1
253 .byt END_A_OFF
254
255 Script_Bees
256
257 Script_Explosion
258 .byt SETCHANNEL_C_N
259 .byt SETNOISE+31
260 .byt SETVOLUME+15
261 .(
262 lblLoop1
263 .byt ADJUSTVOLUME-1
264 ; .byt ADJUSTNOISE-1
265 .byt PLAY+1
266 .byt LOOPONVOLUMERANGE
267 .byt lblLoop1-Script_Explosion
268 .)
269 .byt END_C_OFF
270
271 Script_GameOver
272 .byt SETCHANNEL_A_TE
273 .byt SETVOLUME+15
274
275 .byt SETENV
276 .byt 0,0
277 .byt TRIGGER_SAWTOOTH
278
279 .byt SETNOTE
280 .byt 8+12*5
281
282 .byt SETCHANNEL_B_TE
283 .byt SETVOLUME+15
284
285 .byt SETNOTE
286 .byt 3+12*5
287
288 .byt SETCHANNEL_C_TE
289 .byt SETVOLUME+15
290
291 .byt SETNOTE
292 .byt 11+12*4
293
294 .byt SETCOUNTER+50
295 .(
296 lblLoop1
297 .byt SETCHANNEL_A_TE
298 .byt ADJUSTPITCH+1
299 .byt SETCHANNEL_B_TE
300 .byt ADJUSTPITCH+1
301 .byt SETCHANNEL_C_TE
302 .byt ADJUSTPITCH+1
303 .byt PLAY+2
304 .byt LOOPONCOUNTERRANGE
305 .byt lblLoop1-Script_GameOver
306 .)
307 .byt PLAY+20
308 .byt END_ABC_OFF
309
310 Script_LevelComplete
311 ;Set up initial volume
312 .byt SETCHANNEL_A_T
313 .byt SETVOLUME+15
314 .(
315 lblLoop1
316 .byt SETNOTE
317 .byt 2+12*5
318
319 .byt PLAY+5
320
321 .byt SETNOTE
322 .byt 9+12*4
323
324 .byt PLAY+5
325
326 .byt SETNOTE
327 .byt 4+12*5
328
329 .byt PLAY+5
330
331 .byt SETNOTE
332 .byt 4+12*4
333
334 .byt PLAY+5
335
336 .byt ADJUSTVOLUME-2
337
338 .byt LOOPONVOLUMERANGE
339 .byt lblLoop1-Script_LevelComplete
340 .)
341 .byt END_A_OFF
342
343 Script_Starfield
344 .byt SETCHANNEL_A_T
345 .byt SETVOLUME+6
346 .byt SETNOTE
347 .byt 0
348 .byt SETCHANNEL_B_T
349 .byt SETVOLUME+6
350 .byt SETNOTE
351 .byt 0
352 .byt SETCHANNEL_C_T
353 .byt SETVOLUME+6
354 .byt SETNOTE
355 .byt 0
356 .(
357 lblLoop0
358 .byt SETCOUNTER+4
359 lblLoop1
360 .byt SETCHANNEL_A_T
361 .byt ADJUSTPITCH-1
362 .byt SETCHANNEL_B_T
363 .byt ADJUSTPITCH+1
364 .byt SETCHANNEL_C_T
365 .byt ADJUSTPITCH-1
366 .byt PLAY+1
367 .byt LOOPONCOUNTERRANGE
368 .byt lblLoop1-Script_Starfield
369 .byt SETCOUNTER+4
370 lblLoop2
371 .byt SETCHANNEL_A_T
372 .byt ADJUSTPITCH+1
373 .byt SETCHANNEL_B_T
374 .byt ADJUSTPITCH-1
375 .byt SETCHANNEL_C_T
376 .byt ADJUSTPITCH+1
377 .byt PLAY+1
378 .byt LOOPONCOUNTERRANGE
379 .byt lblLoop2-Script_Starfield
380
381 .byt SETCHANNEL_A_T
382 .byt ADJUSTVOLUME-1
383 .byt SETCHANNEL_B_T
384 .byt ADJUSTVOLUME-1
385 .byt SETCHANNEL_C_T
386 .byt ADJUSTVOLUME-1
387 .byt LOOPONVOLUMERANGE
388 .byt lblLoop0-Script_Starfield
389 .)
390 .byt SFXJUMP
391 .byt <Script_Starfield,>Script_Starfield
392

  ViewVC Help
Powered by ViewVC 1.1.26