Undertale script viewer

← back to main script listing

gml_Object_obj_battlecontroller_Destroy_0

related scripts: Alarm_0 • Create_0 • Destroy_0 • Draw_0 • KeyPress_117 • KeyPress_37 • KeyPress_38 • KeyPress_39 • KeyPress_40 • KeyPress_46 • KeyPress_49 • KeyPress_50 • KeyPress_80 • Keyboard_56 • Keyboard_57 • Other_10 • Other_5 • Step_0 • Step_1

(view raw script w/o annotations or w/e)
1
if (suppress_border)
2
    
scr_enable_screen_border
scr_enable_screen_border

var flag = argument0; flag = flag != 0; if (flag != global.screen_border_active) { global.screen_border_active = flag != 0; global.screen_border_state = 0; global.screen_border_dynamic_fade_id = 0; global.screen_border_dynamic_fade_level = 0; }
(1);