Pokemon clone/General RPG engine in Lua