Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_susiezilla_shadowguy_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self_offset(recoil, -height);
2
if (redflashtimer > 0 && state == UnknownEnum.Value_5)
3
{
4
    redflashtimer--;
5
    if (redflashtimer == 1 || redflashtimer == 2 || redflashtimer == 5 || redflashtimer == 6 || redflashtimer == 9 || redflashtimer == 10)
6
    {
7
        gpu_set_fog(1, c_red, 0, 0);
8
        draw_self_offset(recoil, -height);
9
        gpu_set_fog(0, c_red, 0, 0);
10
    }
11
}
12
13
enum UnknownEnum
14
{
15
    Value_5 = 5
16
}