Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_barrage_black_hole_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart_battle_fighting_parent))
2
{
3
    instance_destroy()
4
    return;
5
}
6
if (image_alpha < 1)
7
{
8
    image_alpha += image_alpha_inc
9
    image_alpha_inc *= 1.1
10
}
11
else
12
{
13
    image_alpha = 1
14
    instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_barrage_black_hole_dmg)
15
    instance_destroy()
16
    obj_battle_enemy_attack_ceroba_flower_barrage_black_hole_dmg.image_index = image_index
17
}