Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_debug_battle_old_Step_1

(view raw script w/o annotations or w/e)
1
script_execute(scr_controls_debug_battle_old)
2
if key_display
3
{
4
    if (global.debug_toggle == true)
5
        global.debug_toggle = false
6
    else
7
        global.debug_toggle = true
8
}
9
if (global.debug_toggle == true)
10
{
11
    if key_reset
12
        game_restart()
13
    if key_fps3
14
        room_speed = 3
15
    else if key_fps30
16
        room_speed = 30
17
    else if key_fps60
18
        room_speed = 60
19
}