Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_garbage_cans_duo_generator_Alarm_1

(view raw script w/o annotations or w/e)
1
var box = obj_dialogue_box_battle_transformation_any
2
if (excluded_number != 1)
3
    instance_create_depth((box.bbox_left - 20), (box.bbox_top + 20), (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_slippery_floor_bucket)
4
if (excluded_number != 2)
5
    instance_create_depth((box.bbox_right + 20), box.y, (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_slippery_floor_bucket)
6
if (excluded_number != 3)
7
    instance_create_depth((box.bbox_left - 20), (box.bbox_bottom - 20), (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_slippery_floor_bucket)
8
alarm[0] = attack_interval
alarm[0]

var 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