Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_playercamera_Draw_75

(view raw script w/o annotations or w/e)
1
if (camshot == true)
2
{
3
    camshot = false;
4
    appsurfx = application_surface_x();
5
    appsurfy = application_surface_y();
6
    appsurfscale = application_surface_scale();
7
    if (!global.is_console)
8
        screen_save_part("vacationmemories.png", appsurfx + camerax() + (x * appsurfscale), appsurfy + cameray() + (y * appsurfscale), camwidth * 32 * appsurfscale, camheight * 32 * appsurfscale);
9
}