This is a fixed version of Ted's market script since he has been inactive. I don't intend to develop it, but fix broken parts only, and may update some new items with the progress of the game.
Changelog
There was a memory leak issue but it's expected to be solved now.
Removed all minigames, obsolete features and essence relate stuff.