Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_bullet_particle_controller_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
global.ps_outer = part_system_create()
4
part_system_depth(global.ps_outer, -1)
5
var trail_col = make_color_rgb(255, 255, 255)
6
global.pt_trail_outer = part_type_create()
7
part_type_shape(global.pt_trail_outer, 1)
8
part_type_size(global.pt_trail_outer, 0.3, 0.3, -0.07, 0)
9
part_type_scale(global.pt_trail_outer, 3, 1)
10
part_type_orientation(global.pt_trail_outer, 0, 0, 0, 0, 0)
11
part_type_color3(global.pt_trail_outer, trail_col, trail_col, 0)
12
part_type_alpha3(global.pt_trail_outer, 1, 1, 1)
13
part_type_blend(global.pt_trail_outer, 0)
14
part_type_life(global.pt_trail_outer, 8, 8)
15
part_type_speed(global.pt_trail_outer, 0, 0, 0, 0)
16
part_type_direction(global.pt_trail_outer, 0, 360, 0, 0)
17
part_type_gravity(global.pt_trail_outer, 0, 0)
18
global.pt_trail_small = part_type_create()
19
part_type_shape(global.pt_trail_small, 1)
20
part_type_size(global.pt_trail_small, 0.15, 0.15, -0.025, 0)
21
part_type_scale(global.pt_trail_small, 2, 1)
22
part_type_orientation(global.pt_trail_small, 0, 0, 0, 0, 0)
23
part_type_color3(global.pt_trail_small, trail_col, trail_col, trail_col)
24
part_type_alpha3(global.pt_trail_small, 1, 0.5, 0)
25
part_type_blend(global.pt_trail_small, 0)
26
part_type_life(global.pt_trail_small, 12, 12)
27
part_type_speed(global.pt_trail_small, 0, 0, 0, 0)
28
part_type_direction(global.pt_trail_small, 0, 360, 0, 0)
29
part_type_gravity(global.pt_trail_small, 0, 0)