Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_mecha_frog_arm_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
y_offset = 5;
4
sin_deg += 5.3;
5
if (sin_deg >= 360)
6
    sin_deg -= 1;
7
y = ystart + (sin(degtorad(sin_deg)) * y_offset);