1 |
if live_call() |
2 |
return global.live_result; |
3 |
excluded_number = 0 |
4 |
attack_timer = room_speed * 9 |
5 |
alarm[2] = attack_timer |
6 |
var box = obj_dialogue_box_battle_transformation_any |
7 |
instance_create_depth((box.x - 120), (box.bbox_top - 60), (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_garbage_can) |
8 |
obj_battle_enemy_attack_jandroid_garbage_can.spawn_timer_max = 15 |
9 |
attack_interval = 50 |
10 |
alarm[0] = 45gml_Object_obj_battle_enemy_attack_jandroid_garbage_cans_duo_generator_Alarm_0.gmlvar box = obj_dialogue_box_battle_transformation_any
excluded_number = irandom_range(1, 3)
if (excluded_number != 1)
instance_create_depth((box.bbox_left + 10), (box.bbox_top + 24), (obj_heart_battle_fighting_parent.depth - 1), obj_attack_warning_exclamation_mark)
if (excluded_number != 2)
instance_create_depth((box.bbox_right - 10), box.y, (obj_heart_battle_fighting_parent.depth - 1), obj_attack_warning_exclamation_mark)
if (excluded_number != 3)
instance_create_depth((box.bbox_left + 10), (box.bbox_bottom - 24), (obj_heart_battle_fighting_parent.depth - 1), obj_attack_warning_exclamation_mark)
alarm[1] = 15 |
11 |
scr_enable_battle_box_surface() |
12 |
instance_create((obj_dialogue_box_battle_transformation_any.bbox_left - 25), obj_dialogue_box_battle_transformation_any.y, obj_battle_enemy_attack_jandroid_slippery_floor_warning) |