varkor/pokengine

Check nicknaming Pokémon can't cause issues

Closed this issue · 1 comments

In some places in the battle system, Textbox responses are checked by string rather than by ID. In some places, this might cause an issue, e.g. if you nickname a Pokémon "Run" and then try to switch to it, it might actually cause you to try to escape... amusing but broken.

This is not a problem, as "Run" is a primary command, whereas a Pokémon's name (even if it were used as a parameter, which it is not), is a secondary or tertiary command.