Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_macro_froggit_particle_Create_0

(view raw script w/o annotations or w/e)
1
global.ps = part_system_create()
2
part_system_depth(global.ps, depth)
3
global.pt_Filling = part_type_create()
4
part_type_shape(global.pt_Filling, 2)
5
part_type_size(global.pt_Filling, 0, 0, 0.2, 0)
6
part_type_scale(global.pt_Filling, 0.9, 0.9)
7
part_type_orientation(global.pt_Filling, 45, 45, 0, 0, 0)
8
part_type_color3(global.pt_Filling, 0, 0, 0)
9
part_type_alpha3(global.pt_Filling, 1, 1, 0)
10
part_type_blend(global.pt_Filling, 0)
11
part_type_life(global.pt_Filling, 80, 80)
12
part_type_speed(global.pt_Filling, 0, 0, 0, 0)
13
part_type_direction(global.pt_Filling, 0, 360, 0, 0)
14
part_type_gravity(global.pt_Filling, 0, 0)
15
global.pt_Border = part_type_create()
16
part_type_shape(global.pt_Border, 2)
17
part_type_size(global.pt_Border, 0, 0, 0.2, 0)
18
part_type_scale(global.pt_Border, 1, 1)
19
part_type_orientation(global.pt_Border, 45, 45, 0, 0, 0)
20
part_type_color3(global.pt_Border, 16777215, 16777215, 16777215)
21
part_type_alpha3(global.pt_Border, 1, 1, 0)
22
part_type_blend(global.pt_Border, 0)
23
part_type_life(global.pt_Border, 80, 80)
24
part_type_speed(global.pt_Border, 0, 0, 0, 0)
25
part_type_direction(global.pt_Border, 0, 360, 0, 0)
26
part_type_gravity(global.pt_Border, 0, 0)
27
var xp = 320
28
var yp = 110
29
global.pe_Border = part_emitter_create(global.ps)
30
part_emitter_region(global.ps, global.pe_Border, (xp - 1), (xp + 1), (yp - 1), (yp + 1), 0, 0)
31
global.pe_Filling = part_emitter_create(global.ps)
32
part_emitter_region(global.ps, global.pe_Filling, (xp - 1), (xp + 1), (yp - 1), (yp + 1), 0, 0)
33
particle_burst = false