Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_fall_checker_Create_0

(view raw script w/o annotations or w/e)
1
x_store = 0
2
y_store = 0
3
angle_store = 0
4
counter_current = 0
5
if (!instance_exists(obj_martlet_body))
6
{
7
    counter_max = irandom_range(10, 13)
8
    alarm_count = 25
9
}
10
else
11
{
12
    counter_max = irandom_range(7, 10)
13
    alarm_count = 30
14
}
15
event_user(0)