* Random Walk DS by Tafyrn, Revision 1, 2005-05-03 * ------------------------------------------------------------ (0:0) When everything is starting up, (5:300) set variable %KiwiLocation.x to the value 8. (5:300) set variable %KiwiLocation.y to the value 6. (5:50) set countdown timer 1 to go off in 1 seconds. (0:50) When countdown timer 1 goes off, (5:301) copy the value of variable %KiwiLocation into variable %KiwiNewLocation. (0:50) When countdown timer 1 goes off, (1:1000) and a random dice roll comes up (8 percent of the time), (5:301) copy the value of variable %KiwiLocation into variable %KiwiNewLocation. (5:302) take variable %KiwiNewLocation.x and add 2 to it. (0:50) When countdown timer 1 goes off, (1:1000) and a random dice roll comes up (8 percent of the time), (5:301) copy the value of variable %KiwiLocation into variable %KiwiNewLocation. (5:302) take variable %KiwiNewLocation.y and add 1 to it. (0:50) When countdown timer 1 goes off, (1:1000) and a random dice roll comes up (4 percent of the time), (5:301) copy the value of variable %KiwiLocation into variable %KiwiNewLocation. (5:304) take variable %KiwiNewLocation.x and subtract 2 from it. (0:50) When countdown timer 1 goes off, (1:1000) and a random dice roll comes up (4 percent of the time), (5:301) copy the value of variable %KiwiLocation into variable %KiwiNewLocation. (5:304) take variable %KiwiNewLocation.y and subtract 1 from it. (0:50) When countdown timer 1 goes off, (1:1011) and position (%KiwiNewLocation) is floor type 116. (1:1013) and position (%KiwiNewLocation) is object type 0. (5:41) place object type 0 at (%KiwiLocation). (5:41) place object type 2411 at (%KiwiNewLocation). (5:301) copy the value of variable %KiwiNewLocation into variable %KiwiLocation. (0:50) When countdown timer 1 goes off, (5:50) set countdown timer 1 to go off in 1 seconds.