I was going through some of my old PuzzleScrpts and found this. It's not perfect but better than I remembered so decided to share. It's basically a polished version of the mechanics I used in Princess of Isometria.
--
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.