Skip to content

Commit

Permalink
Merge branch 'upcoming' into adjustScoreIncreases
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Jul 17, 2024
2 parents 53d0908 + 23aa9f0 commit 3306730
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/data/trainers.party
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
Trainer and their parties defined with Competetive Syntax
Trainers and their parties defined with Competetive Syntax.
Compatible with Pokemon Showdown exports.
https://github.com/smogon/pokemon-showdown/blob/master/sim/TEAMS.md

A trainer specification starts with a "=== TRAINER_XXXX ==="
A trainer specification starts with "=== TRAINER_XXXX ==="
and includes everything until the next line that starts with "==="
or the file ends.
A blank line is required between the trainer and their Pokemon
and between Pokemon.
TRAINER_XXXX is what the trainer is referred with in code.
and between their Pokemon.
TRAINER_XXXX is how the trainer is referred to within code.

Fields with description and/or example of usage
Required fields for trainers:
Expand All @@ -27,19 +27,17 @@ Optional (but still recommended) fields for trainers:
set to one of Purple, Green, Pink, Blue or Yellow)
- Starting Status (see include/constants/battle.h for values)

Pokemon are then speficied using the Showdown Export format
Pokemon are then specified using the Showdown Export format.
If a field is not specified, it will use it's default value.

Required fields for Pokemon
Required fields for Pokemon:
- Species (Either as SPECIES_ABRA or Abra)
This line also specifies Gender, Nickname and Held item.
Alfred (Abra) (M) @ Eviolite
Roberta (SPECIES_ABRA) (F) @ ITEM_CHOICE_SPECS
Both lines are valid, gender (M) or (F) must be capital letters.
Both lines are valid. Gender (M) or (F) must use a capital letter.
Nickname length is limited to 10 characters using standard letters.
With narrow font it's increased to 12, longer strings will be silently shortened.

Optional fields for Pokemon
With narrow font it's increased to 12. Longer strings will be silently shortened.
- Level (Number between 1 and 100, defaults to 100)
- Ability (Ability Name or ABILITY_ABILITY_NAME)
- IVs (0 HP / 1 Atk / 2 Def / 3 SpA / 4 SpD / 5 Spe, defaults to all 31)
Expand All @@ -54,9 +52,9 @@ Optional fields for Pokemon
- Gigantamax (Yes/No, sets to Gigantamax factor)
(doesn't do anything to Pokemon without a Gigantamax form, also sets "shouldDynamax" to True)
- Tera Type (Set to a Type, either Fire or TYPE_FIRE, also sets "shouldTerastal" to True)
Moves are defined with a - (dash) followed by a single space, then the move name
Moves are defined with a - (dash) followed by a single space, then the move name.
Either "- Tackle" or "- MOVE_TACKLE" works. One move per line.
Moves has to be the last lines of a Pokemon.
Moves have to be the last lines of a Pokemon.
If no moves are specified, the Pokemon will use the last 4 moves it learns
through levelup at its level.

Expand Down

0 comments on commit 3306730

Please sign in to comment.