Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_diamond_Step_0

(view raw script w/o annotations or w/e)
1
if place_meeting(x, y, obj_heart_battle_fighting_parent)
2
{
3
    if (image_index == 7)
4
        instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_ceroba_white_soul)
5
}
6
if (fade_out == true)
7
{
8
    image_alpha -= 0.15
9
    if (image_alpha < 0)
10
        instance_destroy()
11
}