Advertisement
Guest User

Untitled

a guest
Jan 8th, 2014
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. the bomb robot:
  2.  
  3. end
  4. : "touch"
  5. zap "touch" 1
  6. end play
  7. play "tcf+cf+c"
  8. become pushable
  9. loop start
  10. char "(57-'loopcount')"
  11. sfx 31
  12. wait for 15
  13. loop for 7
  14.  
  15. : "bhurt"
  16. : "hurt"
  17. : "bombed"
  18. lockself
  19. become nonpushable
  20. end play
  21. play "t+++c-c-c-c-c-c"
  22. copy overlay block at 5 29 for 15 by 9 to "('thisx'-7)" "('thisy'-4)"
  23.  
  24. loop start
  25. send at "('thisx'-4+'loopcount')" "('thisy'-4)" to "bhurt"
  26. loop for 8
  27. loop start
  28. send at "('thisx'-5+'loopcount')" "('thisy'-3)" to "bhurt"
  29. loop for 10
  30. loop start
  31. send at "('thisx'-6+'loopcount')" "('thisy'-2)" to "bhurt"
  32. loop for 12
  33. loop start
  34. send at "('thisx'-6+'loopcount')" "('thisy'-1)" to "bhurt"
  35. loop for 12
  36. loop start
  37. send at "('thisx'-7+'loopcount')" "('thisy')" to "bhurt"
  38. loop for 14
  39. loop start
  40. send at "('thisx'-6+'loopcount')" "('thisy'+1)" to "bhurt"
  41. loop for 12
  42. loop start
  43. send at "('thisx'-6+'loopcount')" "('thisy'+2)" to "bhurt"
  44. loop for 12
  45. loop start
  46. send at "('thisx'-5+'loopcount')" "('thisy'+3)" to "bhurt"
  47. loop for 10
  48. loop start
  49. send at "('thisx'-4+'loopcount')" "('thisy'+4)" to "bhurt"
  50. loop for 8
  51.  
  52. copy overlay block at 21 29 for 15 by 9 to "('thisx'-7)" "('thisy'-4)"
  53. die
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. the graphics buffer robot:
  61.  
  62. : "l"
  63. wait for 1
  64. set "local" to 0
  65. loop start
  66. set "local" to random 9 to 16
  67. write overlay "local" "±" at "('thisx'-4+'loopcount')" "('thisy'-4)"
  68. send at "('thisx'-4+'loopcount')" "('thisy'-4)" to "hurt"
  69. loop for 8
  70.  
  71.  
  72. set "local" to 0
  73. loop start
  74. set "local" to random 9 to 16
  75. write overlay "local" "±" at "('thisx'-5+'loopcount')" "('thisy'-3)"
  76. send at "('thisx'-5+'loopcount')" "('thisy'-3)" to "hurt"
  77. loop for 10
  78.  
  79.  
  80. set "local" to 0
  81. loop start
  82. set "local" to random 9 to 16
  83. write overlay "local" "±" at "('thisx'-6+'loopcount')" "('thisy'-2)"
  84. send at "('thisx'-6+'loopcount')" "('thisy'-2)" to "hurt"
  85. loop for 12
  86.  
  87. set "local" to 0
  88. loop start
  89. set "local" to random 9 to 16
  90. write overlay "local" "±" at "('thisx'-6+'loopcount')" "('thisy'-1)"
  91. send at "('thisx'-6+'loopcount')" "('thisy'-1)" to "hurt"
  92. loop for 12
  93.  
  94.  
  95. set "local" to 0
  96. loop start
  97. set "local" to random 9 to 16
  98. write overlay "local" "±" at "('thisx'-7+'loopcount')" "('thisy')"
  99. send at "('thisx'-7+'loopcount')" "('thisy')" to "hurt"
  100. loop for 14
  101.  
  102.  
  103. set "local" to 0
  104. loop start
  105. set "local" to random 9 to 16
  106. write overlay "local" "±" at "('thisx'-6+'loopcount')" "('thisy'+1)"
  107. send at "('thisx'-6+'loopcount')" "('thisy'+1)" to "hurt"
  108. loop for 12
  109.  
  110. set "local" to 0
  111. loop start
  112. set "local" to random 9 to 16
  113. write overlay "local" "±" at "('thisx'-6+'loopcount')" "('thisy'+2)"
  114. send at "('thisx'-6+'loopcount')" "('thisy'+2)" to "hurt"
  115. loop for 12
  116.  
  117.  
  118. set "local" to 0
  119. loop start
  120. set "local" to random 9 to 16
  121. write overlay "local" "±" at "('thisx'-5+'loopcount')" "('thisy'+3)"
  122. send at "('thisx'-5+'loopcount')" "('thisy'+3)" to "hurt"
  123. loop for 10
  124.  
  125.  
  126. set "local" to 0
  127. loop start
  128. set "local" to random 9 to 16
  129. write overlay "local" "±" at "('thisx'-4+'loopcount')" "('thisy'+4)"
  130. send at "('thisx'-4+'loopcount')" "('thisy'+4)" to "hurt"
  131. loop for 8
  132. goto "l"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement