Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_incense_turtle_screen_flash_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(spr_whitepx_10, 0, camerax(), cameray(), 99, 99, 0, c_white, image_alpha);
2
if (con == 0)
3
{
4
    image_alpha += 0.05;
5
    if (image_alpha == 1.1)
6
        con = 1;
7
}
8
if (con == 1)
9
{
10
    with (obj_turtle_toriel_fire)
11
        instance_destroy();
12
    image_alpha -= 0.02;
13
    if (image_alpha < 0)
14
        instance_destroy();
15
}