Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_macro_frog_counter_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var xx = 580 + draw_x_offset
4
var yy = 20 + draw_y_offset
5
draw_sprite_ext(spr_bigfrog_frogger_frog, 0, (xx - 9), (yy + 10), (frog_scale * 2), (frog_scale * 2), 0, c_white, 1)
6
shader_set(sh_flash)
7
draw_sprite_ext(spr_bigfrog_frogger_frog, 0, (xx - 9), (yy + 10), (frog_scale * 2), (frog_scale * 2), 0, c_white, frog_overlay_alpha)
8
shader_reset()
9
shader_reset()
10
draw_set_halign(fa_left)
11
draw_set_font(fnt_mainb)
12
draw_set_color(c_white)
13
draw_set_valign(fa_middle)
14
draw_text((xx + 16), (yy + 8), (": " + string(frog_count)))
15
draw_set_valign(fa_top)