Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_transform_particles_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
alarm[0]
4
global.ps_inner = part_system_create()
5
part_system_depth(global.ps_inner, -200)
6
global.ps_outer = part_system_create()
7
part_system_depth(global.ps_outer, -150)
8
global.pt_trail_inner = part_type_create()
9
part_type_shape(global.pt_trail_inner, 1)
10
part_type_size(global.pt_trail_inner, 0.15, 0.15, -0.02, 0)
11
part_type_scale(global.pt_trail_inner, 3, 1)
12
part_type_orientation(global.pt_trail_inner, 0, 0, 0, 0, 0)
13
part_type_color3(global.pt_trail_inner, 0, 0, 0)
14
part_type_alpha3(global.pt_trail_inner, 1, 1, 1)
15
part_type_blend(global.pt_trail_inner, 0)
16
part_type_life(global.pt_trail_inner, 8, 8)
17
part_type_speed(global.pt_trail_inner, 0, 0, 0, 0)
18
part_type_direction(global.pt_trail_inner, 0, 360, 0, 0)
19
part_type_gravity(global.pt_trail_inner, 0, 0)
20
var trail_col = make_color_rgb(255, 0, 55)
21
global.pt_trail_outer = part_type_create()
22
part_type_shape(global.pt_trail_outer, 1)
23
part_type_size(global.pt_trail_outer, 0.25, 0.25, -0.02, 0)
24
part_type_scale(global.pt_trail_outer, 3, 1)
25
part_type_orientation(global.pt_trail_outer, 0, 0, 0, 0, 0)
26
part_type_color3(global.pt_trail_outer, trail_col, 0, 0)
27
part_type_alpha3(global.pt_trail_outer, 1, 1, 1)
28
part_type_blend(global.pt_trail_outer, 0)
29
part_type_life(global.pt_trail_outer, 16, 16)
30
part_type_speed(global.pt_trail_outer, 0, 0, 0, 0)
31
part_type_direction(global.pt_trail_outer, 0, 360, 0, 0)
32
part_type_gravity(global.pt_trail_outer, 0, 0)
33
var xp = x
34
var yp = y
35
xp = x
36
yp = y