Undertale script viewer

← back to main script listing

gml_Object_obj_fisttargettest_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, 0, c_white, image_alpha);
2
draw_set_color(c_green);
3
draw_text(0, 0, myscore);
4
if (myscore > 400)
5
{
6
    draw_set_color(c_yellow);
7
    draw_text(0, 100, "critical  hit!");
8
}
9
if (myscore > 430)
10
{
11
    draw_set_color(c_red);
12
    draw_text(200, 200, "CRITICAL HIT!!!");
13
}