Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_surface_drawer_Create_0

(view raw script w/o annotations or w/e)
1
var box = obj_dialogue_box_battle_transformation_any
2
global.attack_surface = -1
3
global.attack_surface_width = box.sprite_width - 8
4
global.attack_surface_height = box.sprite_height - 8
5
global.attack_surface_x = box.x - global.attack_surface_width * 0.5
6
global.attack_surface_y = box.y - global.attack_surface_height * 0.5