Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_joystick_buttons

(view raw script w/o annotations or w/e)
1
function joystick_buttons(argument0) //gml_Script_joystick_buttons
2
{
3
    var jid = __joystick_2_gamepad(argument0)
4
    return gamepad_button_count(jid);
5
}