Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_part_leak_complex_Create_0

(view raw script w/o annotations or w/e)
1
if (global.hotland_flag[9] >= 3 || global.route == 3)
2
{
3
    instance_destroy()
4
    return;
5
}
6
ps_droplets = part_system_create()
7
part_system_depth(ps_droplets, -99999)
8
pt_droplet = part_type_create()
9
part_type_shape(pt_droplet, 3)
10
part_type_size(pt_droplet, 1, 1, 0, 0)
11
part_type_scale(pt_droplet, 0.05, 0.05)
12
part_type_orientation(pt_droplet, 90, 90, 0, 0, 0)
13
part_type_color3(pt_droplet, 16777088, 16777088, 16777088)
14
part_type_alpha3(pt_droplet, 0, 1, 1)
15
part_type_blend(pt_droplet, 0)
16
part_type_life(pt_droplet, 17, 19)
17
part_type_speed(pt_droplet, 0, 0, 0.2, 0)
18
part_type_direction(pt_droplet, 270, 270, 0, 0)
19
part_type_gravity(pt_droplet, 0, 0)
20
pt_burst = part_type_create()
21
part_type_shape(pt_burst, 0)
22
part_type_size(pt_burst, 1, 1, 0, 0)
23
part_type_scale(pt_burst, 1, 1)
24
part_type_orientation(pt_burst, 0, 0, 0, 0, 0)
25
part_type_color3(pt_burst, 16777088, 16777088, 16777088)
26
part_type_alpha3(pt_burst, 1, 1, 0)
27
part_type_blend(pt_burst, 0)
28
part_type_life(pt_burst, 20, 20)
29
part_type_speed(pt_burst, 2, 2, 0, 0)
30
part_type_direction(pt_burst, 70, 120, 0, 0)
31
part_type_gravity(pt_burst, 0.2, 270)
32
part_type_death(pt_droplet, 4, pt_burst)
33
global.pe_droplet = part_emitter_create(ps_droplets)
34
alarm[0] = 1
alarm[0]

var xp = 164 var yp = 62 part_emitter_region(ps_droplets, global.pe_droplet, (xp - 10), (xp + 10), (yp - 1), (yp + 1), 0, 0) part_emitter_burst(ps_droplets, global.pe_droplet, pt_droplet, 1) alarm[0] = 75