Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_split_spray_spawner_Alarm_1

(view raw script w/o annotations or w/e)
1
if (current_position == 3)
2
{
3
    stage = 1
4
    return;
5
}
6
for (var current_position_new = irandom_range(1, 2); current_position_new == current_position; current_position_new = irandom_range(1, 2))
7
{
8
}
9
current_position = current_position_new
10
alarm[1] = 60
alarm[1]

if (current_position == 3) { stage = 1 return; } for (var current_position_new = irandom_range(1, 2); current_position_new == current_position; current_position_new = irandom_range(1, 2)) { } current_position = current_position_new alarm[1] = 60