Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dalv_body_Other_7

(view raw script w/o annotations or w/e)
1
if (cloak_direction == 1 && sprite_index == spr_dalv_body_open)
2
{
3
    image_speed = 0
4
    image_index = image_number - 1
5
    cloak_out = true
6
}
7
else if (cloak_direction == 2)
8
{
9
    with (obj_background_battle_parent)
10
    {
11
        custom_fade_direction = "in"
12
        custom_fade_alpha = 0
13
        custom_fade_rate = 0.05
14
    }
15
    with (obj_dialogue_box_battle_transformation_any)
16
        event_user(0)
17
    cloak_direction = 0
18
}