* Added Counter TM
* Counter, Aqua Tail, Gastro Acid, Pluck, Secret Power, Aurora Veil, Incinerate
* Placed TMs in proper order, added to pool
* Add Secret Power to the pool
* Add TM for Synthesis
* Covet, Heal Bell, PUPunch, Recycle, Volt Tackle, Worry Seed
* Remove species specific TMs
* Remove Secret Power TM until implementation
* Replacement of the BGM in the sea biome (by Andr06)
* Modification of BGM credits in README.md
* Replacement of the BGM name by the title chosen by its composer in all languages
* Update BGM loop point for biome 'SEA'
* [Sprite] Add static epic Mega Mewtwo Y
Colours taken from exp, as consistent/exp rare backs share palettes.
* [Sprite] Fix transparent pixels on Mega Mewtwo X
* [Sprite] Fix transparent pixels on Mega Mewtwo X
* [Sprite] Add static epic Mega Mewtwo Y
Now exists, and is a paletteswap
* fix: damage multiplier by the number of targets
* fix: used actual number value rather than the number holder
* test: added unit test for counting targets
* multi-target: fixed names of the unit tests.
* test: simple-test changes
* test: changed multi-target test code
* test: testing damage decreasement
* test: multi-target test fix
* resolved conflicts in test
---------
Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
* Replacement of the BGM in the slum biome (by Andr06)
* Modification of BGM credits in README.md
* Replacement of the BGM name by the title chosen by its composer in all languages
* Update BGM loop point for biome 'SLUM'
* [Sprite] Remove normal Larvesta stray pixels
Taken from original commit
* [Sprite] Revert shiny Larvesta stray pixels
Taken from original commit
* [Sprite] Match variant Larvesta colours
* Tests MovePhase with new PokemonMove instead of moveset search
* Accounts for metronome call on charging moves
* Update comment in ChargeAttr to be clearer
* Creates function to get type resistances, implements conversion 2
* Removes unimplemented tag, adds condition for move history to exist
* Cleans up type selection, creates i18n entries for typeChanged
* Uses typeChanged i18n in Conversion move
* More detailed docs, early return with stellar/unknown type
* Adds note that it wont track type-changing moves properly
* Rephrases doc description, adds partial since it can't track type-changing moves
* Updates localization, removes typeChanged entry to use move-trigger entry
* Missed locale de entry in last commit
* Adds comment for reason of .partial()
* Fixes localization error due to revert, removes improper merge conflict from prior commit
* Remove magic number from Belly Drum's attr
* Remove redundant damage number popup
* Fix merge issue and remove another duplicate damage number instance
* ReceivedMoveDamageMultiplierAbAttr patch: WIP refactored damage calculation, reordered ReceivedMoveDamageMultiplierAbAttr to avoid issues with fixed damage and OHKO moves, stubbed unit tests for dragon rage (fixed damage) and fissure (OHKO)
* ReceivedMoveDamageMultiplierAbAttr patch: commented concerns regarding EnemyDamageBooster/ReducerModifier for others' reference in WIP branch
* ReceivedMoveDamageMultiplierAbAttr patch: reordered ReceivedMoveDamageMultiplierAbAttr and EnemyDamageBooster/ReducerModifier to not trigger for fixed damage and OHKO moves, completed relevant tests for dragon rage and fissure
* ReceivedMoveDamageMultiplierAbAttr patch: removed newline
* ReceivedMoveDamageMultiplierAbAttr patch: in the unit test, extracted hard-coded Dragon Rage damage to a variable
* ReceivedMoveDamageMultiplierAbAttr patch: naming consistency
* ReceivedMoveDamageMultiplierAbAttr patch: replaced awaiting DamagePhase with TurnEndPhase as the former assumes damage will be done
* ReceivedMoveDamageMultiplierAbAttr patch: removed redundant overrides in Fissure tests
* ReceivedMoveDamageMultiplierAbAttr patch: tests: refactored crit removal, removed berries, fixed bug associated with Porygon sometimes getting Trace and copying the opponent's ability, which would override the manual ability override
* Fixed unit tests
* Added a comment and cleaned up an existing one
Fixed a floating pixel in epic shiny Yungoos' icon. Caused by Mimikyu's epic shiny sprite being placed too high on the sprite sheet. Moved Mimikyu's sprite down and updated json to reflect the change.
* Offset the status indicator to keep pokeball in view
* Only use offsetX when the Pokemon is the enemy
* Adjust position to accomodate boss health bar
* refactor power calc, fix battery & power spot
* fix hard press unit test
* fix hard press
* refactor tests
* use sypOn hp instead
* rename method
* cleanup tests
* improve tests
* use slow vs fast pokemon
* fix steely spirit test
* fix steely spirit for real this time
* remove unnecessary test
* address pr feedback
* add removed code
* Made FormChangeItems untransferrable. Replaced getTransferrable()
* Made isTransferrable readonly. Removed unnecessary 'm as PokemonHeldItemModifier'.
* Changes getMoveHistory to getLastXMoves to fix sketch copying first move used instead of last
* Optimizes move search and early return
* Reverts check for virtual moves
This commit updates the `trainerId` and `secretId` properties in the `GameData` class. The values are replaced with the corresponding values from the `this.trainerId` and `this.secretId` variables. This change ensures that the `trainerId` and `secretId` are correctly updated in the game data.
The current implementation of the isBeta check in utils.ts is using import.meta.env.DEV, which gives the same value for both beta and dev environments. This commit updates the check to use import.meta.env.MODE === "beta" to accurately determine if the environment is beta. This ensures that the unlock all code is only accessible in the beta environment and not in production environments.