(0:0) When everything is starting up,
(5:300) set variable %block to the value 0.
(5:300) set variable %chance to the value 0.
(5:300) set variable %check to the value 0.
(5:300) set variable %digi to the value 0.
(0:1) Whenever somebody moves,
(1:200) and variable %block is equal to 0,
(5:312) set variable %chance to the total of rolling 1 dice with 10 sides plus 0.
(0:2) When somebody moves into floor type #,
(1:200) and variable %chance is equal to 1,
(5:300) set variable %block to the value 1.
(5:350) set variable %check to the X,Y position the triggering furre (moved from/is standing at).
(5:200) emit message {A digimon has appeared! drop your digivice!} to whoever set off the trigger.
(0:18) When somebody drops object type #,
(1:19) and they (moved from/are standing at) position (%check.x,%check.y),
(1:17) and they (moved from/are standing at) floor type #,
(5:312) set variable %digi to the total of rolling 1 dice with NUMBER OF DIGIMON sides plus 2553.
(3:5) where the triggering furre (moved from/is standing at),
(5:4) place object type %digi.
(5:300) set variable %block to the value 0.
(5:300) set variable %chance to the value 0.
(5:300) set variable %check to the value 0.
(5:300) set variable %digi to the value 0.
(0:1) Whenever somebody moves,
(1:19) and they (moved from/are standing at) position (%check.x,%check.y),
(5:300) set variable %block to the value 0.
(5:300) set variable %chance to the value 0.
(5:300) set variable %check to the value 0.
(5:300) set variable %digi to the value 0.