Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_DW30_asgore_Draw_0

(view raw script w/o annotations or w/e)
1
if (!_active)
2
    exit;
3
gpu_set_fog(true, c_black, 0, 0);
4
draw_sprite_ext(spr_asgored, 0, (camerax() + (view_wport[0] / 2)) - 32, (cameray() + (view_hport[0] / 2)) - 70, 2, 2, 0, c_white, _alpha);
5
gpu_set_fog(false, c_white, 0, 0);
6
gpu_set_fog(true, c_red, 0, 0);
7
draw_sprite_ext(spr_asgored, 0, (camerax() + (view_wport[0] / 2)) - 32, (cameray() + (view_hport[0] / 2)) - 70, 2, 2, 0, c_white, _alpha);
8
gpu_set_fog(false, c_white, 0, 0);