Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sousborg_dead_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_alpha = 0
4
if (!audio_is_playing(snd_undertale_explosion))
5
    audio_play_sound(snd_undertale_explosion, 20, 0)
6
instance_create_depth(x, (y - 60), (depth + 2), obj_robot_destroy_explosion)
7
instance_create_depth(x, (y + 27), depth, obj_sousborg_body_bottom_destroy)
8
instance_create_depth(x, (y - 24), depth, obj_sousborg_body_top_destroy)
9
instance_create_depth((x - 54), (y - 23.5), depth, obj_sousborg_left_arm_1_destroy)
10
instance_create_depth((x - 98), (y - 61.5), depth, obj_sousborg_left_arm_2_destroy)
11
instance_create_depth((x - 106), (y - 66), depth, obj_sousborg_hand_destroy)
12
instance_create_depth((x - 114), (y - 67), depth, obj_sousborg_cleaver_destroy)
13
with (instance_create_depth((x + 59), (y - 20.5), depth, obj_sousborg_left_arm_1_destroy))
14
    image_xscale = -1
15
with (instance_create_depth((x + 105), (y - 64), depth, obj_sousborg_left_arm_2_destroy))
16
    image_xscale = -1
17
with (instance_create_depth((x + 109), (y - 78), depth, obj_sousborg_hand_destroy))
18
    image_xscale = -1
19
instance_create_depth((x + 109), (y - 144.5), depth, obj_sousborg_glass_destroy)
20
instance_create_depth((x + 147), (y - 112), depth, obj_sousborg_salt_destroy)
21
instance_create_depth((x + 147), (y - 112), depth, obj_sousborg_salt_destroy)
22
for (var i = 0; i < 4; i++)
23
    instance_create_depth((x + (irandom_range(64, 144))), (y - (irandom_range(111, 150))), (depth - 1), obj_sousborg_shard_destroy)
24
instance_create_depth((x + 107), (y - 72.5), depth, obj_sousborg_plate_2_destroy)
25
instance_create_depth(x, (y - 64), depth, obj_sousborg_head_destroy)
26
instance_create_depth((x - 1), (y - 131), depth, obj_sousborg_hat_destroy)
27
instance_create_depth((x + 73), (y - 133), depth, obj_sousborg_spoon_destroy)