Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if timer > 0 {
  2.     timer --;
  3.     spd = 0;
  4.         if timer == 0 {
  5.             with(instance_create_depth(x + attackX * 1.3,y - attackY * 1.3 , -6, objAttackEnemy)){
  6.                 creator = enemy;
  7.             }
  8.             timerRec = enemyAtkSpd * room_speed;
  9.         }
  10. }
  11.  
  12. if timerRec > 0 {
  13.     timerRec --
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement