Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_attack_fire_pillar_spawner_Other_10

(view raw script w/o annotations or w/e)
1
var battle_box = obj_dialogue_box_battle_transformation_any
2
var battle_box_third = battle_box.sprite_width / 3
3
if (obj_heart_battle_fighting_parent.x < (battle_box.bbox_left + 4 + battle_box_third))
4
    spawn_pos = "left"
5
else if (obj_heart_battle_fighting_parent.x < (battle_box.bbox_left + 4 + battle_box_third * 2))
6
    spawn_pos = "middle"
7
else
8
    spawn_pos = "right"