Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_tenna_enemy_Draw_0

(view raw script w/o annotations or w/e)
1
scr_84_set_draw_font
scr_84_set_draw_font

function
scr_84_set_draw_font(arg0)
{ global.chemg_font = arg0; draw_set_font(
scr_84_get_font(arg0));
}
("main");
2
draw_set_color(c_white);
3
if (state == 3 && hurttimer >= 0)
4
{
5
    tenna_actor.x = -1000;
6
    tenna_actor.y = -1000;
7
    draw_sprite_ext(hurtsprite, 0, camerax() + 525 + shakex + hurtspriteoffx, cameray() + 255 + hurtspriteoffy, 2, 2, 0, image_blend, 1);
8
}
9
if (state == 0)
10
{
11
    fsiner += 1;
12
    siner += 0.16666666666666666;
13
    thissprite = idlesprite;
14
    if (global.mercymod[myself] >= global.mercymax[myself])
15
        thissprite = sparedsprite;
16
}
17
if (becomeflash == 0)
18
{
19
    flash = 0;
20
    if (minigametransition_con == 0)
21
        tenna_actor.flash = flash;
22
}
23
becomeflash = 0;