Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_buff_froggit_battle_box_destroy_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
for (var i = 0; i <= 3; i++)
4
{
5
    var move_dir = 45 + i * 90
6
    xx[i] = xx[i] + (lengthdir_x(10, move_dir))
7
    yy[i] = yy[i] + (lengthdir_y(10, move_dir))
8
    iangle[i] += ((sign(0.1 - (i % 2))) * 15)
9
}