Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *Clear ball var*
- (0:1) Whenever someone moves,
- (5:300) set variable %temp1 to the value 0.
- *detect balls (I have 3 balls(also 9 toes, but who's counting?) in this case)*
- (0:3) When someone moves into item 2436,
- *Additional condition if any*
- (0:3) When someone moves into item 2437,
- *Additional condition if any*
- (0:3) When someone moves into item 2438,
- *Additional condition if any*
- *THEN EXECUTE THIS*
- (5:351) set variable %temp1 to the X,Y position the triggering furre moved to.
- (5:351) set variable %temp3 to the X,Y position the triggering furre moved to.
- (5:381) set variable %temp2 to the item type at (%temp1).
- *in appropriate region, to detect furres*
- *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*
- (3:30) in region 1,
- (4:10) only in places that can't be walked into,
- (5:5) change item 0 to item 9999.
- *detect efx*
- (4:0) clear all filtering,
- (4:41) only where the effect overlay is not 0,
- (4:7) only where there is an item,
- (5:5) change item 0 to item 9999.
- *WALLS AREN'T DETECTED, SHOULDN'T BE A PROBLEM THOUGH SINCE YOUR PLAY AREA IS BORDERED BY UNWALKABLES*
- *NE*
- *first square*
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- *additional 9 squares*
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- *Move back if hit an object*
- (0:60) When someone moves northeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1014) and position (%temp1) is not item 0,
- (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- *SE*
- *first square*
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- *additional 9 squares*
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- *Move back if hit an object*
- (0:61) When someone moves southeast,
- (1:201) and variable %temp2 is more than 0,
- (1:1014) and position (%temp1) is not item 0,
- (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- *SW*
- *first position
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- *additional 9 squares*
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:354) move the position in variable %temp1 southwest (down and left) 1 step(s).
- *move back if hit an object*
- (0:62) When someone moves southwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1014) and position (%temp1) is not item 0,
- (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
- (5:352) move the position in variable %temp1 northeast (up and right) 1 step(s).
- *NW*
- *first position
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- *additional 9 squares*
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1013) and position (%temp1) is item 0,
- (5:355) move the position in variable %temp1 northwest (up and left) 1 step(s).
- *move back if hit an object*
- (0:63) When someone moves northwest,
- (1:201) and variable %temp2 is more than 0,
- (1:1014) and position (%temp1) is not item 0,
- (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
- (5:353) move the position in variable %temp1 southeast (down and right) 1 step(s).
- *place new ball, clear old ball, clear invisi object
- (0:1) Whenever someone moves,
- (5:5) change item 9999 to item 0.
- (0:1) Whenever someone moves,
- (1:201) and variable %temp2 is more than 0,
- (1:209) and the X,Y position in variable %temp1 is not the same as the position in variable %temp3,
- (3:6) where the triggering furre moved into,
- (5:4) place item 0.
- (3:2) at position (%temp1) on the map,
- (5:4) place item %temp2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement