Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_talon_giant_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (y > ystart)
4
{
5
    var line_col = make_color_rgb(210, 210, 210)
6
    draw_set_color(line_col)
7
    var xx_1 = battle_box.bbox_left + 4 + 50
8
    var xx_2 = battle_box.bbox_left + 4 + 100
9
    var xx_3 = battle_box.bbox_left + 4 + 150
10
    draw_rectangle((xx_1 - 1), (ystart + 25), (xx_1 + 1), (y + 25), false)
11
    draw_rectangle_color((xx_1 - 1), (ystart + 25), (xx_1 + 1), clamp((y + 25), (y + 25), (ystart + 30)), c_black, c_black, line_col, line_col, false)
12
    draw_rectangle_color((xx_1 - 1), (y + 15), (xx_1 + 1), (y + 25), line_col, line_col, c_black, c_black, false)
13
    draw_rectangle((xx_2 - 1), ystart, (xx_2 + 1), y, false)
14
    draw_rectangle_color((xx_2 - 1), ystart, (xx_2 + 1), clamp(y, y, (ystart + 30)), c_black, c_black, line_col, line_col, false)
15
    draw_rectangle_color((xx_2 - 1), (y - 10), (xx_2 + 1), y, line_col, line_col, c_black, c_black, false)
16
    draw_rectangle((xx_3 - 1), (ystart + 34), (xx_3 + 1), (y + 34), false)
17
    draw_rectangle_color((xx_3 - 1), (ystart + 34), (xx_3 + 1), clamp((y + 34), (y + 34), (ystart + 30)), c_black, c_black, line_col, line_col, false)
18
    draw_rectangle_color((xx_3 - 1), (y + 24), (xx_3 + 1), (y + 34), line_col, line_col, c_black, c_black, false)
19
}
20
draw_self()