forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move unpackTeam/exportTeam to battle-dex
PR smogon#2164 added duplicate copies of these functions to battle.ts which is already quite overloaded. This temporarily relocates them to battle-dex, in preparation for a longer-term deduplication probably involving moving the storage.js implementation there. The API has been revised slightly, to match the server's sim/teams.ts.
- Loading branch information
1 parent
80521b2
commit 89b6421
Showing
3 changed files
with
254 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.