Advertisement
Guest User

Untitled

a guest
Jun 8th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Step Event
  2. if (Key_Attack) && (Attack2 = false) && (Attack3 = false)
  3. {
  4.     Attack2 = true;
  5.     sprite_index = player_djump;
  6.     if alarm[0]=-1 alarm = 50;
  7. }
  8.     else
  9.     {
  10.         if (Key_Attack) && (Attack2 = true)
  11.         {
  12.             Attack2 = false;
  13.             Attack3 = true;
  14.             image_index = 0;
  15.             sprite_index = player_idle;
  16.             image_speed = 0.125
  17.             if alarm[1]=-1 alarm = 50;
  18.         }
  19.     else
  20.     {
  21.         if (Key_Attack) && (Attack3 = true)
  22.         {
  23.         Attack3 = false;
  24.         image_index = 0;
  25.         sprite_index = player_slash;
  26.         image_speed = 0.125
  27.         if alarm[2]=-1 alarm = 100;
  28.         }
  29.     }
  30. }
  31.  
  32. //Alarm0
  33. sprite_index = stone_middle;
  34. Attack2 = false;
  35. Attack3 = false;
  36.  
  37. //Alarm1
  38. sprite_index = stone_middle;
  39. Attack2 = false;
  40. Attack3 = false;
  41.  
  42. //Alarm2
  43. sprite_index = stone_middle;
  44. Attack2 = false;
  45. Attack3 = false;
  46.  
  47. //Animation End Event
  48. image_speed = 0;
  49. image_index = image_number-1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement