Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_cactony_needle_green_white_Other_12

(view raw script w/o annotations or w/e)
1
var spacing_v = obj_battle_enemy_attack_cactony_needle_green_generator.spacing_v
2
if (bbox_top > obj_dialogue_box_battle_transformation_any.bbox_bottom)
3
{
4
    y -= spacing_v
5
    while place_meeting(x, y, obj_battle_enemy_attack_cactony_needle_green_white)
6
        y -= spacing_v
7
}
8
if (green_id != noone)
9
{
10
    with (green_id)
11
        event_user(0)
12
}