Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_outro_target_Step_0

(view raw script w/o annotations or w/e)
1
if (!is_active)
2
    exit;
3
if (image_alpha < 1)
4
    image_alpha += 0.1;
5
if (target_radius_deg > 30)
6
{
7
    target_radius_deg -= 1;
8
}
9
else if (!instance_exists(obj_quote_battle_starlo_outro_3))
10
{
11
    var bubble = instance_create(440, 74, obj_quote_bubble_battle_yellow_2_reverse);
12
    instance_create(0, 0, obj_quote_battle_starlo_outro_3);
13
}
14
target_radius_current = dsin(target_radius_deg);
15
if (target_draw_alpha < 1)
16
    target_draw_alpha += 0.25;