Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_phase_2_shield_destroy_Alarm_0

(view raw script w/o annotations or w/e)
1
if (can_shake == true)
2
{
3
    x = xstart + (irandom_range(-1, 1))
4
    y = ystart + (irandom_range(-1, 1))
5
    alarm[0] = shake_timer
alarm[0]

if (can_shake == true) { x = xstart + (irandom_range(-1, 1)) y = ystart + (irandom_range(-1, 1)) alarm[0] = shake_timer } else { x = xstart y = ystart }
6
}
7
else
8
{
9
    x = xstart
10
    y = ystart
11
}