Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_shield_bells_attack_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (instance_exists(obj_rope_circle_part))
4
{
5
    with (obj_rope_circle_part)
6
        image_angle += other.circle_angle_inc;
7
}
8
if (instance_exists(obj_ceroba_attack_rope_circle_mask))
9
{
10
    circle_angle += circle_angle_inc;
11
    if (circle_angle > 360)
12
        circle_angle -= 360;
13
    var xx = x + lengthdir_x(mask_dist, circle_angle);
14
    var yy = y + lengthdir_y(mask_dist, circle_angle);
15
    obj_ceroba_attack_rope_circle_mask.x = xx;
16
    obj_ceroba_attack_rope_circle_mask.y = yy;
17
    obj_ceroba_attack_rope_circle_mask.image_angle = circle_angle - 90;
18
}