Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_keyboard_multicheck_released

(view raw script w/o annotations or w/e)
1
function keyboard_multicheck_released(argument0) //gml_Script_keyboard_multicheck_released
2
{
3
    if (argument0 == 0 || argument0 == 13)
4
    {
5
        if (keyboard_check_released(vk_return) || keyboard_check_released(ord("Z")) || keyboard_check_released(ord("Y")) || gamepad_button_check_released(0, global.button1) || gamepad_button_check_released(0, gp_shoulderr))
6
            return true;
7
    }
8
    if (argument0 == 1 || argument0 == 16)
9
    {
10
        if (keyboard_check_released(vk_shift) || keyboard_check_released(ord("X")) || gamepad_button_check_released(0, global.button2) || gamepad_button_check_released(0, gp_shoulderl))
11
            return true;
12
    }
13
    if (argument0 == 2 || argument0 == 17)
14
    {
15
        if (keyboard_check_released(vk_control) || keyboard_check_released(ord("C")) || gamepad_button_check_released(0, global.button3))
16
            return true;
17
    }
18
}