Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_take_aim_one_target_Step_0

(view raw script w/o annotations or w/e)
1
if (target_radius_deg > 0)
2
    target_radius_deg -= target_radius_dec
3
else
4
{
5
    instance_create(x, y, obj_battle_enemy_attack_starlo_take_aim_shot)
6
    instance_create(x, y, obj_battle_enemy_attack_starlo_take_aim_shot_collider)
7
    instance_destroy()
8
}
9
target_radius_current = dsin(target_radius_deg)
10
if (target_draw_alpha < 1)
11
    target_draw_alpha += 0.25