Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_snowdin_22_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if live_call()
3
    return global.live_result;
4
if (global.snowdin_flag[14] >= 5)
5
{
6
    instance_destroy()
7
    return;
8
}
9
if (global.snowdin_flag[13] >= 2)
10
    instance_destroy()
11
up_sprite = 273
12
right_sprite = 270
13
down_sprite = 274
14
left_sprite = 272
15
up_sprite_idle = 262
16
right_sprite_idle = 263
17
down_sprite_idle = 265
18
left_sprite_idle = 268
19
action_sprite = false
20
scene = 0
21
x_dest[0] = 320
22
y_dest[0] = 45
23
actor_speed = 2
24
axis_override = "x"
25
end_direction = "right"
26
walk_collider = -4