Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_body_pacifist_phase_1_Other_7

(view raw script w/o annotations or w/e)
1
if (death_sprite == true && sprite_index == spr_ceroba_murder_death)
2
{
3
    death_sprite = false
4
    alarm[0] = 30
alarm[0]

script_execute(gml_Script_scr_create_quote_bubble_battle_defeat) instance_create(380, 74, obj_quote_bubble_battle_yellow_3) instance_create(0, 0, obj_quote_battle_ceroba_genocide_outro)
5
    image_speed = 0
6
    image_index = image_number - 1
7
}
8
if (sprite_index == spr_ceroba_intro)
9
{
10
    instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
11
    instance_create(0, 0, obj_quote_battle_ceroba_genocide_intro)
12
    sprite_index = spr_ceroba_body
13
    obj_ceroba_staff.image_alpha = 1
14
    obj_ceroba_ponytail.image_alpha = 1
15
    obj_ceroba_hand_left.image_alpha = 1
16
    obj_ceroba_hand_right.image_alpha = 1
17
    obj_ceroba_head.image_alpha = 1
18
    image_speed = 0
19
    anim_stretch_current = 1
20
    anim_stage = 1
21
    anim_inc_multiplier = 2
22
    image_yscale = 1
23
}
24
if (sprite_index == spr_ceroba_phase_switch)
25
{
26
    sprite_index = spr_ceroba_body
27
    obj_ceroba_staff.sprite_index = spr_ceroba_staff_battle_phase_2
28
    obj_ceroba_staff.image_alpha = 1
29
    obj_ceroba_ponytail.image_alpha = 1
30
    obj_ceroba_hand_left.image_alpha = 1
31
    obj_ceroba_hand_right.image_alpha = 1
32
    obj_ceroba_head.image_alpha = 1
33
    image_speed = 0
34
    anim_stretch_current = 1
35
    anim_stage = 1
36
    anim_inc_multiplier = 2
37
    image_yscale = 1
38
}
39
if (sprite_index == spr_ceroba_transformation_p1_5)
40
{
41
    image_index = image_number - 1
42
    image_speed = 0
43
}