Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_controls_battle_target

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

function scr_controls_battle_target() //gml_Script_scr_controls_battle_target { if (x >= 53 && x <= 585 && button_pressed == false) key_select = keyboard_multicheck(0) else key_select = 0 }
() //gml_Script_scr_controls_battle_target
2
{
3
    if (x >= 53 && x <= 585 && button_pressed == false)
4
        key_select = keyboard_multicheck(0)
5
    else
6
        key_select = 0
7
}