Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript___joystick_2_gamepad

(view raw script w/o annotations or w/e)
1
function __joystick_2_gamepad(argument0) //gml_Script___joystick_2_gamepad
2
{
3
    if (argument0 == 2)
4
        return global.__jstick_pad2;
5
    else
6
        return global.__jstick_pad1;
7
}