Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_catapult_frame_stack_Alarm_0

(view raw script w/o annotations or w/e)
1
if (launch_count == launch_max)
2
{
3
    instance_destroy()
4
    return;
5
}
6
else if (launch_count == 0)
7
{
8
    with (id_arm)
9
        launch_state = 2
10
}
11
else
12
{
13
    with (id_arm)
14
        launch_state = 1
15
}
16
launch_count += 1
17
launch_alarm_active = false