1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (ds_map_find_value(event_data, "event_type") == "sprite event") |
4 |
{ |
5 |
switch ds_map_find_value(event_data, "message") |
6 |
{ |
7 |
case "ceroba_bullet_launch": |
8 |
var modif = obj_ceroba_body_pacifist_phase_2.image_xscale |
9 |
instance_create_depth((obj_ceroba_body_pacifist_phase_2.x + 165 * modif), (obj_ceroba_body_pacifist_phase_2.y - 238), -999, obj_battle_ceroba_special_attack_red_bullet) |
10 |
audio_play_sound(snd_cinematiccut, 1, 0) |
11 |
break |
12 |
case "ceroba_special_attack_warning": |
13 |
var battle_box = obj_dialogue_box_battle_transformation_any |
14 |
instance_create_depth((battle_box.bbox_left + 48), (battle_box.bbox_bottom + 20), -100, obj_ceroba_attack_fire_pillar_top_special) |
15 |
instance_create_depth((battle_box.bbox_right - 48), (battle_box.bbox_bottom + 20), -100, obj_ceroba_attack_fire_pillar_top_special) |
16 |
break |
17 |
case "ceroba_special_attack_impact": |
18 |
audio_play_sound(snd_undertale_explosion, 1, 0) |
19 |
scr_screenshake_battlescr_screenshake_battlefunction scr_screenshake_battle() //gml_Script_scr_screenshake_battle
{
instance_destroy(obj_screenshake_battle)
var screenshake = instance_create(0, 0, obj_screenshake_battle)
battle_screenshake_duration = argument[0]
battle_screenshake_intensity = argument[1]
battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration
} (6, 2) |
20 |
instance_destroy(obj_ceroba_pillar_warning_special) |
21 |
break |
22 |
} |
23 |
|
24 |
} |