Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_falling_boulders_creator_Alarm_0

(view raw script w/o annotations or w/e)
1
var box = obj_dialogue_box_battle_transformation_any
2
instance_create(irandom_range((box.bbox_left + 10), (box.bbox_right - 10)), (box.bbox_top - 60), obj_battle_enemy_attack_falling_boulders_boulder)
3
boulder_spawned_count += 1
4
if (boulder_spawned_count <= 6)
5
    alarm[0] = 19
alarm[0]

var box = obj_dialogue_box_battle_transformation_any instance_create(irandom_range((box.bbox_left + 10), (box.bbox_right - 10)), (box.bbox_top - 60), obj_battle_enemy_attack_falling_boulders_boulder) boulder_spawned_count += 1 if (boulder_spawned_count <= 6) alarm[0] = 19 else alarm[1] = 45
6
else
7
    alarm[1] = 45
alarm[1]

instance_destroy()