Commit Graph

2732 Commits

Author SHA1 Message Date
Opaque02 91abddb693
[QOL] Updating pokemon-info-container to show what is new when you catch/hatch a pokemon ()
* Adding UI elements for new gender, ability and nature

* Added new indicators for shiny, gender, ability and nature

* Changed position of gender icon to top left

* Changes with logging and old (+) indicators for nature, form and ability

* Updated to remove old code and comments, as well as various console logs

* Updated commented code

* Addressing PR feedback

* Updated form to have a label and form name, along with cutting off the form name if it's too long

* Updated stats container to move some labels around so there's less text clumped together

* Removed some old commented code

* Fixed some issues with typing and naming

* Accidentally pushed my overrides.ts before :). Sorry!

* Updated the form name's hover over section to only work when the text is truncated

* Updating the gender check to work off DexAttr instead of a weird 2

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 23:44:38 -04:00
Munbin-Lee 54aabceb29
[Localization][ko] Fix minor typo in hiker dialogue () 2024-06-09 21:26:33 -04:00
MadridPawmot 5cb8bb7fda
[Localization][es] Translated Ice Face text to Spanish ()
* Translated Ice Face text to Spanish

* Added affix
2024-06-09 21:15:39 -04:00
layharu0 033c966f1b
[Localization][ko] Challenges gen4 desc typo fix () 2024-06-09 21:02:05 -04:00
Greenlamp2 d03c75c2f9
[QoL] Improve Input Accuracy by Refactoring Button Handling ()
* refactored inputs-controller for better hold button management

* refactored the touch controls file to use a class and add holding button system

* added a method to deactivate pressed key for touch on focus lost

* better lost focus management
2024-06-09 19:15:37 -04:00
Tempoanon f6ad30b58f
[Feature] Add evil teams assets ()
* Fix tinted caught icon false positive

* Remove unused import

* Rename and optimize

* Block comment

* Draft of evil team grunt pokemon pools

* Add graphics and music

* Add grunt spawn logic

* Add Giovanni

* Add team leader graphics

Giovanni and Ghetsis already have sprites, so they do not need added.

* Add teams for other evil team bosses

* Fix some typos and change hp bars to 2/2/2

* Fix sprites and add random team boss

* Add forced grunt encounter and update dialogue

* Update locales

* also lint en trainers

* More merge conflicts

* Deleted some duplicate images

* Correctly renamed the grunt files

* Forgot about team rocket

* New Magma Sprites

* Adjusted the trimming. Now they dont have as huge of a shadow bbelow them

* Fix grunt sprites

* Add real dialogue

* German Localization of the Dialogue

* Changes

* Tweak waves grunts spawn on

* Fix some typos in dialogue

* Y is canon

* Disable evil team spawns

* Fix another merge conflict

---------

Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Jannik Tappert <tappertjannik@googlemail.com>
2024-06-09 19:02:29 -04:00
Dakurei 7ce209dd02
[Localization][fr] Fix FR typo 'Desert' instead of 'Désert' () 2024-06-09 17:26:03 -04:00
José Ricardo Fleury Oliveira 0d7af746ff
[Localization][pt] female achievements () 2024-06-09 16:23:20 -04:00
Jannik Tappert ede56987f9
[Localization] Added german localization for challenges ()
* Added german localization for challenges

* Update src/locales/de/challenges.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-06-09 16:11:51 -04:00
Charlie Giang c746d0723f
[Move] fix for sparkly swirl apply check ()
fix for sparkly swirl apply check

Update move.ts

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 16:08:33 -04:00
kvngrnr aba9310ddf
[Enhancement] Color code for used PP in fight UI ()
* Colorcode pp in fight ui if only half/quarter of maxPP is left

* Use three-level color coding for remaining pp

* use if/else for calculating pp color

---------

Co-authored-by: Kevin Greiner <greiner@infai.org>
2024-06-09 15:30:33 -04:00
José Ricardo Fleury Oliveira 8807efe002
[Localization][pt] Fixed ace trainer name typo () 2024-06-09 15:27:55 -04:00
ReneGV fdc2d1cd02
[enhacement] Show Egg tier icon on starter UI ()
* Show Egg tier on starter UI

* Use CamelCase on method name

* Remove egg if evolved

* Adding ts-doc
2024-06-09 12:45:21 -04:00
Jannik Tappert a99bcbce3d
[Localization] Achievements are now based on Player Gender (because some languages differ based on that). ()
* Achivments(localization of name and description) now depend on the player gender

* Fixed Name in ptBr config

* Now the achivments are also shown with a gender specific title

* Changed it so it checks if PlayerGender is undefined first

* Update src/locales/de/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/en/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/es/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/fr/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/it/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/ko/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/pt_BR/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/voucher.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/zh_CN/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/zh_TW/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* instantiate player gender on in AchvBar constructor

* Reverted the change made only for the tests. And adjusted the import to use the new enum file

* Changed a import to make vite build it again correctly

* Again some changes to the imports for the github docs that was complaining

* The new challenges are also now localized and gender based

* Readded getDescription

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-06-09 12:40:23 -04:00
Ei c77508aef3
[Bug] Fixed getAttackMoveEffectiveness () 2024-06-09 12:37:50 -04:00
sodam 10ffe04274
[Localization][ko] Korean trainer dialogue (other unnamed trainers) ()
* localized other unnamed trainers's dialogue

* Update src/locales/ko/dialogue.ts

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>

* Update src/locales/ko/dialogue.ts

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>

* Update src/locales/ko/dialogue.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

---------

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-09 12:29:15 -04:00
José Ricardo Fleury Oliveira 6e599de870
[Localizatoin][ptBR] achievements () 2024-06-09 12:22:18 -04:00
Tempoanon 04bad2e15d
[Feature] Update E4 teams ()
* Update E4s

* Accidentally made double Poliwrath

* Fixed some typos in the champ part

* Update based on Fontbane's comments
2024-06-09 12:20:00 -04:00
InnocentGameDev 81431c9ad5
[Localization] Locales punctuation fix in descriptions in (en/es/de/it/fr/ko/pt/zh) modifier-type.ts, and other German locales punctuation fixes ()
* Fix locales punctuations

  In: en, es, fr, it, pt_BR, zh_CN, zh_TW, de, ko

  + Fix somes locales

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/ko/modifier-type.ts

Shiny/Ability charm punctuation fix by MrWaterT

Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
2024-06-09 11:57:53 -04:00
Greenlamp2 67cb79a435
revert changes in trainer.ts to fix an issue induced by () 2024-06-09 10:54:15 -04:00
Xavion3 d06e5d2fc6
Fix doubles battles bugs with challenges ()
* Fix doubles battles bugs with challenges

* Make a fully illegal party gameover instead of error
2024-06-09 14:37:33 +02:00
Madmadness65 c1405c7fd6
[Hotfix] Add Mixed Battle BGM entries for the Gen 1-5 trainers ()
* Add Mixed Battle BGM entries for the Gen 1-5 trainers

* Also fix regular trainers
2024-06-09 01:48:32 -05:00
td76099 8a0eaa0009
[Bug] Fixing multi-hit drain moves so they heal based on individual hit and not total turn damage () 2024-06-08 23:53:03 -04:00
Matthew ce3a9c9c87
artist request base shiny revert () 2024-06-09 12:28:56 +10:00
Madmadness65 67a0ae49b3
Add new Gym Leader, Elite Four, and Champion music () 2024-06-08 20:51:37 -05:00
SquillWall a1171eceb9
[QoL] Show currently bound controls on starter menu for last active device ()
* show currently bound controls on starter menu for last active device

* add special handling for touch controls

* remove hardcoded controls for all locales
2024-06-09 03:35:11 +02:00
Xavion3 07f0a67c78
Make getTypes ignore transform when ignoring overrides () 2024-06-08 21:08:30 -04:00
Xavion3 f0a826b8f4
[Bug] Fix Victini's generation for challenges. ()
* Make victini count as gen 5 challenge instead of 4

* Add comment
2024-06-08 21:06:36 -04:00
Pancakes ae02943b16
Use secure cookies 2024-06-08 21:03:33 -04:00
40chyan 60a3edb918
[Localization] challenge.ts zh_cn translation ()
* Update challenges.ts

* Update challenges.ts
2024-06-08 19:06:27 -05:00
Xavion3 8e0e8952da
Fix switching moves in challenge mode () 2024-06-09 01:05:18 +02:00
Greenlamp2 dd40c8caa2
added silent option to run tests and added a missing properties in the MockText () 2024-06-08 21:24:57 +01:00
Greenlamp2 c301a54039
[Improvement] Refactored Test Phase Management with Error Handling ()
* better phase management in tests

* cleanup runFrom/to

* first step of async error handling

* second step of async error handling, halt await, still an issue with select-starter test

* added back whenAboutToRun

* added back full run suite for starter-select.test.ts
2024-06-08 20:54:20 +01:00
SeafoamQueen 0af0ad5b49
[Bug] Fix run away ability ()
* Added fix for Run Away ability being trapped by trapping abilities.
Added fix for ghost type pokemon not having a 100% chance to run from battles.

* Removed log statement

* Removed commented out code

* Removed ghost type run away mechanics
2024-06-08 15:46:16 -04:00
Yentis 3f9eaf4a5d
Add setting for showing type effectiveness hints ()
* type hints

* fix overwritten change

* don't set color to white, just leave it unchanged

* remove unrelated code

* don't show hints if no opponents, use type effectiveness instead of move effectiveness

* fix color not going back to white when new opponent is sent

* move effectiveness to move info container

* add effectiveness overlay, partial hints only show move effectiveness, improve colors

* lint

* docs

* remove full hints, move container to right of enemy info box

* hide effectiveness while flyout is visible

* move setting to display, use default style color instead of white
2024-06-08 15:33:13 -04:00
Adrian T 5e5ece868c
[Localization][es] Add missing curly brace () 2024-06-08 15:04:50 -04:00
MadridPawmot 281f0df220
[Localization][es] Update menu.ts () 2024-06-08 14:47:01 -04:00
Lugiad 751e28d2fc
[Localization][fr] French update the menu.ts ()
* Update French menu.ts

* Update French menu.ts
2024-06-08 14:38:52 -04:00
MadridPawmot 66734c396b
[Localization][es] Spanish translation ()
* Translated challenges.ts to Spanish

* Added Spanish translation

* Added Spanish translation

* Translated Pokerogue exclusive items to Spanish
2024-06-08 14:35:51 -04:00
José Ricardo Fleury Oliveira 40727bdc16
[Localization] Localize "Loading asset:" text ()
* localized "Loading..." texts

* fixes

* localized loading asset

* fix
2024-06-08 14:34:05 -04:00
José Ricardo Fleury Oliveira 480a2568a9
[Localization] Fixed the localization of getModeName and "Wave" text ()
* localized getModeName

* wave fix
2024-06-08 11:28:45 -04:00
José Ricardo Fleury Oliveira 7cee16cee2
[Localization] Localized game-mode and save-slot-select-ui-handler ()
* localized game-mode and save-slot-select-ui-handler

* Update src/locales/de/game-mode.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/save-slot-select-ui-handler.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update French save-slot-select-ui-handler.ts

* Update French game-mode.ts

* Update French game-mode.ts

* Update Spanish game-mode.ts and save-slot-select-ui-handler.ts

* fixes

* fix 2

* Update src/locales/ko/game-mode.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/ko/save-slot-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* fix 3

---------

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: GoldTra <ericpazos02@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-08 11:03:01 -04:00
José Ricardo Fleury Oliveira 3c94d5aa83
[ptBR Localization] Added many translations ()
* translations

* english parity
2024-06-08 10:53:25 -04:00
dorri-riddo 1fdfc6256f
[Localization] Korean trainer dialogue (blueberry academy) ()
* [Localization]  Korean trainer dialogue (blueberry academy)

* 오타 수정
2024-06-08 10:29:59 -04:00
Lee ByungHoon a4cb75aaf0
[Bug] Fix to show current locale in setting ()
* [Bug] Fix to show current locale in setting

* Add default value of lauguage option
2024-06-08 10:15:53 -04:00
Lugiad bd5d16802a
[Localization] Added French localization for challenges ()
* Update challenges.ts

* Update French challenges.ts

* Update French challenges.ts

* Update French challenges.ts

* Update French challenges.ts
2024-06-08 09:51:29 -04:00
sodam 64d36c9864
[Localization] Added Korean localization for challenges ()
* traslated challenge mode script

* modified my mistake

Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>

* deleted unnecessary word

---------

Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>
2024-06-08 09:49:17 -04:00
Seonghyeon Cho 2d9f05030b
[Localization] Fix typo in skill name (비검천충파 -> 비검천중파) () 2024-06-08 09:47:35 -04:00
hayuna b4cf80a984
[Bug] Override battles into single only if not fighting with trainers () 2024-06-08 09:41:56 -04:00
Jannik Tappert 3ef495c126
Fixed Spelling mistake in Tate & Lizas Double Dialogue () 2024-06-08 19:59:49 +10:00