* Add HOME relearner for LA
* Update dex-species.ts
Workaround for a crash caused by using the LA mod in dexsearch
* Fix more crashes
* `gen8legendsarceus` -> `gen8legends`
* Allow BDSP moves to be learned via HOME relearner
* Update team-validator.ts
Commented out my changes to see if this was causing a test to fail; turns out my code isn't at fault.
* Update team-validator.ts
* Don't get learnset for Pokemon that don't exist in BDSP
Without the isNonstandard check, the learnset will be taken from the base learnsets.ts file, which could result in detecting moves that are actually not from BDSP.
* Fix BDSP legality
* Update team-validator.ts
* Fix test and learnsets
* Update data.js
* Prevent illegal transfers to/from BDSP
Nincada from outside BDSP cannot be sent to BDSP, Nincada from BDSP cannot be sent to other Switch games, and Spinda cannot be sent from or to BDSP. Currently this has no effect in regular Gen 9, but it technically does in Gen 9 Natdex (I have no idea if anything changes), and it may affect future generations.
* Allow AVs should take happiness into account
* Default happiness is already set in pokemon.ts
* Default happiness in the validator
natureModify only receives the set, not the actual Pokemon :/
* Implement Let's Go Normal Rules
* Fixes
* Remove EV limit
* Remove condition
* Add EV Limit = 0
Avoid "Pokemon has exactly 0 EVs - did you forget to EV it?"
* Final fix
* Happiness is fixed to 70
* Revert changes
* Rename Let's Go to LGPE
* Re-add comment
* Change Scream Tail's ability
* Balls Random Battle: Initial Commit
* Fix errors
* fix 1 more error
* Team Generator Temp Fix + Add Broadcast
* actually add the broadcast message
* Add new Virus sprite
* Add new Virus sprite for real this time
* Modify HP after forme regression
* Clip negative HP
* Change method name
* Don't reveal illusion
Should be redundant
* Move message timing
* Fix dynamax
* Clip HP for possible OMs
* Check using baseMaxHp
* Conditions.........
* Use ternary operation
* Fix comment
* SideConditionStart event should target the side with the condition
* Use Slayer95's approach
* Delete data/mods/gen9fe/abilities.ts
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Move the gender logic to the validator
* Modify test seed
* Modify seed for other test
* Fix for RandBats
* Remove gender enforcement
* Revert "Remove gender enforcement"
This reverts commit c9c66a3725.
* Allow choosing genderless Pokemon
Without this, genders will always default to '' and never to 'N'
* July PMOTM Initial Commit
* Clean up conditions.ts and items.ts
* Clean up abilities.ts
* Clean up pokedex.ts
* Clean up moves.ts Pt. 1
* just changing shelter (i keep losing track of lines)
* Clean up moves.ts Pt. 3 (lost track of lines again)
* Clean up moves.ts Pt. 4
* Clean up moves.ts Pt. 5
* Final clean up Pt. 1
* Final clean up Pt. 2
* Final clean up Pt. 2.1
* Final clean up Pt. 3
* desert storm fix
* desert storm "fix"
* Add VaporeMons to teams.ts
* Remove gen9fe from formats.ts
* Adding VaporeMons Randbats Sets Pt. 1
* Fix Ditto
* Add Randbats Sets Pt. 2
* Add Randbats Sets Pt. 3
* Shorten Garganacl's line
* Fix Typo
* Add Randbats Sets Pt. 4
* Fix error
* Final Randbats Sets
* Minor bugfixes
* Remove Speed-boosting Natures
* Extremely Minor Fixes
* Fix Vaporemons issues
* Fix style errors
* Fix Death Aura & Fair Fight not ending
* Remove test format and Fusion Evolution
* Give Skarmory Sledgehammer Blow
* Fix Illusion's flags
* Add Illusion Level Mod
---------
Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
* Add Pick Team rule
* Make Team Preview and Pick Team mutually exclusive
* Automatically apply rule if Picked Team Size exists without preview
* Remove mutually exclusive part
* Move teamsize to start action
* June PMOTM Initial Commit
* Initial Cleanup Pt. 1
* Initial Cleanup Pt. 2
* Initial Cleanup Pt. 3
* Initial Cleanup Pt. 4
* Fix Trailing Spaces
* Fix Indents
* Fix initial style errors
* One more small fix
* Initial random-teams.ts creation
* Shorten Line
* Add Egg Groups
* More cleanup Pt. 1
* More cleanup Pt. 2
* Remove assertion
* Final Ability Cleanup for now
* Bring scripts.ts to modern conventions
* Fix indent and line length
* Temporarily change unit tests to not bug out
* Temporarily change unit tests to not bug out
* Add format, fix style
* Fix two more minor errors
* Fix Random Teams Error
* Change opening message
* Add Sprite Viewer
* fix 696 indents at the same time
* Remove fix for local-only bug
* Move Bad 'n Boosted to challengeable OMs
* Update config/formats.ts
---------
Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Activate Wonder Guard if the target is immune
* Lint
* Correctly check for immunities
* Refactor runImmunity
* Change all move.type to move
For example, this fixes Thousand Arrows vs Air Ballon Terapagos. Tera Shell was not activating.
* Remove unnecessary cast