Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_1_background_leaves_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var offset = random_range(1, 30)
4
instance_create_depth(choose((battle_box.bbox_left - offset), (battle_box.bbox_right + offset)), random_range((battle_box.bbox_top + 15), (battle_box.bbox_bottom - 15)), -100, obj_battle_enemy_attack_ceroba_petal_bg)
5
alarm[0] = spawn_rate
alarm[0]

if live_call() return global.live_result; var offset = random_range(1, 30) instance_create_depth(choose((battle_box.bbox_left - offset), (battle_box.bbox_right + offset)), random_range((battle_box.bbox_top + 15), (battle_box.bbox_bottom - 15)), -100, obj_battle_enemy_attack_ceroba_petal_bg) alarm[0] = spawn_rate if (obj_battle_enemy_attack_ceroba_petal_pile.vspeed == 0) obj_battle_enemy_attack_ceroba_petal_pile.vspeed = (-((90 / attack_length)))
6
if (obj_battle_enemy_attack_ceroba_petal_pile.vspeed == 0)
7
    obj_battle_enemy_attack_ceroba_petal_pile.vspeed = (-((90 / attack_length)))