Undertale script viewer

← back to main script listing

gml_Object_obj_adate_body_Draw_0

(view raw script w/o annotations or w/e)
1
shaker = random(shake) - random(shake);
2
draw_sprite_ext(spr_adate_body, 0, x + shaker, y, 2, 2, 0, c_white, image_alpha);
3
if (set == 0)
4
    draw_sprite_ext(spr_adate_head, global.faceemotion, x + shaker, y, 2, 2, 0, c_white, image_alpha);
5
if (set == 1)
6
    draw_sprite_ext(spr_adate_head_2, global.faceemotion, x + shaker, y, 2, 2, 0, c_white, image_alpha);
7
draw_sprite_ext(spr_adate_arm, global.flag[20 animation_index], (x - 8) + shaker, y, 2, 2, 0, c_white, image_alpha);
8
if (item == 1)
9
    draw_sprite_ext(spr_adate_item, aa, x, y + 68, 2, 2, 0, c_white, image_alpha);
10
alarm[3] = 10;
gml_Object_obj_adate_body_Alarm_3.gml

alarm[3] = 8; if (shake > 0) instance_create(x, y - 120, obj_sweat99);