Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //B - Reversals
- if (attack == AT_NSPECIAL || attack == AT_FSPECIAL || attack == AT_DSPECIAL || attack == AT_USPECIAL){
- trigger_b_reverse();
- }
- //#region NSPECIAL
- if(attack == AT_NSPECIAL && special_down)
- {
- if(window == 1 && window_timer == 1)
- {
- with(obj_article1)
- {
- if(player_id == other.id)
- if(state_timer >= 60)
- {
- if(state == 2 || state == 1)
- {
- state = 3;
- state_timer = 0;
- image_index = 0;
- break;
- }
- }
- }
- }
- }
- if(attack == AT_NSPECIAL && special_down)
- {
- with(obj_article1)
- {
- if(player_id == other.id)
- {
- if(state == 6)
- {
- state = 7;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- if(attack == AT_NSPECIAL){
- if(window == 2){
- if( window_timer >= 10 && !special_down ){
- window = 3;
- window_timer = 0;
- }
- }
- }
- //#endregion
- if(attack == AT_DSTRONG)
- {
- if(window == 1 && window_timer == 1)
- {
- with(obj_article1)
- {
- if(player_id == other.id)
- {
- if(state == 2 || state == 1)
- {
- state = 20;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if(attack == AT_DSTRONG)
- {
- with(obj_article1)
- {
- if(player_id == other.id)
- {
- if(state == 6)
- {
- state = 21;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- if(attack == AT_FSTRONG){
- if(window == 1 && window_timer = 1){
- with(obj_article1){
- if(player_id == other.id){
- if((state == 2 || state == 1) && state_timer >= 60){
- state = 30;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if(attack == AT_FSTRONG){
- if(window == 1 && window_timer = 1){
- with(obj_article1){
- if(player_id == other.id){
- if(state == 6){
- state = 31;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if(attack == AT_USTRONG){
- if(window == 1 && window_timer = 1){
- with(obj_article1){
- if(player_id == other.id){
- if((state == 1 || state == 2) && state_timer >= 60){
- state = 40;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if(attack == AT_USTRONG){
- if(window == 1 && window_timer = 1){
- with(obj_article1){
- if(player_id == other.id){
- if(state == 6){
- state = 41;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if(attack == AT_TAUNT){
- if(window == 1 && window_timer == 1){
- with(obj_article1){
- if(player_id == other.id){
- if(state != 1 && state != 2 && state != 99 && state != 100 && state !=00){
- state = 99;
- state_timer = 0;
- image_index = 0;
- }
- }
- }
- }
- }
- if (attack == AT_FSPECIAL){
- if (window == 2){
- if (special_pressed){
- window = 3;
- window_timer = 0;
- destroy_hitboxes();
- }
- }
- can_fast_fall = false;
- }
- if (attack == AT_USPECIAL){
- if(window == 1){
- hsp = 0;
- vsp = 0;
- fly_speed = 12;
- if(!joy_pad_idle){
- if(joy_dir >= 0 && joy_dir <= 180){
- US_vsp = fly_speed * ((sin(joy_dir) / 180) * 3.14);
- US_hsp = fly_speed * ((cos(joy_dir) / 180) * 3.14);
- spr_dir = joy_dir;
- }
- if(joy_dir >= 180 && joy_dir <= 260){
- US_vsp = 0;
- US_hsp = fly_speed * -1;
- spr_dir = -1;
- }
- if(joy_dir >= 280 && joy_dir < 360){
- US_vsp = 0;
- US_hsp = fly_speed;
- spr_dir = 1;
- }
- if(joy_dir < 260 && joy_dir > 280){
- US_vsp = 0;
- US_hsp = 0;
- sprite_index = sprite_get("idle")
- }
- }
- if(window_timer = 60){
- window = 2;
- window_timer = 0;
- }
- }
- if(window == 2){
- vsp = US_vsp;
- hsp = US_hsp;
- }
- }
- if (attack == AT_DSPECIAL){
- if (window == 2 && !was_parried){
- can_jump = true;
- }
- can_fast_fall = false;
- can_move = false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement