Advertisement
ShiroX

Untitled

Oct 17th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. if(!alarm[0]){
  2. if(place_meeting(x,y - 1,objPlayer) and objPlayer.ground = true){
  3. for(c = 0;c < 16;c += 1){
  4. n = instance_create(x + (c mod 4)*12,y + 36 - (c div 4)*12,int_collapse)
  5. n.sprite_index = sprite_index
  6. n.image_index = image_index
  7. n.l = (c mod 4)*12
  8. n.t = 36 - (c div 4)*12
  9. n.w = 12
  10. n.h = 12
  11. n.alarm[0] = 40 + c*2
  12. }
  13. alarm[0] = 40
  14. alarm[1] = 40 + (c - 4)*2
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement