Advertisement
Guest User

Untitled

a guest
Mar 12th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define init
  2. #define step
  3. with (Mimic) if ("supermimic" not in self) { supermimic = 1; raddrop = 200; my_health = 100 }
  4.  
  5. with(Mimic)
  6. {
  7.   if ("lsthealth" not in self) lsthealth = my_health;
  8.  
  9.   if lsthealth != my_health
  10.   {
  11.     if random(10) <7{ instance_create(x,y,Bandit)} else { instance_create(x,y,Scorpion); }
  12.     lsthealth = my_health;
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement