Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_garbage_cans_duo_generator_Alarm_0

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

var box = obj_dialogue_box_battle_transformation_any if (excluded_number != 1) 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) if (excluded_number != 2) instance_create_depth((box.bbox_right + 20), box.y, (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_slippery_floor_bucket) if (excluded_number != 3) 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) alarm[0] = attack_interval