Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_weakpoint_parent_Step_0

(view raw script w/o annotations or w/e)
1
if (shake_strength > 0)
2
{
3
    x_offset = irandom_range((-shake_strength), shake_strength)
4
    y_offset = irandom_range((-shake_strength), shake_strength)
5
    shake_strength = lerp(shake_strength, 0, 0.1)
6
}
7
else
8
{
9
    x_offset = 0
10
    y_offset = 0
11
}