Deltarune script viewer

← back to main script listing

gml_Object_DEVICE_FRIEND_Step_0

(view raw script w/o annotations or w/e)
1
if ((x + sprite_width) > camerax())
2
    active = 1
3
if (active == 1)
4
{
5
    image_alpha *= 0.7
6
    if (image_alpha < 0.01)
7
        instance_destroy()
8
}