Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Step Event
- if (Key_Attack) && (Attack2 = false) && (Attack3 = false)
- {
- Attack2 = true;
- sprite_index = player_djump;
- if alarm[0]=-1 alarm = 50;
- }
- else
- {
- if (Key_Attack) && (Attack2 = true)
- {
- Attack2 = false;
- Attack3 = true;
- image_index = 0;
- sprite_index = player_idle;
- image_speed = 0.125
- if alarm[1]=-1 alarm = 50;
- }
- else
- {
- if (Key_Attack) && (Attack3 = true)
- {
- Attack3 = false;
- image_index = 0;
- sprite_index = player_slash;
- image_speed = 0.125
- if alarm[2]=-1 alarm = 100;
- }
- }
- }
- //Alarm0
- sprite_index = stone_middle;
- Attack2 = false;
- Attack3 = false;
- //Alarm1
- sprite_index = stone_middle;
- Attack2 = false;
- Attack3 = false;
- //Alarm2
- sprite_index = stone_middle;
- Attack2 = false;
- Attack3 = false;
- //Animation End Event
- image_speed = 0;
- image_index = image_number-1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement