Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_body_pacifist_phase_2_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
no_loop_create_clouds = false;
4
can_talk_no_loop = false;
5
blend_color = 16777215;
6
blend_color_current = 16777215;
7
damage_disjoint_count = 0;
8
damage_disjoint_x = 0;
9
damage_disjoint_timer = 2;
10
damage_disjoint_timer_max = 2;
11
no_loop_damage_disjoint_count = false;
12
starting_point_x = x;
13
starting_point_y = y;
14
disjoint_offset = 0;
15
if (!instance_exists(obj_ceroba_cape_1))
16
    instance_create_depth(x - 8, y - 178, depth - 2, obj_ceroba_cape_1);
17
if (!instance_exists(obj_ceroba_cape_2))
18
    instance_create_depth(x - 30, y - 190, depth + 3, obj_ceroba_cape_2);
19
if (!instance_exists(obj_ceroba_hair))
20
    instance_create_depth(x + 2, y - 45, depth + 4, obj_ceroba_hair);
21
if (!instance_exists(obj_ceroba_legs))
22
    instance_create_depth(x - 42, y - 174, depth + 1, obj_ceroba_legs);
23
if (!instance_exists(obj_ceroba_phase_2_staff))
24
    instance_create_depth(x - 42, y - 174, depth + 2, obj_ceroba_phase_2_staff);
25
if (!instance_exists(obj_ceroba_phase_2_head))
26
    instance_create_depth(x - 94, y - 256, depth, obj_ceroba_phase_2_head);
27
if (!instance_exists(obj_ceroba_sideburn_left))
28
    instance_create_depth(x - 1, y - 208, depth - 1, obj_ceroba_sideburn_left);
29
if (!instance_exists(obj_ceroba_sideburn_right))
30
    instance_create_depth(x + 0, y - 208, depth - 1, obj_ceroba_sideburn_right);
31
anim_loop_time = room_speed * 3;
32
anim_stretch_current = 1;
33
anim_stretch_max = 1.1;
34
anim_stage = 1;
35
anim_inc_multiplier = 2;
36
anim_inc_multiplier_max = 2;
37
anim_cape_1_offset = y - obj_ceroba_cape_1.y;
38
anim_cape_2_offset = y - obj_ceroba_cape_2.y;
39
anim_hair_offset = y - obj_ceroba_hair.y;
40
anim_legs_offset = y - obj_ceroba_legs.y;
41
anim_staff_offset = y - obj_ceroba_phase_2_staff.y;
42
anim_head_offset = y - obj_ceroba_phase_2_head.y;
43
anim_sideburnl_offset = obj_ceroba_sideburn_left.y;
44
anim_sideburnr_offset = obj_ceroba_sideburn_right.y;