Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_study_particles_Create_0

(view raw script w/o annotations or w/e)
1
global.ps = part_system_create()
2
part_system_depth(global.ps, -900)
3
global.pt_pt_dust = part_type_create()
4
part_type_shape(global.pt_pt_dust, 0)
5
part_type_size(global.pt_pt_dust, 1, 2, 0, 0)
6
part_type_scale(global.pt_pt_dust, 1, 1)
7
part_type_orientation(global.pt_pt_dust, 0, 0, 0, 0, 0)
8
part_type_color3(global.pt_pt_dust, 16777215, 16777215, 16777215)
9
part_type_alpha3(global.pt_pt_dust, 0, 1, 0)
10
part_type_blend(global.pt_pt_dust, 0)
11
part_type_life(global.pt_pt_dust, 160, 220)
12
part_type_speed(global.pt_pt_dust, 0.5, 1, 0, 0)
13
part_type_direction(global.pt_pt_dust, 90, 90, 0, 5)
14
part_type_gravity(global.pt_pt_dust, 0, 0)
15
global.pe_pt_dust = part_emitter_create(global.ps)
16
var xp = 140
17
var yp = 210
18
part_emitter_region(global.ps, global.pe_pt_dust, (xp - 99), (xp + 101), (yp - 8), (yp + 8), 0, 0)
19
part_emitter_stream(global.ps, global.pe_pt_dust, global.pt_pt_dust, -16)