I'm pretty sure TFS 1.0 is client 10.77. You need TFS 1.2 or greater for 10.98.
If you want to port it you have to go through each individual file and manually convert it to work with the new distro. Programs like WinMerge can be useful for this.
It's a time consuming task, especially if you're wanting to convert the poke server you've been using. You'll have to use object builder and item editor to bring in all the new sprites and edit the items.xml accordingly.
Link for all TFS 1.2/1.3 methods:
[Lua] TFS 1.3 Functions - Pastebin.com (https://pastebin.com/UNQc3Y7R)