Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_fmartlet_flowey_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (flowey_shake_intensity > 0)
4
{
5
    flowey_shake_intensity -= 0.2
6
    x = starting_point_x + (random_range((-flowey_shake_intensity), flowey_shake_intensity))
7
    y = starting_point_y + (random_range((-flowey_shake_intensity), flowey_shake_intensity))
8
    flowey_shake_noloop = false
9
}
10
else if (!flowey_shake_noloop)
11
{
12
    x = starting_point_x
13
    y = starting_point_y
14
    flowey_shake_noloop = true
15
}