Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_final_armor_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
damage_flash_timer = 0
4
armor_hp = 12
5
armor_hp_max = armor_hp
6
damaged_stage = 0
7
hit_shake = 0
8
white_fade_alpha = 0
9
fade_out = false
10
fade_alpha = 0
11
image_alpha = 1
12
armr_ps = part_system_create()
13
part_system_depth(armr_ps, (depth - 1))
14
armr_pt_effect_1 = part_type_create()
15
part_type_shape(armr_pt_effect_1, 0)
16
part_type_size(armr_pt_effect_1, 1, 1, 0, 0)
17
part_type_scale(armr_pt_effect_1, 3, 3)
18
part_type_orientation(armr_pt_effect_1, 0, 359, 0, 0, 0)
19
part_type_color3(armr_pt_effect_1, 4307967, 4307967, 4307967)
20
part_type_alpha3(armr_pt_effect_1, 1, 1, 0)
21
part_type_blend(armr_pt_effect_1, 0)
22
part_type_life(armr_pt_effect_1, 15, 15)
23
part_type_speed(armr_pt_effect_1, 8, 8, 0, 0)
24
part_type_direction(armr_pt_effect_1, 70, 110, 0, 0)
25
part_type_gravity(armr_pt_effect_1, 1, 270)
26
armr_pe_effect_1 = part_emitter_create(armr_ps)