Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_swordfall_Draw_0

(view raw script w/o annotations or w/e)
1
if (forcexfix && sprite_index == spr_roaringknight_attack_ol_center)
2
{
3
    _siner++;
4
    draw_sprite_ext(sprite_index, image_index, camerax() + 544, obj_knight_enemy.ystart + (cos(_siner / 8) * 8), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
5
}
6
else if (sprite_index == spr_roaringknight_sword_ol)
7
{
8
    draw_sprite_ext(sprite_index, image_index, camerax() + 544, y + (sin(global.time * 0.1) * dip) + 30, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
9
}
10
else
11
{
12
    draw_sprite_ext(sprite_index, image_index, x, y + (sin(global.time * 0.1) * dip), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
13
}