Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_fire_circle_ring_blue_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_circle_precision(48)
4
if (!surface_exists(surf))
5
    surf = surface_create(640, 480)
6
surface_set_target(surf)
7
draw_clear_alpha(c_black, 0)
8
draw_set_alpha(image_alpha)
9
draw_set_color(color_blue)
10
draw_circle((x - 0.5), (y - 0.5), (26 * image_yscale), false)
11
draw_set_alpha(1)
12
gpu_set_blendmode(bm_subtract)
13
draw_circle_color((x - 0.5), (y - 0.5), (25 * image_yscale), color_blue, color_blue, false)
14
gpu_set_blendmode(bm_normal)
15
surface_reset_target()
16
draw_set_circle_precision(24)
17
draw_surface(surf, 0, 0)