Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_controls_debug_overworld

(view raw script w/o annotations or w/e)
1
function scr_controls_debug_overworld
scr_controls_debug_overworld

function scr_controls_debug_overworld() //gml_Script_scr_controls_debug_overworld { if (obj_frisk.moveable == true && global.text_box_open == false && global.battle_start == false) { key_left = (keyboard_check_pressed(vk_numpad1) || keyboard_check_pressed(ord("1"))) key_right = (keyboard_check_pressed(vk_numpad2) || keyboard_check_pressed(ord("2"))) key_select = (keyboard_check_pressed(vk_numpad3) || keyboard_check_pressed(ord("3"))) key_left2 = (keyboard_check_pressed(vk_numpad4) || keyboard_check_pressed(ord("4"))) key_right2 = (keyboard_check_pressed(vk_numpad5) || keyboard_check_pressed(ord("5"))) key_select2 = (keyboard_check_pressed(vk_numpad6) || keyboard_check_pressed(ord("6"))) } else { key_display = 0 key_left = 0 key_right = 0 key_select = 0 key_left2 = 0 key_right2 = 0 key_select2 = 0 } key_display = (keyboard_check_pressed(vk_numpad0) || keyboard_check_pressed(ord("0"))) key_reset = keyboard_check_pressed(ord("U")) key_fps3 = keyboard_check_pressed(ord("I")) key_fps30 = keyboard_check_pressed(ord("O")) key_fps60 = keyboard_check_pressed(ord("P")) }
() //gml_Script_scr_controls_debug_overworld
2
{
3
    if (obj_frisk.moveable == true && global.text_box_open == false && global.battle_start == false)
4
    {
5
        key_left = (keyboard_check_pressed(vk_numpad1) || keyboard_check_pressed(ord("1")))
6
        key_right = (keyboard_check_pressed(vk_numpad2) || keyboard_check_pressed(ord("2")))
7
        key_select = (keyboard_check_pressed(vk_numpad3) || keyboard_check_pressed(ord("3")))
8
        key_left2 = (keyboard_check_pressed(vk_numpad4) || keyboard_check_pressed(ord("4")))
9
        key_right2 = (keyboard_check_pressed(vk_numpad5) || keyboard_check_pressed(ord("5")))
10
        key_select2 = (keyboard_check_pressed(vk_numpad6) || keyboard_check_pressed(ord("6")))
11
    }
12
    else
13
    {
14
        key_display = 0
15
        key_left = 0
16
        key_right = 0
17
        key_select = 0
18
        key_left2 = 0
19
        key_right2 = 0
20
        key_select2 = 0
21
    }
22
    key_display = (keyboard_check_pressed(vk_numpad0) || keyboard_check_pressed(ord("0")))
23
    key_reset = keyboard_check_pressed(ord("U"))
24
    key_fps3 = keyboard_check_pressed(ord("I"))
25
    key_fps30 = keyboard_check_pressed(ord("O"))
26
    key_fps60 = keyboard_check_pressed(ord("P"))
27
}