Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_barrier_soul_battle_Step_2

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
image_speed = 0.2;
4
if (spawner != -4 && track_spawner == true)
5
{
6
    soul_color = spawner.soul_color;
7
    if (soul_color == 16777215)
8
        image_alpha = 0;
9
    y = spawner.y;
10
    x = spawner.x;
11
}
12
if (idle_animation == true)
13
{
14
    sin_timer += 0.1;
15
    if (sin_timer > 360)
16
        sin_timer -= 360;
17
    y_offset = sin(sin_timer) * 1;
18
}