Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_transformation_mask_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
attach_points = [[-400, -400], [148, 114], [149, 110], [149, 106], [148, 140], [147, 146], [147, 150], [147, 146], [147, 150], [147, 150], [147, 146], [147, 150], [147, 150], [147, 146], [147, 150], [147, 150], [147, 146], [147, 150], [-400, -400], [-400, -400], [-400, -400], [-400, -400], [-400, -400], [145, 86], [145, 86], [145, 86], [145, 86], [145, 86], [145, 84], [145, 84], [145, 82]]
4
bullet_hit_draw_timer = 0
5
mask_is_vulnerable = false
6
mask_flash_multiplier = 0
7
mask_hit_points = 7
8
mask_hit_points_max = 7
9
if (global.hotland_flag[2] == 1)
10
{
11
    sprite_index = spr_ceroba_transformation_p1_mask_start
12
    image_index = image_number - 1
13
    image_speed = 0
14
}
15
if (global.hotland_flag[2] == 2)
16
    sprite_index = spr_ceroba_mask_2_gray
17
if (global.hotland_flag[2] == 3)
18
    sprite_index = spr_ceroba_mask_3
19
mask_ps = part_system_create()
20
part_system_depth(mask_ps, (depth - 1))
21
mask_pt_effect_1 = part_type_create()
22
part_type_shape(mask_pt_effect_1, 0)
23
part_type_size(mask_pt_effect_1, 1, 1, 0, 0)
24
part_type_scale(mask_pt_effect_1, 3, 3)
25
part_type_orientation(mask_pt_effect_1, 0, 359, 0, 0, 0)
26
part_type_color3(mask_pt_effect_1, 16777215, 16777215, 16777215)
27
part_type_alpha3(mask_pt_effect_1, 1, 1, 0)
28
part_type_blend(mask_pt_effect_1, 0)
29
part_type_life(mask_pt_effect_1, 15, 15)
30
part_type_speed(mask_pt_effect_1, 8, 8, 0, 0)
31
part_type_direction(mask_pt_effect_1, 70, 110, 0, 0)
32
part_type_gravity(mask_pt_effect_1, 1, 270)
33
mask_pe_effect_1 = part_emitter_create(mask_ps)