Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_actor_queenchair_Draw_0

(view raw script w/o annotations or w/e)
1
if (float == 1)
2
{
3
    floatsiner++;
4
    floaty = sin(floatsiner / 12) * 4;
5
}
6
if (shadow == 1)
7
{
8
    fakeshadow.x = x;
9
    fakeshadow.y = (y + sprite_height) - fakeshadow.sprite_height;
10
    fakeshadow.visible = 1;
11
    fakeshadow.sprite_index = sprite_index;
12
    fakeshadow.image_index = image_index;
13
    fakeshadow.image_blend = c_black;
14
}
15
draw_sprite_ext(sprite_index, image_index, x, y + fakey + floaty, image_xscale, image_yscale, image_angle, image_blend, image_alpha);