Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_bookshelfpuzzle_Draw_0

(view raw script w/o annotations or w/e)
1
with (obj_solid_temp)
2
{
3
}
4
with (ranpc)
5
{
6
}
7
if (drawspotlight)
8
{
9
    var cx = camerax();
10
    var cy = cameray();
11
    var col = 0;
12
    draw_sprite_ext(spr_pxwhite, 0, cx, cy, 640, 160, 0, col, 1);
13
    draw_sprite_ext(spr_pxwhite, 0, cx, cy + 318, 640, 160, 0, col, 1);
14
    draw_sprite_ext(spr_pxwhite, 0, cx, cy, 240, 480, 0, col, 1);
15
    draw_sprite_ext(spr_pxwhite, 0, (cx + 640) - 240, cy, 240, 480, 0, col, 1);
16
    draw_sprite_ext(spr_dw_church_telescope_spotlight, 0, cx + 238, cy + 158, 2, 2, 0, col, 1);
17
}