• The moderator of this forum is jetou.
  • Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Programming Making a custom showdown metagame (Assistance requested)

Hello all, I'm a novice programmer unfamiliar with the forum so please forgive me.

I am attempting to code a custom metagame (RS 200) into showdown. I've looked into the source code and I think I've taken the correct few first steps but there are a few unusual elements I'm still uncertain about.

In particular, egg moves. For those unaware, RS 200 is playing Gen 3 as it was back in the day, with only Ruby and Sapphire options available. This means the 200 legal pokemon need to have their tutor and event moves removed (I already have a new version of learnsets.ts where this has been done), but egg moves appear to be a different problem. I'm not certain how Showdown processes egg moves, and problematically, I'm concerned that illegal pokemon will be able to pass egg moves to legal pokemon. For example, Skarmory can only learn whirlwind by breeding with the pidgey line, or chain breeding with something that has bred with the pidgey line. I'm worried that if I just mark the pidgey line as illegal, they could still allow the move to be passed along. How do I make sure that these egg moves cannot be passed? Do I just mark the pokemon as illegal in formats-data.ts or do I need to manually remove all the illegal pokemon's moves from learnsets?

As an aside, I also do not possess a server to run a local version of showdown on to test my modifications with, so I'm particularly concerned of making an error I cannot identify. If there's a workaround to this, that would also be much appreciated.

And finally, any advice on further steps to develop this would be ideal. As of now I've only really been creating the mod files for the metagame, which would ideally go into the data/mods/gen3rs folder. Old threads seem to imply that there are more steps to be taken regarding modifying the showdown client, but these rare threads all rely on broken links now, so they are dead ends.

Any advice would be much appreciated! Thank you!
 
Back
Top