Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_vine_grab_Other_7

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_battle_flowey_gray_grab)
2
{
3
    obj_flowey_battle_gray_wheel.scene += 1
4
    scene = 1
5
    sprite_index = spr_battle_flowey_gray_ungrab
6
    image_index = 0
7
    image_speed = 0
8
}
9
else
10
{
11
    obj_heart_battle_fighting_yellow_final.y = y
12
    obj_heart_battle_fighting_yellow_final.x = x
13
    if (obj_flowey_battle_final.stage_current == 0)
14
        obj_heart_battle_fighting_yellow_final.sprite_index = spr_heart_yellow_down
15
    else
16
        obj_heart_battle_fighting_yellow_final.sprite_index = spr_heart_yellow_up
17
    obj_heart_battle_fighting_yellow_final.image_alpha = 1
18
    obj_heart_battle_fighting_yellow_final.moveable = true
19
    instance_destroy()
20
}