Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.53 KB | None | 0 0
  1. *Clear ball var*
  2. (0:1) Whenever someone moves,
  3. (5:300) set variable %temp1 to the value 0.
  4.  
  5. *detect balls (I have 3 balls(also 9 toes, but who's counting?) in this case)*
  6. (0:3) When someone moves into item 2436,
  7. *Additional condition if any*
  8. (0:3) When someone moves into item 2437,
  9. *Additional condition if any*
  10. (0:3) When someone moves into item 2438,
  11. *Additional condition if any*
  12. *THEN EXECUTE THIS*
  13. (5:351) set variable %temp1 to the X,Y position the triggering furre moved to.
  14. (5:351) set variable %temp3 to the X,Y position the triggering furre moved to.
  15. (5:381) set variable %temp2 to the item type at (%temp1).
  16. *in appropriate region, to detect furres*
  17. *item 9999 is placed on a square where there is a furre(or any place unwalkable), so it makes it solid for ds detection. Could use any effect, not visible so could go up to 32767*
  18. (3:30) in region 1,
  19. (4:10) only in places that can't be walked into,
  20. (5:5) change item 0 to item 9999.
  21. *detect efx*
  22. (4:0) clear all filtering,
  23. (4:41) only where the effect overlay is not 0,
  24. (4:7) only where there is an item,
  25. (5:5) change item 0 to item 9999.
  26. *WALLS AREN'T DETECTED, SHOULDN'T BE A PROBLEM THOUGH SINCE YOUR PLAY AREA IS BORDERED BY UNWALKABLES*
  27.  
  28. *NE*
  29. *first square*
  30. (0:60) When someone moves northeast,
  31. (1:201) and variable %temp2 is more than 0,
  32. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  33.  
  34. *additional 9 squares*
  35. (0:60) When someone moves northeast,
  36. (1:201) and variable %temp2 is more than 0,
  37. (1:1013) and position (%temp1) is item 0,
  38. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  39.  
  40. (0:60) When someone moves northeast,
  41. (1:201) and variable %temp2 is more than 0,
  42. (1:1013) and position (%temp1) is item 0,
  43. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  44.  
  45. (0:60) When someone moves northeast,
  46. (1:201) and variable %temp2 is more than 0,
  47. (1:1013) and position (%temp1) is item 0,
  48. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  49.  
  50. (0:60) When someone moves northeast,
  51. (1:201) and variable %temp2 is more than 0,
  52. (1:1013) and position (%temp1) is item 0,
  53. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  54.  
  55. (0:60) When someone moves northeast,
  56. (1:201) and variable %temp2 is more than 0,
  57. (1:1013) and position (%temp1) is item 0,
  58. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  59.  
  60. (0:60) When someone moves northeast,
  61. (1:201) and variable %temp2 is more than 0,
  62. (1:1013) and position (%temp1) is item 0,
  63. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  64.  
  65. (0:60) When someone moves northeast,
  66. (1:201) and variable %temp2 is more than 0,
  67. (1:1013) and position (%temp1) is item 0,
  68. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  69.  
  70. (0:60) When someone moves northeast,
  71. (1:201) and variable %temp2 is more than 0,
  72. (1:1013) and position (%temp1) is item 0,
  73. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  74.  
  75. (0:60) When someone moves northeast,
  76. (1:201) and variable %temp2 is more than 0,
  77. (1:1013) and position (%temp1) is item 0,
  78. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  79.  
  80. *Move back if hit an object*
  81. (0:60) When someone moves northeast,
  82. (1:201) and variable %temp2 is more than 0,
  83. (1:1014) and position (%temp1) is not item 0,
  84. (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
  85. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  86.  
  87. *SE*
  88. *first square*
  89. (0:61) When someone moves southeast,
  90. (1:201) and variable %temp2 is more than 0,
  91. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  92.  
  93. *additional 9 squares*
  94. (0:61) When someone moves southeast,
  95. (1:201) and variable %temp2 is more than 0,
  96. (1:1013) and position (%temp1) is item 0,
  97. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  98.  
  99. (0:61) When someone moves southeast,
  100. (1:201) and variable %temp2 is more than 0,
  101. (1:1013) and position (%temp1) is item 0,
  102. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  103.  
  104. (0:61) When someone moves southeast,
  105. (1:201) and variable %temp2 is more than 0,
  106. (1:1013) and position (%temp1) is item 0,
  107. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  108.  
  109. (0:61) When someone moves southeast,
  110. (1:201) and variable %temp2 is more than 0,
  111. (1:1013) and position (%temp1) is item 0,
  112. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  113.  
  114. (0:61) When someone moves southeast,
  115. (1:201) and variable %temp2 is more than 0,
  116. (1:1013) and position (%temp1) is item 0,
  117. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  118.  
  119. (0:61) When someone moves southeast,
  120. (1:201) and variable %temp2 is more than 0,
  121. (1:1013) and position (%temp1) is item 0,
  122. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  123.  
  124. (0:61) When someone moves southeast,
  125. (1:201) and variable %temp2 is more than 0,
  126. (1:1013) and position (%temp1) is item 0,
  127. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  128.  
  129. (0:61) When someone moves southeast,
  130. (1:201) and variable %temp2 is more than 0,
  131. (1:1013) and position (%temp1) is item 0,
  132. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  133.  
  134. (0:61) When someone moves southeast,
  135. (1:201) and variable %temp2 is more than 0,
  136. (1:1013) and position (%temp1) is item 0,
  137. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  138.  
  139. *Move back if hit an object*
  140. (0:61) When someone moves southeast,
  141. (1:201) and variable %temp2 is more than 0,
  142. (1:1014) and position (%temp1) is not item 0,
  143. (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
  144. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  145.  
  146. *SW*
  147. *first position
  148. (0:62) When someone moves southwest,
  149. (1:201) and variable %temp2 is more than 0,
  150. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  151.  
  152. *additional 9 squares*
  153. (0:62) When someone moves southwest,
  154. (1:201) and variable %temp2 is more than 0,
  155. (1:1013) and position (%temp1) is item 0,
  156. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  157.  
  158. (0:62) When someone moves southwest,
  159. (1:201) and variable %temp2 is more than 0,
  160. (1:1013) and position (%temp1) is item 0,
  161. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  162.  
  163. (0:62) When someone moves southwest,
  164. (1:201) and variable %temp2 is more than 0,
  165. (1:1013) and position (%temp1) is item 0,
  166. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  167.  
  168. (0:62) When someone moves southwest,
  169. (1:201) and variable %temp2 is more than 0,
  170. (1:1013) and position (%temp1) is item 0,
  171. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  172.  
  173. (0:62) When someone moves southwest,
  174. (1:201) and variable %temp2 is more than 0,
  175. (1:1013) and position (%temp1) is item 0,
  176. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  177.  
  178. (0:62) When someone moves southwest,
  179. (1:201) and variable %temp2 is more than 0,
  180. (1:1013) and position (%temp1) is item 0,
  181. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  182.  
  183. (0:62) When someone moves southwest,
  184. (1:201) and variable %temp2 is more than 0,
  185. (1:1013) and position (%temp1) is item 0,
  186. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  187.  
  188. (0:62) When someone moves southwest,
  189. (1:201) and variable %temp2 is more than 0,
  190. (1:1013) and position (%temp1) is item 0,
  191. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  192.  
  193. (0:62) When someone moves southwest,
  194. (1:201) and variable %temp2 is more than 0,
  195. (1:1013) and position (%temp1) is item 0,
  196. (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
  197.  
  198. *move back if hit an object*
  199. (0:62) When someone moves southwest,
  200. (1:201) and variable %temp2 is more than 0,
  201. (1:1014) and position (%temp1) is not item 0,
  202. (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
  203. (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
  204.  
  205. *NW*
  206. *first position
  207. (0:63) When someone moves northwest,
  208. (1:201) and variable %temp2 is more than 0,
  209. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  210.  
  211. *additional 9 squares*
  212. (0:63) When someone moves northwest,
  213. (1:201) and variable %temp2 is more than 0,
  214. (1:1013) and position (%temp1) is item 0,
  215. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  216.  
  217. (0:63) When someone moves northwest,
  218. (1:201) and variable %temp2 is more than 0,
  219. (1:1013) and position (%temp1) is item 0,
  220. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  221.  
  222. (0:63) When someone moves northwest,
  223. (1:201) and variable %temp2 is more than 0,
  224. (1:1013) and position (%temp1) is item 0,
  225. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  226.  
  227. (0:63) When someone moves northwest,
  228. (1:201) and variable %temp2 is more than 0,
  229. (1:1013) and position (%temp1) is item 0,
  230. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  231.  
  232. (0:63) When someone moves northwest,
  233. (1:201) and variable %temp2 is more than 0,
  234. (1:1013) and position (%temp1) is item 0,
  235. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  236.  
  237. (0:63) When someone moves northwest,
  238. (1:201) and variable %temp2 is more than 0,
  239. (1:1013) and position (%temp1) is item 0,
  240. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  241.  
  242. (0:63) When someone moves northwest,
  243. (1:201) and variable %temp2 is more than 0,
  244. (1:1013) and position (%temp1) is item 0,
  245. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  246.  
  247. (0:63) When someone moves northwest,
  248. (1:201) and variable %temp2 is more than 0,
  249. (1:1013) and position (%temp1) is item 0,
  250. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  251.  
  252. (0:63) When someone moves northwest,
  253. (1:201) and variable %temp2 is more than 0,
  254. (1:1013) and position (%temp1) is item 0,
  255. (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
  256.  
  257. *move back if hit an object*
  258. (0:63) When someone moves northwest,
  259. (1:201) and variable %temp2 is more than 0,
  260. (1:1014) and position (%temp1) is not item 0,
  261. (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
  262. (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
  263.  
  264. *place new ball, clear old ball, clear invisi object
  265. (0:1) Whenever someone moves,
  266. (5:5) change item 9999 to item 0.
  267.  
  268. (0:1) Whenever someone moves,
  269. (1:201) and variable %temp2 is more than 0,
  270. (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
  271. (3:6) where the triggering furre moved into,
  272. (5:4) place item 0.
  273. (3:2) at position (%temp1) on the map,
  274. (5:4) place item %temp2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement