Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_1_attack_9_head_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var yy_left = 0
4
var yy_right = 0
5
if (image_index >= 5 && image_index < 11)
6
    yy_right -= 10
7
else if (image_index >= 16 && image_index < 22)
8
    yy_left -= 10
9
draw_rectangle_color((x - 31), (y + yy_left), (x - 30), (480 + yy_left), c_white, c_white, c_black, c_black, false)
10
draw_rectangle_color((x + 30), (y + yy_right), (x + 31), (480 + yy_right), c_white, c_white, c_black, c_black, false)
11
draw_self()