Injustice (Green Lantern)

"Lantern's Might" - L2 if you're on the left side, R2 if you're on the right. "Turbine Smash" - Left (D-Pad) if you're on the left side, Right (D-Pad) if you're on the right side. It ain't much, but I didn't see any other Injustice scripts here. This is one of my very few scripts so feel free to correct me if I messed something up or if it can be done better. If you have problems with it, double tap it and it should work (if anyone can fix this, feel free to do so).
Version1.1
Authordiaz3618
Publish DateWed, 21 Jan 2015 - 00:32
Last UpdateWed, 21 Jan 2015 - 21:14
Downloads126
RATE


1

0

Release Notes: Simplified it a bit. *Double tap if it doesn't respond instantly.
Code: Select all
//
// Tue Jan 20 2015 17:54:02
// Script generated by Visual to GPC
//----------------------------------------
 
//----------------------------------------
// "Lantern's Might" - L2 if you're on the left side, R2 if you're on the right.
//
// "Turbine Smash" - Left (D-Pad) if you're on the left side, Right (D-Pad) if you're on the right side.
//
// Daniel Diaz - 20150120
//----------------------------------------
define LTRIGGER     =   PS4_L2;         // L2
define RTRIGGER     =   PS4_R2;         // R2
define DLEFT        =   PS4_LEFT;       // D-Pad Left
define DRIGHT       =   PS4_RIGHT;      // D-Pad Right
define DDOWN        =   PS4_DOWN;       // D-Pad Down
define LIGHTATTK    =   PS4_SQUARE;     // Square
define HEAVYATTK    =   PS4_CROSS;      // Cross
 
 
main {
    if(event_press(LTRIGGER)) {      // Lantern's Might - Left side
        combo_run(DOWN);
        combo_run(LEFT);
        combo_run(SQUARE);
    }
 
    if(event_press(RTRIGGER)) {      // Lantern's Might - Right side
        combo_run(DOWN);
        combo_run(RIGHT);
        combo_run(SQUARE);
    }
 
    if(event_press(DLEFT)) {         // Turbine Smash - Left side
        combo_run(LEFT);
        combo_run(RIGHT);
        combo_run(CROSS);
    }
 
    if(event_press(DRIGHT)) {        // Turbine Smash - Right side
        combo_run(RIGHT);
        combo_run(LEFT);
        combo_run(CROSS);
    }
}
 
combo DOWN {
    set_val(DDOWN, 0);
    wait(10);
    set_val(DDOWN, 100);
    wait(100);
    set_val(DDOWN, 100);
}
 
combo LEFT {
    set_val(DLEFT, 0);
    wait(10);
    set_val(DLEFT, 100);
    wait(100);
    set_val(DLEFT, 100);
}
 
combo SQUARE {
    set_val(LIGHTATTK, 0);
    wait(210);
    set_val(LIGHTATTK, 100);
    wait(100);
    set_val(LIGHTATTK, 100);
}
 
combo RIGHT {
    set_val(DRIGHT, 0);
    wait(100);
    set_val(DRIGHT, 100);
    wait(100);
    set_val(DRIGHT, 100);
}
 
combo CROSS {
    set_val(HEAVYATTK, 0);
    wait(210);
    set_val(HEAVYATTK, 100);
    wait(110);
    set_val(HEAVYATTK, 100);
}