* fixing order of messages, scences, to render messages before fainting
* updated fix for effectiveness text rendering order for multi hit moves
* fixing messages not appearing for multi-hit moves on faint
* updated multi-hit condition)
* fixing PR conflicts
* adding comments and FaintPhase setPhaseQueueSplice bug, fixing overrides merge conflict
* writing better comments
* removing space diff in overrides
* adding fainting check for self damage moves
* emergency fixing broken last commit
* additional comments for multi-hit problem
* updating comments, jsdoc style
* fixing linter, destiny bond errors
* splitting up varaible comments to be in JSDoc format
* fixing tests and merge mistakes
* adding rendering of multihit moves that only hit once
* fixing comment formatting_tabs and spaces
---------
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
* [Sprite] Show Partner Eevee variants
Taken from non-partner Eevee
* [Sprite] Show Partner Eevee variants
Taken from non-partner Eevee
* [Sprite] Show Partner Eevee variants
* Added basic temp renaming
* Made nickname persistant after reloading
* Localization and cancel button
* Fixed instant rename on active pokemon
* Small bugfix to prevent console errors
* Changed logic to use the new nickname field. Replaced most .name with getNameToRender() for display.
* Changed evolution message. Removed log messagesc
* Added localization keys for other languages
* Removed empty lines
* French translation
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Chinese translation
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Portuguese (Brazil) translation
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Korean translation
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update menu.ts
* Update menu.ts [Localization(it)]
* Changed most .getNameToRender() instance to getPokemonNameWithAffix()
* Changed wild encounter messages back to just use the name without affix.
* Added localization for the party ui rename selection
* Escaping nickname characters to support all characters
* Better Error handling
* Update src/field/pokemon.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Finish implementation of Glaive Rush
* Fix test RNG
* Add code/test for Multi-Lens interaction
* Fix off-by-one error in test caused by rounding issues
* Update for code changes
* Fix BattlerTag name
* modify trace trigger description (refered from official translation)
modify trace trigger description (refered from official translation)
* modify trace trigger description (refered from official translation)
modify trace trigger description (refered from official translation)
* 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.