Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_transform_soul_particles_Create_0

(view raw script w/o annotations or w/e)
1
soul_particles_ps = part_system_create()
2
part_system_depth(soul_particles_ps, -1)
3
pt_ef_soul_particles = part_type_create()
4
part_type_shape(pt_ef_soul_particles, 0)
5
part_type_size(pt_ef_soul_particles, 3, 3, 0, 0)
6
part_type_scale(pt_ef_soul_particles, 1, 1)
7
part_type_orientation(pt_ef_soul_particles, 0, 0, 0, 0, 1)
8
part_type_color3(pt_ef_soul_particles, 65535, 65535, 16777215)
9
part_type_alpha3(pt_ef_soul_particles, 1, 1, 0)
10
part_type_blend(pt_ef_soul_particles, 0)
11
part_type_life(pt_ef_soul_particles, 30, 30)
12
part_type_speed(pt_ef_soul_particles, 6, 6, 0, 0)
13
part_type_direction(pt_ef_soul_particles, 40, 140, 0, 0)
14
part_type_gravity(pt_ef_soul_particles, 0.4, 270)
15
pe_ef_soul_particles = part_emitter_create(soul_particles_ps)
16
particle_number = 5
17
alarm[0] = 1
alarm[0]

var xp = x var yp = y part_emitter_region(soul_particles_ps, pe_ef_soul_particles, (xp - 8), (xp + 8), (yp - 8), (yp + 8), 0, 0) part_emitter_burst(soul_particles_ps, pe_ef_soul_particles, pt_ef_soul_particles, 5) alarm[1]