Commit Graph

2325 Commits

Author SHA1 Message Date
Frederico Santos
4a29532b5e
Rename trainer files to use "school_kid" instead of "student" (#962) 2024-05-16 05:17:50 -05:00
Alessandro Bruzzese
5fe69fff9c
Update italian egg.ts (#958) 2024-05-16 04:19:10 -05:00
Alessandro Bruzzese
3f40225d4b
Update italian weather.ts (#956) 2024-05-16 04:14:21 -05:00
Jannik Tappert
35afbf6e44
Added german egg localization (#955)
* Added german egg localization

* Changed pull back to english since there isnt enough space for a german word that makes sense and most if not all german players understand "pull"

* This comma was too much
2024-05-16 04:13:57 -05:00
Alessandro Bruzzese
88fab1dc5f
Update italian menu (#954) 2024-05-16 04:13:27 -05:00
Gerafique
36d0243122
Update translations menu-ui-handler.ts (#946)
changed logout
added Save_and_quit message
2024-05-16 04:12:58 -05:00
mercurius-00
e5cd95859d
Chinese localization supplement and fixes (#945)
Co-authored-by: hjh <j1441257360@163.com>
2024-05-16 04:10:11 -05:00
Lugiad
41a0e90ab0
Minor Adjustment to French pokemon-stat.ts (#864) 2024-05-16 04:06:52 -05:00
Jannik Tappert
b06190c4e7
Issue #745 localized trainer names trainer classes and titles (#752)
* Issue #745 - Added the option to localize titles, trainer names (for important trainers like elite 4, champs etc) and trainer classes.

- Also i already did the whole localization for german (sorry thats the only language is speak other then english...)
- Also renamed the trainer Type "student" to school_kid (because there apparently really is a trainer class called student since the gen 9 dlc)
- And i changed it so it makes sure that i18 only gets initalized once (it may be needed to initalize it before the loading phase so the elite 4 titles etc can be localized)

* Issue #745 - Removed stuff that wasnt meant for this branch

* Translation of French trainers.ts

* Translation of French trainers.ts

* Translation of French trainers.ts

* Fixed spelling on german translation

* Fixed name of Hex Maniac

* ADded missing "," that were lost in the merge

* For Trainer Classes that have a female and male variant the correct name is now choosen. (If a language has both).

Also added a safety net that if the female version does not exist it uses the one without the suffix

* Reverting override.ts

* Added ptBR trainers.ts (thanks to zé ricardo on discord)

* Updates Pokefan to reflect the correct english spelling (in all languages that still have the english defaults)

* Updated Rich_kid trainer typ to named correctly as "Rich Boy" in english and all non yet localized languages

* Added that the title will get made lower case so the rival is correctly set

* Reverted a formatting change that i didnt make intentionally

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-16 04:05:25 -05:00
0xLondre$
1254ca5c4c
New spanish translations (#729)
* New spanish translations

* KO translation

* hitResultSuperEffective IX gen
2024-05-16 03:52:26 -05:00
Alessandro Bruzzese
8dce9fa2f9
Added splash messages literals for all languages (#600)
* Added splash messages literals for all languages

* Removed debug code + fixed function casing

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 03:37:40 -05:00
Valentin Porchet
975d1ed562
feat: added localisation for eggs and french translations (#403)
* feat: added localisation for eggs and french translations

* fixes on french translations after review

---------

Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 03:31:50 -05:00
Jannik Tappert
482accda18
Added german modifier-type.ts localization (#949)
* Added german modifier-type.ts

* Fixed Text that was to long and added missing formatting

* Fixed a key that was wrong

* Changed never_melt_ice again. Now it the same as in other languages
2024-05-16 03:23:47 -05:00
Gerafique
0365ca8826
Added weather.ts GER translations (#953)
added translations for each weather-type
2024-05-16 03:22:04 -05:00
Gerafique
b30f73fb72
Update GER translations starter-select-ui-handler.ts (#952)
added uncaught
corrected ability
2024-05-16 03:18:01 -05:00
Benjamin Odom
8508ee7bc6
Semi-Invulnerable Hit Checks Count as Miss (#904)
Fixed an issue where targeting the user of a  Semi-Invulnerable move caused the move to cancel. These moves now miss instead.

No Guard and other accuracy locking moves still function as they were already duplicating their check in hitCheck. Fixed an issue where IGNORE_ACCURACY was checking against the current move for targets instead of Lock-On's target
2024-05-16 02:05:36 -05:00
FanHua
77cfa58078
fix: EXP_SHARE should not have a group parameter (#948) 2024-05-16 01:49:07 -05:00
FanHua
0aca9aed9c
fix: FULL_RESTORE should now heal status (#947) 2024-05-16 01:17:29 -05:00
Madmadness65
fff2eda127 Add additional form change entries for Terapagos
It still can't switch from it's Terastal form to Stellar form yet, but this is in preparation for it.
2024-05-16 00:26:27 -05:00
FanHua
b82b8c31d1
Fixed the incorrect translation key for ‘Never-Melt Ice’ (#944)
* Fixed the issue with the incorrect translation key for ‘Never-Melt Ice’

* fix typo

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 00:18:06 -05:00
Ice
b9d48e9138
Change seed flare stat drop to 2 stages (#943) 2024-05-16 00:12:19 -05:00
FanHua
5fa57d42a6
Fix the issue where ‘TerastallizeModifierType’ uses the wrong translation key. (#942) 2024-05-16 00:00:47 -05:00
FanHua
b5ae8330a2
Implements localization for ModifierType (#887)
* Implements localization on ModifierType

* All languages' translation fallback to EN locale

* Fixed some typos

* Add missing QUICK_CLAW translation entry
2024-05-15 23:32:45 -05:00
Ice
3781f581cc Fix potion weight logic 2024-05-15 19:51:33 -04:00
Lugiad
a5bafe5c47
Corrections to French menu.ts (#932)
* Corrections to French menu.ts

* Corrections to French menu.ts
2024-05-15 16:43:28 -05:00
José Ricardo Fleury Oliveira
1b751dddec Update translations in pt_BR/menu.ts and pt_BR/weather.ts 2024-05-15 15:25:35 -04:00
José Ricardo Fleury Oliveira
04866e503a
Minor translating fixes and Save and Quit in ptBR (#928)
* Minor fixes in menu-ui-handler

* Minor fix in menu.ts
2024-05-15 15:24:47 -04:00
Lugiad
2778eb2651
French weather.ts corrections (#923)
* French weather.ts corrections

* French weather.ts corrections
2024-05-15 13:05:07 -05:00
Surinam
b8dff030aa
Weather & evolution i18n with french translations (#380)
Co-authored-by: Marius MICHAUD <marius@lacomstore.com>
2024-05-15 12:31:18 -05:00
Adrian Torrano
44c0d29c1d
Add missing translation for learning move (#879)
* add missing translation for learn move

* fix countdown german translation

* Fix countdown French translation

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-15 11:42:34 -05:00
Flashfyre
78f7965304 Revert "add logic to conditionally align window (#851)"
This reverts commit 7769c06393.
2024-05-15 12:22:32 -04:00
Adrian Torrano
7769c06393
add logic to conditionally align window (#851) 2024-05-15 11:01:20 -05:00
Lugiad
afcffab90f
Added Gen names localizations in Starter Selection UI (+"Uncaught" translation in French) (#907)
* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Update starter-select-ui-handler.ts

* Update starter-select-ui-handler.ts

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Updated with recent pt BR edits
2024-05-15 10:57:48 -05:00
Xavion3
9197f9f070 Limit rare eggs to e4+ and fix trainer boss check
Also fixes weighting to account for adjusted level ranges
2024-05-15 11:55:47 -04:00
Lugiad
fcffa000c5 French translation Save and Quit 2024-05-15 11:45:44 -04:00
Flashfyre
ac2e78129e Add Save and Quit option to replace Return to Title 2024-05-15 11:42:18 -04:00
Tempoanon
38e3022d06
Add missing biomes for camoflauge (#912) 2024-05-15 10:32:10 -05:00
José Ricardo Fleury Oliveira
9b8af7ad71
Fixed the ptBR text in starter menu popping out of the info box... (#902)
* Fixes the ptBR text in starter menu popping out of the info box and added language personalization, changed some ptBR natures and ordered thw switch case in alphabetic order

* Small fix
2024-05-15 10:13:35 -05:00
Flashfyre
adf5690383 Migrate data for offline users 2024-05-15 10:55:17 -04:00
mbroll
d32dbddd48
Update ability.ts (#910)
Water bubble should double the damage of water moves. The current multiplier in-game is x1.
2024-05-15 09:21:52 -05:00
Flashfyre
3c8d919ef8 Revert "Implemented Power Split and Guard Split (#699)"
This reverts commit 0b75a5210a.
2024-05-15 10:13:29 -04:00
Alessandro Bruzzese
3aeef50507
Update Italian starter-select-ui-handler.ts (#901) 2024-05-15 09:08:32 -05:00
karl-police
3ef08e433a Correct a translation due to misleading token 2024-05-15 09:58:45 -04:00
Flashfyre
5f3fd17fdd Add Quick Claw item 2024-05-15 09:42:45 -04:00
Flashfyre
58e59369ed Revert "Readded removed args, inverted 'simulated' instead of removing (#874)"
This reverts commit e89dbad5f1.
2024-05-15 09:12:03 -04:00
Frederico Santos
0b75a5210a
Implemented Power Split and Guard Split (#699)
* Implemented Power Split and Guard Split

* Update changeStat method to use summonData for Pokemon stats

This commit modifies the `changeStat` method in the `Pokemon` class to use the `summonData` object for updating Pokemon stats instead of directly modifying the `stats` object. This change ensures that the updated stats are correctly reflected in the `summonData` object, which is used for battle calculations and other related operations.

Refactor the `getStat` method to check if `summonData` exists and return the corresponding stat value from `summonData.stats` if it does. Otherwise, return the stat value from the `stats` object.

This change improves the accuracy of stat calculations during battles and ensures consistency between the `stats` and `summonData` objects.

* Added documentation for Power Split and Guard Split + linting

* removed incorrect files

* Removed incorrect folder

* removed unnecessary import

* Added documentation for getStat and changeSummonStat methods

* New description for getStat()

* Adjusting function descriptions

* adjusted descriptions according to guideline

---------

Co-authored-by: Frederico Santos <frederico.santos@fivedegrees.nl>
2024-05-15 07:41:40 -05:00
andrew-wilcox
1f5b2726b5
added auto hit and 2x damage from certain moves when targeting a pokemon that used minimize (#824)
* added auto hit and 2x damage from certain moves when targetting a pokemon who used minimize

* review fixes and bad merge

* review fixes and bad merge v2

* changed to be double damage instead of power for the minimize condition

* added TSdocs for function]

* remove ability to add minimize tag to dynamax-mons

* status cannot be applied to max-mons, and falls off if they dynamax

* updated doccumentation

* Update move.ts

---------

Co-authored-by: Cae Rulius <cae@polywhack.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-15 07:36:34 -05:00
Jannik Tappert
512016faef
Sacrifical Moves (that dont require a target like explosion or self d… (#691)
* Sacrifical Moves (that dont require a target like explosion or self destruct) now also work if the target is flying, diving etc.

There is also a new catagorie of moves. "SacrificalMovesOnHit" for all moves that need to hit for them to be sacrifical like MEMENTO

* Added comments, added (what i think is TSDoc) to functions and classes. Removed empty lines i introduced

* .

* Added fixes for the Review by TempsRay.

* Added missing *

* Remove Target Requirement of SacrificialAttr

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-15 04:10:20 -05:00
notpatchmaybe
e89dbad5f1
Readded removed args, inverted 'simulated' instead of removing (#874) 2024-05-15 03:56:06 -05:00
Madmadness65
1e224a6ac4 Allow Original Color Magearna to be obtained
Another completely cosmetic Pokémon form (and a nice looking one at that!).
2024-05-15 01:46:24 -05:00