Commit Graph

1803 Commits (05b01400759b76a0b68a7c5efccc712400b6e4c8)

Author SHA1 Message Date
Mistmemo 05b0140075
Add color for the IV scanner (#363)
* Add color for the IV scanner

add a new color SUMMARY_GREEN in text.js, add the green color if the iv of the pokemon is better than the iv on the starter of that pokemon

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>

* fix battle-message-ui-handler.ts formatting

* fix missing similicon battle-message-ui-handler.ts

* modified so it take a boolean instead of doing lot of else if battle-message-ui-handler.ts

---------

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>
2024-04-30 20:32:02 -04:00
Valentin Porchet 7846fdc1e6
feat: added french translation for new entries in menu.ts (#360) 2024-04-30 17:33:34 -04:00
Dakurei c44009738a Add auto detect user language
+ prLang used to override langague detected if necessary
2024-04-30 16:48:37 -04:00
Dakurei 869a5c2d4c Fix tutorials translation fr
+ Fix the length problem of some strings that aren't readable in the game
  + Fix a few typo errors
2024-04-30 16:08:07 -04:00
Dario Krause 1449147121
Update pokemon.ts (#357) 2024-04-30 15:29:56 -04:00
Dakurei 36de62dc8a Fix Pokerus tutorial condition 2024-04-30 15:29:28 -04:00
Madmadness65 c5cc4445c4 Fix Furfrou trims missing shiny graphics 2024-04-30 13:39:16 -05:00
Nero 55dc339647
Bug Fixes and QoL: Minor changes to UI related bugs (#356)
* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing

* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing
2024-04-30 12:42:20 -04:00
Reldnahc 1e7c329928
Implement move wish (#323)
* implement wish move

* Serene grace implementation idea

* only do the thingy if it actually gets effected.

* Revert "only do the thingy if it actually gets effected."

This reverts commit 4b084658d2.

* Revert "Serene grace implementation idea"

This reverts commit 4dd2504bc7.

* Fixes for Wish implementation

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 12:38:24 -04:00
NxKarim 8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) (#353)
* Some Fixes

- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.

- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.

- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.

- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.

* Formatting changes for consistency

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -04:00
Raphael van der Woude c7bd99b345
Added missing menu translations (#355)
* Added missing menu translations

* Added missing translations to other languages

---------

Co-authored-by: Raphael van der Woude <raphael.van.der.woude@dias.nl>
2024-04-30 10:53:00 -04:00
Xavion3 2402b8e6a0 Add overrides to .gitignore 2024-04-30 09:12:19 -04:00
Xavion3 ad5efdf4f9 Refactor overrides 2024-04-30 09:12:19 -04:00
Madmadness65 14cc639654 Small egg move change
Gave Eevee and Pichu replacement egg moves for moves that are now on their level up learnsets. As usual, these are subject to change.
2024-04-29 22:00:42 -05:00
Madmadness65 224fac574a Add Let's Go moves to Pikachu and Eevee's learnsets
Also removed the duplicate Teeter Dance from Spinda's learnset and gave it back Dizzy Punch.
2024-04-29 21:51:08 -05:00
Madmadness65 bd30dca47d Partially implement Battle Bond (Gen 8) & Power Construct abilities
Both abilities are still not fully functional yet (Battle Bond does not interact with Water Shuriken yet, Power Construct does not interact with 10% Power Construct Zygarde, and both forms do not revert after a battle yet), but this is a step to having them both completed.
Battle Bond Froakie line and Power Construct 50% Zygardes (as well as Aura Break 10% Zygardes) can now randomly appear in the wild.
Expect Battle Bond to potentially change to its Gen 9 version at some point in the future, rendering Ash-Greninja inaccessible.
2024-04-29 19:50:29 -05:00
lucfd 7a1895242c
Fixed Fake Out + Pivot move interaction (#347)
* decrement turnCount if pivot move is used

* improved formatting
2024-04-29 13:51:43 -04:00
Thomas David 9575054010
Implement localisation for tutorial (#330)
* Implement localisation for tutorial

* Fix modules name

* Fix keys name

* Fix keys name part 2 : the return

* Add lines breaks in localisation files
2024-04-29 12:33:18 -04:00
ElMoustacho 3b83d0b4d9 Fix typo in french names for a few pokémon 2024-04-29 11:55:34 -04:00
Dario Krause d93b6632c8 Gen 2, 3 de local 2024-04-29 10:00:42 -04:00
Dario Krause 116bf7ee18 Gen 1 de local 2024-04-29 08:38:07 -04:00
Madmadness65 b173000008 Implement Alcremie flavors
...But not all evolution sweets. This way, you can get all the differently colored Alcremies without there being like ~60 different forms.
There currently is an unintended side-effect with Gigantamaxing, where the Alcremie flavor will always switch to Vanilla Cream when reverting to normal, but aside from that, it works fine.
2024-04-29 01:42:02 -05:00
AJ Fontaine 7050e0db6c Fixed Outrage etc. lasting 4 turns 2024-04-28 23:57:40 -04:00
Xavion3 696c31f3e2 Make grass types unable to be seeded 2024-04-28 23:33:13 -04:00
Flashfyre 891b18592e Disable source map in Vite config 2024-04-28 23:21:22 -04:00
Flashfyre bc4d1207b9 Disable source map 2024-04-28 23:15:12 -04:00
Madmadness65 b72b4cffed Implement Furfrou forms
They can be randomly encountered like many other multiple form Pokémon. Like canon, they do not have any statistical changes, just cosmetic.
2024-04-28 21:58:55 -05:00
Flashfyre 9641d77bba Re-add shiny override EXCEPT FALSE THIS TIME 2024-04-28 22:03:29 -04:00
Madmadness65 6f078f4645 Minor fix to Roughneck's possible names 2024-04-28 20:02:06 -05:00
Flashfyre 7115683274 Increment game version 2024-04-28 20:45:04 -04:00
Flashfyre 57ece2c1d7 Revert "Add shiny and variant debug override"
This reverts commit 21482a641b.
2024-04-28 20:41:38 -04:00
Flashfyre 0b438d0ff4 Revert "Add temporary double wild shiny chance"
This reverts commit 4607782578.
2024-04-28 20:30:12 -04:00
Flashfyre 21482a641b Add shiny and variant debug override 2024-04-28 20:30:03 -04:00
Xavion3 b43a6ec764
Fix end catching (#332)
* Fix end catching

* Remove fusion code
2024-04-28 10:52:43 -04:00
Lugiad c09a0254ef French moves typos 2024-04-28 10:31:13 -04:00
Flashfyre a9a9e512a0 Revert "Auto select language implementation"
This reverts commit 5fd7b368e2.
2024-04-28 10:01:29 -04:00
Thomas David 5fd7b368e2 Auto select language implementation 2024-04-28 09:38:16 -04:00
Flashfyre 854de76467 Improve handling of variant data overrides for mixed animated mode 2024-04-27 18:06:41 -04:00
Flashfyre 55f68c0ce6 Fix DNA splicer exploit 2024-04-27 15:52:21 -04:00
Flashfyre 51408a0c9d Add missing animated Toxapex variant sprites 2024-04-27 01:13:03 -04:00
Flashfyre 014c13b95b Add workaround for crash with static variant sprites 2024-04-27 00:54:10 -04:00
Flashfyre 03ba74844f Fix biome being able to change before a boss in endless 2024-04-26 23:53:09 -04:00
Madmadness65 3a1393c828 Replace Archaludon and Hydrapple's graphics 2024-04-26 22:00:28 -05:00
dpMelian 0b13844d4a
Fix issue #312 -> set proper french name for move "smog" (#313)
* fix: set proper french name for move "smog"

* fix: set proper french description for move "smog"
2024-04-26 22:35:39 -04:00
Madmadness65 e362289d57 Implement Spirit Shackle
It's a pretty basic trapping attack
2024-04-26 20:40:28 -05:00
Madmadness65 2cb5aad8b1 Mark Core Enforcer as partial
No coding for it yet, but it can function as a regular attack in the meantime.
2024-04-26 20:01:24 -05:00
Flashfyre 00150fd0bb Fix using wrong variant value when fusing 2024-04-26 20:11:37 -04:00
Flashfyre 4607782578 Add temporary double wild shiny chance 2024-04-26 19:57:38 -04:00
Madmadness65 e475d566b6 Revise egg moves again
These revisions spans across all generations with vastly different moves. Once again, if moves seem weird or too overpowered, please bring it up in the egg move discussion thread.
2024-04-26 18:50:14 -05:00
Flashfyre f281605146 Fix wild shiny luck generation 2024-04-26 19:36:27 -04:00