Kickbeat: Simplified Edition

Since the game uses D-Pad and Face Buttons for the same actions - this script remaps double taps to the A, B, X, and Y buttons I haven't seen the triple taps, but reports say they are there on higher levels. LT has been remapped to a triple modifier of the pressed button. Added support for 3 simultaneous red hits to the right thumbstick. Enable script with LS click
Version1.4
AuthorSitava
Publish DateTue, 31 May 2016 - 02:02
Last UpdateTue, 31 May 2016 - 02:02
Downloads30
RATE


0

0

Release Notes: See above
Code: Select all
// KickBeat - Simplified Edition :)
 
// Since the game uses D-Pad and Face Buttons for the same actions - this script remaps double taps to the A, B, X, and Y buttons
// I haven't seen the triple taps, but reports say they are there on higher levels. LT has been remapped to a triple modifier of the pressed button.
// Added support for 3 simultaneous red hits to the right thumbstick.
// Enable script with LS click
 
int Enable;
int TAP_COUNT;
int TAP_VAR=1;
int TAP_VAR2;
int TAP_BTN;
int TRI_1;
int TRI_2;
int TRI_3;
 
main {
    if(event_press(8)) {Enable= !Enable;}
    if(Enable)  {
                if(get_val(7))  {
                                TAP_VAR2=1;
                                }
                else            {
                                TAP_VAR2=0;
                                }
                if(event_press(17)) {TAP_BTN=17;}
                if(event_press(18)) {TAP_BTN=18;}
                if(event_press(19)) {TAP_BTN=19;}
                if(event_press(20)) {TAP_BTN=20;}
// Me messing with adding in RS values
                if(get_val(10) < -80) {TRI_1=20; TRI_2=17; TRI_3=18;} // UP - X|Y|B
                if(get_val(10) > 80) {TRI_1=20; TRI_2=19; TRI_3=18;} // DOWN - X|A|B
                if(get_val(9) > 80) {TRI_1=17; TRI_2=18; TRI_3=19;} // RIGHT - Y|B|A
                if(get_val(9) < -80) {TRI_1=17; TRI_2=20; TRI_3=19;} // LEFT - Y|X|A
                if(TRI_1 > 0) {combo_run(TRIPS);}
                if(event_press(17)||event_press(18)||event_press(19)||event_press(20)) {
                                                                                        TAP_COUNT = TAP_VAR+TAP_VAR2;
                                                                                        combo_restart(TAP);
                                                                                        }
                else if (TAP_COUNT && (!combo_running(TAP))) {
                                                             TAP_COUNT = TAP_COUNT - 1;
                                                             combo_run(TAP);
                                                             }
 
                set_val (7, 0); set_val (17, 0); set_val (18, 0); set_val (19, 0); set_val (20, 0); set_val (9, 0); set_val (10, 0);
                }
    }   
 
combo TAP{
    set_val (TAP_BTN, 100);
    wait (100);
    set_val (TAP_BTN, 0);
    wait (50);
    }
 
combo TRIPS {
    set_val (TRI_1, 100);
    set_val (TRI_2, 100);
    set_val (TRI_3, 100);
    wait (100);
    set_val (TRI_1, 0);
    set_val (TRI_2, 0);
    set_val (TRI_3, 0);
    wait (200);
    TRI_1 =0;
    TRI_2 =0;
    TRI_3 =0;
    }