@@ -214,6 +214,130 @@ unsafe extern "C" fn escape_air_slide_game(fighter: &mut L2CAgentBase) {
214
214
}
215
215
}
216
216
217
+ unsafe extern "C" fn mariod_jumpback_sound ( fighter : & mut L2CAgentBase ) {
218
+ let lua_state = fighter. lua_state_agent ;
219
+ let boma = fighter. boma ( ) ;
220
+ frame ( lua_state, 3.0 ) ;
221
+ if is_excute ( fighter) {
222
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_passive" ) ) ;
223
+ }
224
+ }
225
+
226
+ unsafe extern "C" fn mariod_jumpfront_sound ( fighter : & mut L2CAgentBase ) {
227
+ let lua_state = fighter. lua_state_agent ;
228
+ let boma = fighter. boma ( ) ;
229
+ frame ( lua_state, 3.0 ) ;
230
+ if is_excute ( fighter) {
231
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_passive" ) ) ;
232
+ }
233
+ }
234
+
235
+ unsafe extern "C" fn mariod_jumpbackmini_sound ( fighter : & mut L2CAgentBase ) {
236
+ let lua_state = fighter. lua_state_agent ;
237
+ let boma = fighter. boma ( ) ;
238
+ frame ( lua_state, 3.0 ) ;
239
+ if is_excute ( fighter) {
240
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_attack05" ) ) ;
241
+ }
242
+ }
243
+
244
+ unsafe extern "C" fn mariod_jumpfrontmini_sound ( fighter : & mut L2CAgentBase ) {
245
+ let lua_state = fighter. lua_state_agent ;
246
+ let boma = fighter. boma ( ) ;
247
+ frame ( lua_state, 3.0 ) ;
248
+ if is_excute ( fighter) {
249
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_attack05" ) ) ;
250
+ }
251
+ }
252
+
253
+ unsafe extern "C" fn mariod_jumpaerialback_sound ( fighter : & mut L2CAgentBase ) {
254
+ let lua_state = fighter. lua_state_agent ;
255
+ let boma = fighter. boma ( ) ;
256
+ frame ( lua_state, 2.0 ) ;
257
+ if is_excute ( fighter) {
258
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_007" ) ) ;
259
+ }
260
+ wait ( lua_state, 9.0 ) ;
261
+ if is_excute ( fighter) {
262
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
263
+ }
264
+ wait ( lua_state, 12.0 ) ;
265
+ if is_excute ( fighter) {
266
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
267
+ }
268
+ wait ( lua_state, 12.0 ) ;
269
+ if is_excute ( fighter) {
270
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
271
+ }
272
+ wait ( lua_state, 12.0 ) ;
273
+ if is_excute ( fighter) {
274
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_05" ) ) ;
275
+ }
276
+ wait ( lua_state, 12.0 ) ;
277
+ if is_excute ( fighter) {
278
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_05" ) ) ;
279
+ }
280
+ wait ( lua_state, 12.0 ) ;
281
+ if is_excute ( fighter) {
282
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_05" ) ) ;
283
+ }
284
+ }
285
+
286
+ unsafe extern "C" fn mariod_jumpaerialfront_sound ( fighter : & mut L2CAgentBase ) {
287
+ let lua_state = fighter. lua_state_agent ;
288
+ let boma = fighter. boma ( ) ;
289
+ frame ( lua_state, 2.0 ) ;
290
+ if is_excute ( fighter) {
291
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_007" ) ) ;
292
+ }
293
+ wait ( lua_state, 11.0 ) ;
294
+ if is_excute ( fighter) {
295
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
296
+ }
297
+ wait ( lua_state, 12.0 ) ;
298
+ if is_excute ( fighter) {
299
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
300
+ }
301
+ wait ( lua_state, 12.0 ) ;
302
+ if is_excute ( fighter) {
303
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
304
+ }
305
+ wait ( lua_state, 12.0 ) ;
306
+ if is_excute ( fighter) {
307
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_05" ) ) ;
308
+ }
309
+ }
310
+
311
+ unsafe extern "C" fn mariod_cliffjump2_sound ( fighter : & mut L2CAgentBase ) {
312
+ let lua_state = fighter. lua_state_agent ;
313
+ let boma = fighter. boma ( ) ;
314
+ frame ( lua_state, 1.0 ) ;
315
+ if is_excute ( fighter) {
316
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_passive" ) ) ;
317
+ }
318
+ frame ( lua_state, 18.0 ) ;
319
+ if is_excute ( fighter) {
320
+ PLAY_SE ( fighter, Hash40 :: new ( "se_common_swing_04" ) ) ;
321
+ }
322
+ }
323
+
324
+ unsafe extern "C" fn mariod_passivewalljump_sound ( fighter : & mut L2CAgentBase ) {
325
+ let lua_state = fighter. lua_state_agent ;
326
+ let boma = fighter. boma ( ) ;
327
+ if is_excute ( fighter) {
328
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_009" ) ) ;
329
+ }
330
+ }
331
+
332
+ unsafe extern "C" fn mariod_shootlegsjumpsquat_sound ( fighter : & mut L2CAgentBase ) {
333
+ let lua_state = fighter. lua_state_agent ;
334
+ let boma = fighter. boma ( ) ;
335
+ frame ( lua_state, 2.0 ) ;
336
+ if is_excute ( fighter) {
337
+ PLAY_SE ( fighter, Hash40 :: new ( "vc_mariod_passive" ) ) ;
338
+ }
339
+ }
340
+
217
341
pub fn install ( ) {
218
342
smashline:: Agent :: new ( "mariod" )
219
343
. acmd ( "sound_damageflyhi" , damageflyhi_sound)
@@ -226,6 +350,15 @@ pub fn install() {
226
350
. acmd ( "game_turndash" , mariod_turn_dash_game)
227
351
. acmd ( "game_escapeair" , escape_air_game)
228
352
. acmd ( "game_escapeairslide" , escape_air_slide_game)
353
+ . acmd ( "sound_jumpback" , mariod_jumpback_sound)
354
+ . acmd ( "sound_jumpfront" , mariod_jumpfront_sound)
355
+ . acmd ( "sound_jumpbackmini" , mariod_jumpbackmini_sound)
356
+ . acmd ( "sound_jumpfrontmini" , mariod_jumpfrontmini_sound)
357
+ . acmd ( "sound_jumpaerialback" , mariod_jumpaerialback_sound)
358
+ . acmd ( "sound_jumpaerialfront" , mariod_jumpaerialfront_sound)
359
+ . acmd ( "sound_cliffjump2" , mariod_cliffjump2_sound)
360
+ . acmd ( "sound_passivewalljump" , mariod_passivewalljump_sound)
361
+ . acmd ( "sound_shootlegsjumpsquat" , mariod_shootlegsjumpsquat_sound)
229
362
. install ( ) ;
230
363
smashline:: Agent :: new ( "mariod_drcapsule" )
231
364
. acmd ( "game_regular" , mariod_drcapsule_regular_game)
0 commit comments