Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_rope_circle_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
for (var i = 0; i < 16; i++)
4
{
5
    var circle_part = instance_create_depth(x, y, depth, obj_rope_circle_part)
6
    circle_part.image_angle = i * 22
7
}
8
mask_dist = 55
9
circle_angle = 90
10
circle_angle_inc = 3
11
var xx = x + (lengthdir_x(mask_dist, circle_angle))
12
var yy = y + (lengthdir_y(mask_dist, circle_angle))
13
var circle_mask = instance_create_depth(xx, yy, (depth - 1), obj_ceroba_attack_rope_circle_mask)
14
obj_ceroba_attack_rope_circle_mask.image_angle = circle_angle - 90
15
alarm[0] = 240
alarm[0]

instance_destroy()