Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_choir_note_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
var sin_speed = 5;
4
sin_deg += sin_speed;
5
if (sin_deg > 360)
6
    sin_deg -= 360;
7
x = xstart + (sin(degtorad(sin_deg)) * h_variation);