Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_fmartlet_spawner_falling_meteors_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
attack_tick = 0;
4
global.ps_meteors = part_system_create();
5
part_system_depth(global.ps_meteors, -1);
6
global.pt_trail = part_type_create();
7
part_type_shape(global.pt_trail, 1);
8
part_type_size(global.pt_trail, 1, 1, 0, 0);
9
part_type_scale(global.pt_trail, 0.15, 0.15);
10
part_type_orientation(global.pt_trail, 0, 0, 0, 0, 0);
11
part_type_color3(global.pt_trail, 65535, 4235519, 255);
12
part_type_alpha3(global.pt_trail, 1, 1, 0);
13
part_type_blend(global.pt_trail, 0);
14
part_type_life(global.pt_trail, 5, 20);
15
part_type_speed(global.pt_trail, 0, 0.5, 0, 0);
16
part_type_direction(global.pt_trail, 0, 360, 0, 0);
17
part_type_gravity(global.pt_trail, 0, 0);