Files
AM2R-Community-Updates/scripts/map_joyaxisbtn.gml
2020-12-22 20:54:55 -06:00

19 lines
941 B
Plaintext

/// map_joyaxisbtn(joybtn_index)
if (argument0 == 3) global.opjoybtn_xax = argument1;
if (argument0 == 4) global.opjoybtn_yax = argument1;
if (argument0 == 6) global.opjoybtn_padu = argument1;
if (argument0 == 7) global.opjoybtn_padd = argument1;
if (argument0 == 8) global.opjoybtn_padl = argument1;
if (argument0 == 9) global.opjoybtn_padr = argument1;
if (argument0 == 10) global.opjoybtn_a = argument1;
if (argument0 == 11) global.opjoybtn_b = argument1;
if (argument0 == 12) global.opjoybtn_l = argument1;
if (argument0 == 13) global.opjoybtn_l2 = argument1;
if (argument0 == 14) global.opjoybtn_r2 = argument1;
if (argument0 == 15) global.opjoybtn_x = argument1;
if (argument0 == 16) global.opjoybtn_r = argument1;
if (argument0 == 17) global.opjoybtn_sel = argument1;
if (argument0 == 18) global.opjoybtn_str = argument1;
if (argument0 == 19) global.opjoybtn_menu1 = argument1;
if (argument0 == 20) global.opjoybtn_menu2 = argument1;