Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_guardener_launcher_destroyable_fadein_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_alpha += 0.05
4
if (image_alpha >= 1)
5
{
6
    instance_create_depth(x, y, (obj_heart_battle_fighting_parent.depth - 2), obj_battle_enemy_attack_guardener_launcher_destroyable)
7
    instance_destroy()
8
}
9
x = xstart + x_diff * (1 - image_alpha)