Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_package_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(8, 10)
8
    alarm_count = 35
9
}
10
else
11
{
12
    counter_max = irandom_range(6, 8)
13
    alarm_count = 50
14
}
15
event_user(0)