Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shadow_mantle_enemy_Draw_0

(view raw script w/o annotations or w/e)
1
if (ohmygodimonfire == 1 || ohmygodimonfire == 2)
2
{
3
    specialcontimer++;
4
    flameframe = (specialcontimer / 4) % 2;
5
    if (specialcontimer == 1)
6
        snd_play_pitch(snd_wing, 0.7);
7
    if ((specialcontimer % 2) == 0 || specialcontimer >= 20)
8
        draw_sprite_ext(spr_board_imonfire, flameframe, (round(x / 2) * 2) - 16, (round(y / 2) * 2) - 32, 2, 2, 0, c_red, 1);
9
}
10
draw_sprite_ext(sprite_index, image_index, round(x / 2) * 2, round(y / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
11
if (telegraphtimer > 0)
12
{
13
    telegraphtimer--;
14
    if (telegraphtimer <= 60)
15
    {
16
    }
17
}
18
if (hurttimer > 0)
19
{
20
    hurttimer--;
21
    if ((hurttimer % 2) == 0)
22
    {
23
        d3d_set_fog(true, c_white, 0, 1);
24
        draw_self_board();
25
        d3d_set_fog(false, c_black, 0, 0);
26
    }
27
}