ID:141649
 
Code:
client/verb/Make_Template()
var/swapmap/S=new("battletemplate",locate(1,1,3),locate(12,12,3))
S.Save()
.=SwapMaps_Find("battletemplate")
world << {"<font color="[(.)?"green":"red"]">The battle template does[(.)?"":" <b>not</b>"] exist!"}
world << {"<font color="[S?"green":"red"]">S (swapmap datum) does[S?"":" <b>not</b>"] exist!"}


Problem description:

Well, back when I made Pokemon TCG (version 1), SwapMaps used to work - though now when I run that old program, it doesn't anymore (which is vital in the game).

I tried the save map in the SwapMaps library file and it doesn't seem to work either.

Anyone else having the same problem and/or know how to fix this? :S

(In the above snippet, it says that the battle template does not exist [and is red] and outputs that S does exist [and is shown as green])