Commit Graph

2387 Commits

Author SHA1 Message Date
José Ricardo Fleury Oliveira
e97d79170d
added nonExplicitSupportedLngs (#1181) 2024-05-20 23:26:53 -04:00
Madmadness65
82be3daf9d Allow Roaming Gimmighoul to be caught 2024-05-20 22:12:07 -05:00
Matthew Olker
680eecc452 Fix incorrect passive costs 2024-05-20 21:40:56 -04:00
Greenlamp2
c454e2d232
Fix - shiny color swap (#1183)
* return a list of errors if something is wrong with the variant's sprite

* reformat

* added data in error message

* added read comfort + detection of missing json for existing variant

* fix an error of message display

* fix fetch color swap, missing a return
2024-05-20 19:17:21 -05:00
damocleas
0fd2dcf0aa
Update pokemon-species.ts (#1184)
Updated Starter Point Values for 6+ Cost mons
2024-05-20 19:15:09 -05:00
Matthew Olker
04045623a0 Update shiny event end to match discord announcement 2024-05-20 16:41:40 -04:00
Greenlamp2
136afa6b00
Tests - Check if something is wrong with the variant's sprite (#1175)
* return a list of errors if something is wrong with the variant's sprite

* reformat

* added data in error message

* added read comfort + detection of missing json for existing variant

* fix an error of message display
2024-05-20 14:40:40 -05:00
Greenlamp2
d2e455cdad
Tests - Check if something is wrong with the variant's sprite (#1162)
* return a list of errors if something is wrong with the variant's sprite

* reformat
2024-05-20 07:31:16 -05:00
JO
9493f59a4e
Complete Psychic Fangs TM list (#1161) 2024-05-20 07:30:45 -05:00
Benjamin Odom
f93f2bfca6
Reduce EXP Balance (#1128)
* Set max to 4
2024-05-20 19:06:20 +10:00
GhostFlys
60cbd636e6
update chinese conifg.ts and egg.ts (#1151)
* Update chinese config.ts

* Update chinese egg.ts
2024-05-20 02:18:01 -05:00
Madmadness65
2894c8bfc3 Revert "Update chinese config.ts (#1149)"
This reverts commit 8f8ee9127d.
2024-05-20 01:51:08 -05:00
GhostFlys
8f8ee9127d
Update chinese config.ts (#1149) 2024-05-20 01:44:00 -05:00
Matthew Olker
b95a59c094 setup more future language text configuration 2024-05-19 23:11:07 -04:00
Somod1
a32f61fbf7
update zh_CN voucher locales (#1145)
* Add files via upload

* Update zh_CN voucher locales
2024-05-19 22:05:14 -05:00
Matthew Olker
ca1ae4b556 cleanup language and candy in starter select ui handler 2024-05-19 21:40:58 -04:00
Adrian Torrano
3671fe4c2f
Prevent spamming of requests when going over scoreboard pages (#1130)
* prevent spamming of requests

* add documentations
2024-05-19 18:04:32 -05:00
arColm
80f6b62d1b
Implement Revival Blessing (#343) 2024-05-19 18:02:17 -05:00
rayanzmn
f1394307f4
Fixes recoil damage calculation (#1063)
Recoil damage previously used the total damage dealt by the user instead of using the damage dealt in the current turn.
2024-05-19 17:54:17 -05:00
arColm
f649179e24
Implement Grassy Glide (#272) 2024-05-19 17:52:51 -05:00
lucfd
9f699537bc
Implemented Bug Bite, Pluck, Teatime (#232)
* implemented pluck, bug bite

* steal blocked by sticky hold

* implemented teatime

* added stuff cheeks

* added berry pouch support

* fixed StealEatBerryAttr sometimes eating 2 stacks of a berry

* added comments & documentation

* added more comments

* added comment on stuff cheeks condition

* fixed 0 stack berry modifier  not disappearing

* stuff cheeks bug fix

* fix leppa berry logic

* removed stuff cheeks
2024-05-19 17:47:30 -05:00
GhostFlys
a4f4a37e5c
add egg.ts (#1138) 2024-05-19 17:27:17 -05:00
Lugiad
7216990d87
Locales for Voucher names + Voucher rewards (#1137)
* Update voucher.ts

* Update vouchers-ui-handler.ts

* Update i18n.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2024-05-19 17:25:52 -05:00
Jannik Tappert
13f2cafe5e
Female Variant Trainer Class Names set explicitly in definition of trainer classes (#1126)
* Set the name for the ace trainer female class

* Wrote out the name for all females trainer classes explicitly so they are always used.

Also made some changes (added missing classes) to languages
2024-05-19 14:52:48 -05:00
Adrian Torrano
a561e41634
return boolean from changing locale (#848) 2024-05-19 13:25:24 -05:00
hayuna
840dba79cc
Implement Trump Card move (#816)
* Implement Trump Card move

* Add docs, rearrange order of conditions

* Add Pressure consequences

* Remove additional reducing PP if pressure

* Update comments to adjust ways of working
2024-05-19 13:17:58 -05:00
Jaime
df7cb209f7
Fix Curse targeting for non ghost types (#782) 2024-05-19 12:40:56 -05:00
Alvin Zou
661e37f54f
Add capability to view Pokemon Status screen when learning moves (#756) 2024-05-19 12:19:38 -05:00
td76099
1bc6fcf4de
Bugfix - Ghost types are no longer trapped by abilities like Shadow Tag or moves like Fire Spin (#731)
* Checks if Pokemon is Ghost type when determining if it is trapped

* Adding doc comments based on new standard

* Update ability.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-19 12:05:46 -05:00
Frederico Santos
3031cc1245
Implement Ball Fetch (#1129)
* Implemented Ball Fetch

* Added once per battle condition

* Ability only functions on player side

* Update ability.ts

---------

Co-authored-by: SamuelHudson <samuel.hudson2017@gmail.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-19 11:13:33 -05:00
ElMoustacho
932e6e39f9
Make status damage skip endure (#597)
* Make status damage skip endure

* Add a comment to justify arguments to damage method
2024-05-19 10:10:57 -05:00
Alvin Zou
608a968db4
Implement Beat Up (#593) 2024-05-19 09:22:37 -05:00
NxKarim
1ae5847e49
Implements Merciless (#440)
* Implemented Merciless

Attribute CritIfTargetIsPoisonedAbAttr
Fix BlockCritAbAttr

* Changed CritIfTargetPoisonedAbAttr to ConditionalCritAbAttr

Now any condition related to user, target or the move used can be applied to guarantee a critical hit.
2024-05-19 09:06:58 -05:00
Matt Ross
e8c1098b91
Mostly implements upper hand (#433) 2024-05-19 09:04:19 -05:00
lucfd
78c8e8164d
Implemented Terrain Pulse & Misty Explosion (#235)
* implemented Terrain Pulse

* type only changes when grounded

* Implement Misty Explosion

* fixed grounded check

* added tsdoc

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-19 08:31:13 -05:00
Lugiad
48313e0c4d
Adjustments to French modifier-type.ts (#1117)
* Adjustments to French modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-19 08:08:19 -05:00
JO
5e9ded2b8e
Fix Close Combat TM for Granbull, Pignite, Emboar, and Scraggy (#1113) 2024-05-19 07:32:41 -05:00
Lugiad
d017198460
Font resize for French in starterInfoTextSize (#1110) 2024-05-19 07:28:18 -05:00
Jannik Tappert
e3b25a9fab
So currently if you meet someone with a title it only shows there nam… (#1055)
* So currently if you meet someone with a title it only shows there name and only then the title (not like trainer classes). So i wanted to change that

* The title is not set again to its own value. It is just got differenlty for the nametag (includeTitle true)

* Added the ; as well as some comments that are hopefully helpful for others (i am terrible at writing comments)

* Forgot getTitle for comments
2024-05-19 06:23:24 -05:00
Benjamin Odom
6dc10f549f
Fix Crashes when Sprites for Pokémon are missing (#1021)
* Fix Crashes when Sprites for Pokémon are missing

Fixes an issue where a missing sprite will cause the game to crash instead of using the base sprite or the Substitute sprite.

Failsafes were already in place to load these backups, this code just allows a graceful fail and a simple error message instead of a crash.

* Check Against OK status
2024-05-18 18:29:09 -05:00
Alessandro Bruzzese
8ccd8085db
Update Italian modifier-type.ts (#1094) 2024-05-18 09:56:20 -05:00
José Ricardo Fleury Oliveira
2682c2faa3
fix ptBR mint (#1092) 2024-05-18 09:55:31 -05:00
Jaime
344a17c8fc
Fix TM moves for Beldum line (#1090) 2024-05-18 09:53:18 -05:00
Rei1mu
ab64eb5d5b
update zh_CN translation (#1089) 2024-05-18 09:52:00 -05:00
Vaner42
49adedbc0f
Fixed the replace method that was not executed in check female version exists; And fixed pokefan key in localization; (#1086)
* Translate 'trainer' into  Simplified Chinese.

* fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese.

* Fixed the replace method that was not executed in check female version exists; And fixed pokefan key in localization;

---------

Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-18 09:47:59 -05:00
Micah Bradbury
27139c0d8c
Update confuse chance to modern value (#1085)
Changed from 1/2 to 1/3, as games after gen 5 use this value
2024-05-18 09:47:01 -05:00
rnicar245
56acd16456
summary-ui-handler stat text centered + summary_stats.png change (#1041) 2024-05-17 21:06:07 -05:00
Jannik Tappert
93dee06e21
Larry and Lance now only need one localization key for both of their positions (because i just use setName and now they use the same key). This does not affect their title (#1053) 2024-05-17 21:04:14 -05:00
Benjamin Odom
4a9664c04c
Fix Entry Hazard Miss (#984)
* Fix Entry Hazard Miss

Made Entry Hazards bypass the accuracy check as they cannot miss a target. There's still one more bug to fix with this but it requires way more code changes. This change needed to be done as well, so I'm getting it out early.

* Update move.ts
2024-05-17 21:20:02 -04:00
snnh
f3c4a3838b
Update and fix zh_CN translation (#1070)
* Update zh_CN translation

* fix zh_CN translation
2024-05-17 20:16:24 -05:00
Matthew Olker
5dd017fa30 Begin shiny weekend 2024-05-17 18:13:12 -04:00
Madmadness65
1f1c243415 Revert "Fix sparkly swirl cure status (#1051)"
This reverts commit 6bcf4e008a.
2024-05-17 15:37:34 -05:00
Charlie Giang
6bcf4e008a
Fix sparkly swirl cure status (#1051) 2024-05-17 15:03:55 -05:00
Somod1
fa6ab29946
Update zh_CN translation (#1047)
* Add files via upload

* Update zh-CN  translation

Adjusted some Chinese translations and added line breaks to some item descriptions in modifier-type.ts

* Add files via upload
2024-05-17 13:36:52 -05:00
Madmadness65
0a871fb0d0 Fix cut off dialogue for Morty 2024-05-17 12:41:16 -05:00
Benjamin Odom
6880c7afe0
Updated Logic when Animating Trainer Sprites (#1016)
Updated the check in place when attempting to play a trainer sprite. Separated it into a separate function to reduce reusing code and to make it easier to exit early when failures occur.
2024-05-17 12:37:38 -05:00
José Ricardo Fleury Oliveira
04a345a6cc
fixed master ball (#1043) 2024-05-17 12:19:38 -05:00
Alessandro Bruzzese
7935f28089
Update Italian battle.ts (#1042) 2024-05-17 12:18:03 -05:00
Alessandro Bruzzese
b55fb8db37
Update Italian battle-message-ui-handler.ts (#1040) 2024-05-17 12:02:51 -05:00
Alessandro Bruzzese
d2a8c4a150
Update Italian berry.ts (#1039) 2024-05-17 11:58:47 -05:00
Alessandro Bruzzese
a2299ee055
Update Italian trainers.ts (#1037) 2024-05-17 11:43:38 -05:00
José Ricardo Fleury Oliveira
8c21bdc0a1
New ptBR localization (#1028)
* Some translations (battle, modifier-type, trainer)

* More translations and fixes

* Minor fixes

* finished translations

* minor fix

* removed tera type
2024-05-17 10:39:13 -05:00
Jannik Tappert
09b820161f
Localized Weather, Berries and Splash Messages (#1034)
* Localized Weather, Berries and Splash Messages

* Berry messages are now correct
2024-05-17 10:21:11 -05:00
José Ricardo Fleury Oliveira
3cc9c93643
Type localization instead of TeraType (#981)
* Type localization, now type-boosting items descriptions are fully translated

* pokemon-stat refactoration

* reverted import changes
2024-05-17 09:43:11 -05:00
Brandon Rodgers
03c4b1b821
Update battler-tags.ts (#1030)
Corrected the TrappedTag class so no Ghosts can be trapped
Added special canAdd function to IngrainTag so all Ghosts can use Ingrain not just Trevenant and Phantump.
2024-05-17 08:49:04 -05:00
Calvin Keats
bfa12fd48d
Update ETHER and similar items to use total max PP instead of base PP (#1014) 2024-05-17 06:54:51 -05:00
William Burleson
10437142b6
Fix daily run freeze (#1025) 2024-05-17 05:51:48 -05:00
Tempoanon
edf3a6aa36
Fix tinted caught icon false positive (#892)
* Fix tinted caught icon false positive

* Remove unused import

* Rename and optimize

* Block comment

* use 3 equals
2024-05-17 05:28:22 -05:00
Calvin Keats
4362d49e6b
Use localization for damaging weather messages (#1017) 2024-05-17 05:25:21 -05:00
Somod1
0c660f599d
Add files via upload (#1022) 2024-05-17 05:23:44 -05:00
Lugiad
48c745deee
Update French trainers.ts (#1020) 2024-05-17 05:23:23 -05:00
Lugiad
b0fd32b1a4
Update French berry.ts (#1023) 2024-05-17 05:22:58 -05:00
Lugiad
96af567cd4
IV Scanner Results Translation (#990)
* Update battle-message-ui-handler.ts

* Update i18n.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update battle-message-ui-handler.ts

* German battle-message-ui-handler.ts

* Update config.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-17 05:21:35 -05:00
Laeticia PIERRE
a44c1587d4
Fix some fr (#1013)
* Fix some modifier-type fr

* Fix some trainers fr

* Fix DYNAMAX_BAND fr
2024-05-17 05:13:32 -05:00
FanHua
250142083a
Implements localization for BerryType (#1007) 2024-05-17 05:09:08 -05:00
Gerafique
61938869c1
Added German Translations for menu.ts (#960) 2024-05-17 04:56:11 -05:00
Jakub Hanko
b4f643f0fa
Use getBattleStat instead of getStat in BattleStatRatioPowerAttr (#742)
* Use getBattleStat instead of getStat in BattleStatRatioPowerAttr

* Change unnecessary let into const

* Refactor BattleStatRatioPowerAttr into two distinct classes

* Add TSDoc for the new classes
2024-05-17 01:42:43 -04:00
Benjamin Odom
0cd305d78a
Fix Trainer Localization Typos (#1010)
Took a look at some of the entries for trainers and adjusted accordingly. it looks like all of these trainer types were grabbed from an online source as a sort of future-proofing which is good, but resulted in some errors. Some of which have already been fixed, and some which are included here.

Also prevents an issue if there is a missing image and displays a warning in the console instead of a crash.
2024-05-17 00:01:35 -05:00
Flashfyre
f2dff2cd25 End card only shows in classic mode 2024-05-17 00:20:18 -04:00
Tempoanon
f2b5a1b6f4
Fix some Pokemon classifications (#857) 2024-05-16 22:11:53 -05:00
Charlie Giang
1bd3ec2fd6
Fix ingrain for Phantump and Trevenant (#856) (#998) 2024-05-16 22:09:40 -05:00
Vaner42
dd3d38b5d8
fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese. (#1009)
* Translate 'trainer' into  Simplified Chinese.

* fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese.

---------

Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-16 22:03:26 -05:00
Vaner42
e035e85811
Translate 'trainer' into Simplified Chinese. (#1006)
Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-16 21:42:12 -05:00
Flashfyre
7561521020 Add endings for classic mode 2024-05-16 21:41:38 -04:00
Madmadness65
71d9f11d94 Allow Dada Zarude to be encountered
Another cosmetic Pokémon form for a mythical is now available.
2024-05-16 20:19:16 -05:00
Lugiad
4d804d787c
Minor French modifier-type.ts edits (#1004)
* Minor correction French modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 20:14:09 -05:00
Lugiad
883524f441
Even more French typos in modifier-type.ts (#1002)
* Even more French typos in modifier-type.ts

* Update modifier-type.ts
2024-05-16 19:07:26 -05:00
Lugiad
45663ceae0
French typo corrections modifier-type.ts (#1001)
* French typo corrections modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 18:45:23 -05:00
Lugiad
78fffaad9d
French modifier-type.ts corrections and adjustments (#1000) 2024-05-16 18:31:09 -05:00
Matthew Olker
429e66357f fix splash message config 2024-05-16 19:13:52 -04:00
Lugiad
63e165d62a
Complete French translation modifier-type.ts (#999)
* Complete French translation modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 18:12:19 -05:00
José Ricardo Fleury Oliveira
3f571a366a
Organized localization configs (#976) 2024-05-16 17:52:01 -05:00
Flora
5406b68f9a
Added missing word (#997) 2024-05-16 17:35:51 -05:00
Matthew Olker
bd902f01a5 Re-order overrides 2024-05-16 18:19:32 -04:00
Laeticia PIERRE
d1431af65f
Fix zippyZap fr (#991) 2024-05-16 15:46:12 -05:00
Alessandro Bruzzese
192deae33e
Update italian modifier-type.ts (#989) 2024-05-16 15:39:09 -05:00
Lugiad
8a8a2e128a
Corrections to French ability.ts (#979) 2024-05-16 11:09:23 -05:00
Benjamin Odom
ff086ca492 Adjust all Existing Comments to Match
Adjusted all existing comments on move.ts to match
2024-05-16 08:38:27 -04:00
Lugiad
8d83417cee
Update French trainers.ts (#970) 2024-05-16 06:55:00 -05:00
Lugiad
2aa9180745
Update French battle.ts (#969) 2024-05-16 06:54:39 -05:00
Jannik Tappert
364b19df5d
Added localisation for workers class to all languages but german (whi… (#968)
* Added localisation for workers class to all languages but german (which already had it...)

* Added missing entries to fr and br.

Now they all have the same keys.
2024-05-16 06:33:21 -05:00
Lugiad
0e84313862
Update French trainers.ts (#965) 2024-05-16 06:11:00 -05:00
Jannik Tappert
55105bf79a
Fixes that brocks name is undefined (#967)
* Brock now has a name againg (we check if i18 is initialized before localising elite4,champs and gym leaders

* Removed console log
2024-05-16 06:10:20 -05:00
Jannik Tappert
f1e97f3b38
Added difference between the "x want to fight" for double and single battle since in some languages it needs to be (like german) (#966) 2024-05-16 06:09:12 -05:00
Jannik Tappert
7f003d46ca
Added all double battle names as trainer classes. And updated/corrected errors. (in all languages but german i used the english version) (#963)
Also fixed that the rival does not have localized name
2024-05-16 05:43:31 -05:00
Lugiad
2a15e090ce
Update French splash-messages.ts (#961) 2024-05-16 05:20: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
Flashfyre
4a7da3e5f6 Fix export not working 2024-05-15 02:01:30 -04:00
Flashfyre
70ecc51f50 Don't clear local data in offline mode 2024-05-15 01:54:15 -04:00
Flashfyre
751120e77e Fix crashing in offline mode 2024-05-15 01:42:36 -04:00
Flashfyre
7e0e4ecd6d Call saveSystem on gacha pull outside of current battle 2024-05-15 01:29:07 -04:00
Flashfyre
c6973365cb Change last save interval to correct value 2024-05-15 00:56:17 -04:00
Samuel H
67c18a15e2
Implement client session and re-implement hybrid saving (#888)
* Implement client session and re-implement hybrid saving (WiP)

* Fixes for hybrid saving

* Add local data clears where applicable

* Include client session ID in system update

* Change save threshold from 5 waves to 10 waves or 5 minutes
2024-05-15 00:52:06 -04:00
Benjamin Odom
835b00d457
Added Comments to Base Classes (#860) 2024-05-14 23:19:12 -05:00
karl-police
6bed21770d
Recoil (#863) 2024-05-14 20:36:49 -05:00
cimds
aeeebcbf38 Update biomes.ts: Cave's Beach link changed to Lake
Replacing Cave's Beach link with Lake would weaken the "water loop", a situation where players get continually routed back to Beach, leading to frustration. Lake is a crossroads biome that connects to much of the rest of the game, while still connecting to Beach, making it not a drastic detour.

Infernal Vulpix simulated a hypothetical 10k wave endless run for me to see the difference this change would have on biome frequencies. Apologies for the broken formatting from me copying this from Discord:

                   Odds      Alt
Abyss              1.98%     2.40%
Badlands           3.57%     3.46%
Beach              6.30%     4.06%
Cave               5.87%     5.91%
Construction Site  3.90%     4.83%
Desert             1.70%     1.70%
Dojo               2.05%     2.58%
Factory            2.03%     2.57%
Fairy Cave         0.86%     0.59%
Forest             5.79%     5.64%
Grass              2.12%     2.48%
Graveyard          2.03%     2.39%
Ice Cave           4.00%     2.68%
Island             0.79%     0.53%
Jungle             2.80%     2.72%
Laboratory         0.13%     0.13%
Lake               3.37%     6.26%
Meadow             2.93%     2.74%
Metropolis         2.33%     2.55%
Mountain           2.86%     2.40%
Plains             5.96%     6.94%
Power Plant        2.06%     2.63%
Ruins              2.51%     2.59%
Sea                6.16%     4.07%
Seabed             2.90%     2.04%
Slum               2.58%     2.67%
Snowy Forest       3.79%     2.60%
Space              0.37%     0.41%
Swamp              3.79%     4.64%
Tall Grass         4.18%     4.73%
Temple             2.98%     3.06%
Town               0.00%     0.00%
Volcano            2.58%     2.29%
Wasteland          0.72%     0.72%
End                2.00%     2.00%
2024-05-14 18:54:39 -04:00
Flashfyre
f505c7f5fd Fix issues with formatLargeNumber 2024-05-14 16:12:31 -04:00
karl-police
06ec265bcd battle.ts Translation Consistency and fixes 2024-05-14 15:43:33 -04:00
Nexllon
df499e2f71
offline mode - adds daily run and fixes clear freezes (#834)
* offline mode - adds daily run and fixes clear freezes

* removed unused import
2024-05-14 15:42:30 -04:00
Ethan
7d3cf577a6
Implented Gen VII Sheer Cold Changes (#349)
* Made Sheer Cold not affect Ice Types, as well as implementing the Gen VII change of 20% for non ice types.

* Pushed accurancy change

* Updated and separated the accuracy attribute and the Ice no effect attribute

* Fixed the OHKO attribute (accidentally removed) and fixed multiplier

* Updated attribute names, as well as making the move cancelled instead of 0x multiplier

* Added TSDoc comments

* Updated accuracy logic

* Changed the text response for Sheer Cold immunity

* Added immune to the HitResult enum
2024-05-14 13:01:37 -05:00
Brandon Rodgers
06c3611d06
Ability Corrosion (#744)
* Ability Corrosion

Implemented Corrosion Partially.
Tested against:
- Poison Powder
- Toxic
- Dire Claw
- Sludge Bomb
- Psycho Shift

They all work as expected

Missing ability Magic Bounce to test against.

* Added TSDoc Documentation

Added documentation to the new IgnoreTypeStatusEffectImunnityAbAttr and added comments to the checks for this ability attribute.

* Added More Documentation

Add comment into Phases for what sourcePokemon is for.
Renamed source to sourcePokemon onto trySetStatus and canSetStatus.
Added TSDoc head for what sourcePokemon is and anything else I am aware of what they are used for.

* Removed unfinished TSDoc

Removed TSDoc headers due to not having enough understanding to fill out all of the parameters

* Fix Formatting and Reorder Parameters

* Update arena-tag.ts

* Update phases.ts

* Update ability.ts

Added access modifiers to my class and the class I compared to.

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-14 13:00:37 -05:00
Alessandro Bruzzese
89411d7b3e
Update Italian ability-trigger.ts (#861) 2024-05-14 10:38:52 -05:00
Xavion3
d1187c7174
Modify legend gacha to be even split (#858)
* Modify egg gacha to be even split

* Update to a daily cycle

* Add spaces

* Removes now unused getSunday function
2024-05-14 11:34:40 -04:00
Madmadness65
7061bb0d70 Lower starter cost of some mythical Pokémon
Deoxys, Victini, and Genesect should not be in the Legendary egg pool, to make them consistent with the other mythicals.
Also additional learnset changes for a couple mythicals with no/lacking starting moves.
2024-05-14 01:21:28 -05:00
Madmadness65
37f672789d Give Delibird an actual level up learnset
No longer is it stuck with just two moves via level up. It now has a thematic set of level up moves based on other similar Pokémon and its TM compatibility.
2024-05-14 00:56:45 -05:00
Madmadness65
856757fd56 Add custom Jungle biome music by Lmz 2024-05-13 23:46:28 -05:00
James Diefenbach
81349816d9
changed formIndex to getFormkey in EvolutionItem constructor (#844)
Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-05-13 23:01:08 -05:00
AJ Fontaine
fe7a4180a2
Give level 1 moves back that were made unusable in SV (#842) 2024-05-13 21:21:49 -05:00
Lugiad
c0426cfe6b
Update French move.ts (#845) 2024-05-13 21:19:28 -05:00
Madmadness65
4e279224c5 Update Let's Go moves to their Gen 8 functionality
This primarily just affects Zippy Zap, as it loses its always crit attribute for an evasion increase (Associated localization strings will need updating). Also implemented Sparkly Swirl's status curing attribute.

Also included is a wild evolution delay for some stone evolution Pokémon that was previously overlooked.
2024-05-13 20:59:38 -05:00
Lugiad
c42441294b
Update French ability-trigger.ts (#836) 2024-05-13 20:17:41 -05:00
Douglas Marchione de Souza
de3ca08704
Fix Air_Lock ability to express when it is switched in (#765)
* Airlock ability now properly announces when it is
in field when the pokemon with it is switched in

* Set message as in the original games, also created
a new attribute for in switch messages to not have
the pokemon name required to be on it.

* Committing language changes (i18n function)

* Revert "Committing language changes (i18n function)"

This reverts commit 2a3152003b.

* Changed message variable name
2024-05-13 20:09:46 -05:00
Flashfyre
7943633481 Revert "Implement hybrid saving for optimization"
This reverts commit b45cd2f7e7.
2024-05-13 20:56:28 -04:00
Flashfyre
ab92bc61ba Revert "Only show save icon on server sync"
This reverts commit 5d0dbfff98.
2024-05-13 20:56:19 -04:00
YounesM
9d90cc3e10
corrected uturn flip turn crash (#596) 2024-05-13 18:52:36 -05:00
LaukkaE
af86bdeb06
Prevent applying item boosts when power is <1 (#795)
* Prevent applying item boosts when power is <1

* add comments
2024-05-13 18:48:47 -05:00
LaukkaE
1d29ca7974
Fix Comeuppance (#781) 2024-05-13 18:48:22 -05:00
JackGilham
19d244ee94
Update modifier-type.ts (#636)
Issue#613.

Have added additional EvolutionItemModifierType condition that prevents none base form pokes from taking Evo Items.
2024-05-13 18:38:27 -05:00
Benjamin Odom
1c56efc860
Added Ability Triggers Localization (#811)
Adds the base files needed to start translating Ability trigger messages. Provides one as an example.
2024-05-13 18:12:28 -05:00
José Ricardo Fleury Oliveira
74ee3329f8
Added "Uncaught" localization in Starter Selection UI (#831) 2024-05-13 18:02:44 -05:00
José Ricardo Fleury Oliveira
3a3611dfc0
Minor translation fixes (#829) 2024-05-13 17:59:09 -05:00
Flashfyre
5d0dbfff98 Only show save icon on server sync 2024-05-13 18:37:48 -04:00
Flashfyre
b45cd2f7e7 Implement hybrid saving for optimization 2024-05-13 18:17:57 -04:00
Flashfyre
7e5c7fb4f7 Don't allow trainer egg moves before level 60 and no rare egg moves at all 2024-05-13 17:03:53 -04:00
Griffin Zody
ed87293867
Fix Zygarge Complete form changing back into 50% (#786) 2024-05-13 14:53:23 -05:00
José Ricardo Fleury Oliveira
e2dfbc4aa5
Added new entries (#823) 2024-05-13 13:55:15 -05:00
Jannik Tappert
487b1d26d1
Added german localization to the new entries in starter-select-ui-handler.ts (#822) 2024-05-13 13:24:55 -05:00
Matthew Olker
40993793cb Show default icon for missing starter icon 2024-05-13 14:23:34 -04:00
Matt Ross
4e6cf2a6ac
Facade should ignore burn damage reduction (#530)
* Facade should ignore burn damage reduction

* update order of burn conditions

* remove unnecessary space

* undo facade check in apply

* Rework facade bypassing burn as move attribute

* Only check ability attribute if move attribute was false

* Add missing semicolon

* Add tsdoc comment

* Add comment to burn damage reduction class

* Added changes from Discord thread

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:06:15 -05:00
Matt Ross
fa60e002e8
Fixes some variable damage moves not working with tinted lens (#759)
* Fixes some variable damage moves not working with abilities

* Rework as new ability attribute

* Update variable base power check to original location

* formatting

* Add tsdoc comments

* add floor for potential non int multipliers

* Update pokemon.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:05:09 -05:00
Lugiad
610de916a0
Update French starter-select-ui-handler.ts (#821) 2024-05-13 13:01:30 -05:00
Madmadness65
34a4f86982 Add a couple starter select localization entries
The passive ability's "Locked" and "Disabled" strings can now be localized.
2024-05-13 12:50:56 -05:00
Flashfyre
9a49691a9e Add max options to language select
Add max options to language select (fixes #819)
2024-05-13 13:10:01 -04:00
José Ricardo Fleury Oliveira
2a32189ea1
Added Portuguese (Brazil) translations (#766)
* Add support for Portuguese (Brazil) locale, except for moves and abilities.

* All ptBR translations, names of moves and abilities maintained in english.

* Small fixes

* Updated Frisk and fixed Plus and Minus descriptions

* Changed the settings label to "Português (BR)"
2024-05-13 11:18:24 -05:00
Alvin Zou
6d73500aeb
Update Frisk descriptions (#784) 2024-05-13 11:08:55 -05:00
Jannik Tappert
e4d3f73dee
ToggleSize is now dependend on language + added some missing german translations (#797) 2024-05-13 11:06:26 -05:00
Alessandro Bruzzese
b189289890
Updated italian localization (#815)
Updated:
 - `it/fight-ui-handler`
- `it/growth`
- `it/nature`
2024-05-13 10:52:31 -05:00
alpaca
09287c22ba
implements telepathy (#307) 2024-05-13 05:59:39 -05:00
lucfd
b36c23fae1
Implemented Curious Medicine (#263)
* implemented supersweet syrup

* implemented curious medicine

* removed sneaky test overrides

* removed sneaky test overrides x2

* updated to new language-agnostic format, removed supersweet syrup

* fixed whitespace

* Update ability.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:57:17 -05:00
Marcos
3cc990f5d2
Fully implemented floral healing (#250)
* Created BoostedHealAttr and implemented Floral Healing

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:27:38 -05:00
Matthew
21a0a0276d
add pokeball override (#793) 2024-05-13 03:40:53 -05:00
Tempoanon
e9c09070df
Stench should not trigger on status moves (#800) 2024-05-13 00:24:07 -05:00
Benjamin Odom
9ee5fec41d
Added Passives to the Summary Screen (#703)
* Added passives to the Summary Screen

Adds the ability to view passives on the Summary screen. Just like in the starter select, you can only see the passive once it is unlocked.

There is a small pixel button prompt which helps indicate you are able to press the button to view the passive. This buttons shows an A when gamepad support is enabled and a Z otherwise.

* Update summary-ui-handler.ts

* Updated for Legacy Support
2024-05-12 23:38:28 -04:00
Samuel H
2b9b63e3f3
Add combined save between waves (#777) 2024-05-12 23:01:05 -04:00
James Diefenbach
9a09d790f0
Rockruff dusk form not evolving (#700)
* changed nonfunctioning rockruff form check to ability check for own tempo for dusk form evos

* testing changes

* rockruff OT uses formIndex for dusk form evolution, removed temporary debug rockruff getFormIndex changes

* reverted overrides

* fixed spacing issue

* evolution times revised

* revised dawn and dusk evos for rockruff

* reordering evo times for consistency

* removed unused imports (abilities, attackTypeBoosterModifierType)

---------

Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-05-12 22:00:46 -05:00
Xavion3
22097a0c95 Fix getSunday function 2024-05-12 21:22:50 -04:00
Flashfyre
347972d103 Remove boosted shiny rate 2024-05-12 20:45:41 -04:00
Tempoanon
e61c63f6c8
Implement innards out (#569)
* Implement innards out

* remove log statement

* Some cleanup

* Added comment
2024-05-13 07:07:31 +10:00
Matthew
e195c6d799
Show Default Pokemon icon for missing shiny icon (#802) 2024-05-13 06:41:02 +10:00
Douglas Marchione de Souza
9e453c5b0f
Fix sturdy (#604)
* Fixes sturdy to stop popping up even if not used

* Made changes to better the code, also added
a check for wonder_guard 1hp

* Refined code, as requested by bennybroseph

* Made a small fix and added better comments in
relation to interaction with Wonder_guard ability
2024-05-12 14:53:54 -05:00
Benjamin Odom
512cc5b965
Fix Duplicate Egg Moves (#736)
Fixes an issue where egg moves could get duplicated onto a starter Pokémon's moveset.
2024-05-12 14:56:37 -04:00
phynor
2176d5854d
fixed typo in german pokemon names (#794) 2024-05-12 13:55:57 -05:00
Lugiad
dbb8f4c217
French translation of growth.ts (#763) 2024-05-12 14:42:56 -04:00
phynor
7b7df5b245
More german translations (#612)
* added more german translations

* added german translation for move.ts

* more german translations

* ability.ts wih german translation updated

* added missing german translation for abilites.ts

* added more missing translations

* changed description of frisk
2024-05-12 12:53:07 -05:00
Madmadness65
20a09c2b92 Remove species form encounter code for Scatterbug line and Calyrex
The Vivillon forms can all be encountered properly now, and Calyrex's forms have since been removed from the wild encounter pool, requiring a form change item to obtain.
2024-05-12 11:33:27 -05:00
Benjamin Odom
79a87e1c65 Update pokemon.ts 2024-05-12 10:27:54 -04:00
LaukkaE
ced74efc52
fix isGrounded check (#774) 2024-05-12 06:30:18 -05:00
Madi Simpson
e1ef3c03de
ability: make technician respect variable power moves (#529) 2024-05-12 04:06:09 -05:00
Landon Lee
a27822b624
Fix cry when pokemon is fused with its own species (#615)
If the pokemon species and form is the same as the second fusion component, then skip the logic to make a fused cry and just use the cry of the primary component.
2024-05-12 03:01:59 -05:00
Thomas Huynh
d5f82611f5
added battle tag check in isGrounded method (#750)
Co-authored-by: unknown <t_huynh927@yahoo.com>
2024-05-12 02:28:30 -05:00
Frederico Santos
e4afdf1d45
Add ignoresProtect to life dew (#758)
Co-authored-by: Frederico Santos <frederico.santos@fivedegrees.nl>
2024-05-12 02:18:23 -05:00
Xavion3
db6008d15c
Add tsdoc comments for ability getters (#764)
* Add tsdoc comments for ability getters

* Add links to the docs
2024-05-12 00:48:56 -05:00
ArceUseless
fe6aefd910
Natures langs with new config (#611)
* Natures lang files

* Updated French nature.ts

* Nature german translation + chinese added

* Added nature to chinese config.ts

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: rnicar245 <55734812+rnicar245@users.noreply.github.com>
2024-05-11 21:22:45 -05:00
ArceUseless
e9ca17c519
New growth rate lang files (#563)
* New growth rate lang files

* Update i18n.ts, fixing overwrite

* Added growth to lang conf files

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-11 21:04:09 -05:00
Flashfyre
f540b7d17f Fix always clearing first slot in offline mode 2024-05-11 20:33:03 -04:00
Madmadness65
3f9158083e Swap Rayquaza's egg moves
With egg moves factoring in to trainer Pokémon's learnsets now, Oblivion Wing was too problematic for a common egg move. So it has been swapped with V-create to make fights with it more tolerable.
2024-05-11 14:20:54 -05:00
Xavion3
34aa68df14
Fix fusion icon variant id (#747) 2024-05-11 13:15:01 -05:00
Xavion3
6b49b4f469
Lowers xp curve for fluctuating slightly (#746) 2024-05-11 11:54:05 -05:00
Xavion3
03d68f877a
Fix fluctuating xp curve (#743)
Was scaling with square of level, not cube.
2024-05-11 10:25:48 -05:00
notpatchmaybe
ea459826d0
Heart Swap implementation. (#712)
* Heart Swap implementation.

 Simply switches the values in 3 arrays.

* Fixed missing space

* Removed some lines.

Removed a for loop.

* Removed an unneccesary line

* TSDoc commentation added

* Changed message method to be more descriptive

* Adjusted message line to be consistent with Pokemon Showdown

* Adjusted priorBoostArray to priorBoost integer

Only one values is relevant at a time, so the array was pointless, woops.
2024-05-11 09:42:57 -05:00
William Burleson
8707213e88
Adds session playtime to gameInfo for Rich Presence (#738)
* Add rich presence support

* Adds playtime to gameInfo
2024-05-11 10:11:00 -04:00
Somod1
cd9e066524 update 2024-05-11 09:25:02 -04:00
Benjamin Odom
ae7c1ef4f0
Fix Charge Move Infinites (#741)
Fixed an issue where two turn charge moves could be paused by status or Truant causing some infinite sequences if not careful.
2024-05-11 23:22:26 +10:00
Xavion3
d24762b5dc
Fix bug in moveset code (#735)
Pokemon with very limited movepools could sometimes generate with no moves
2024-05-11 00:46:36 -05:00
Flashfyre
483310c345 Fix missing backgrounds after clearing a run 2024-05-11 00:29:16 -04:00
Xavion3
72467388fc
Redo moveset generation (#550)
* Redo moveset generation

* Decrease the weight of lower power moves and egg moves

* More weight tweaking

Trainers never get OHKO moves, are less likely to get self KO and multiturn moves, and more likely to get stat buffing moves. All pokemon are less likely to get offstat moves.
2024-05-11 00:20:21 -04:00
Madmadness65
b13a563dad Update passive abilities for starters and pseudos
The latest changes from the balancing team. These changes will take immediate effect in any existing runs, so do keep that in mind.
2024-05-10 18:46:10 -05:00
Flashfyre
9cfc09f673 Restructure game over logic to save before clear 2024-05-10 18:12:33 -04:00
td76099
acb61d6fb7
Fixes Tidy Up so it clears hazards from both sides (#717) 2024-05-10 11:31:27 -05:00
Athebyne
2ab335a3c5
Implement Snipe Shot, and Propeller Tail/Stalwart (#661)
* Implemented Snipe Shot and Stalwart/Propeller Tail

* Remove Testing Overrides

I don't know why these got pushed, they are in the gitignore file.

* Snipe Shot also has a high crit rate

* Add Comment

* Add TsDoc documentation to BypassRedirectAttr

* Add ability pop-up for when Propeller Tail/Stalwart proc.

* Fix Formatting

* Tab align comment
2024-05-10 10:40:21 -05:00
Dakurei
593ac38267
Fix some errors from previous PR #711 (#716) 2024-05-10 10:29:22 -05:00
William Burleson
7bdb969a73 Add rich presence support 2024-05-10 10:34:51 -04:00
Greenlamp
5d62d0bb25 fix speed level up notification 2024-05-10 10:34:10 -04:00
Dakurei
f1935a3e15 Adds 'accuracy' to the move information in the fight ui
+ Capitalize 'power' and 'accuracy' fields
2024-05-10 10:27:44 -04:00
Greenlamp2
b32b802ab4
QOL - Settings to choose party Exp display at the end of fight (#488)
* added settings to manage how to display party experience at the end of fight

* added back stats changes support when setting is on but ignored when on skip

* removed a useless parameter

* added new level in the text

* only Lv. UP if level is greated than 200

* cleanup

* added some comment

* TSDoc comment block

* EXP_Party -> EXP_Party_Display, Only Up -> Level Up Notification

* better duration for the level up notification

* typo

Co-authored-by: Samuel H <flashfireex@gmail.com>

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-10 09:54:14 -04:00
Greenlamp2
22a73642df
Fix - Gamepad support setting "lost focus" behaviour (#658)
* fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key

* added some comment

* added full TSDoc, helped by chatGPT, refined every entry manually of course
2024-05-10 09:26:45 -04:00
Greenlamp2
6fbc0cb923
Settings navigation, when on top to go to the bottom, and when on the bottom to go to the top (#605)
* fix settings top and bottom

* added some comment

* TSDoc ready + less lengthy comments
2024-05-10 09:25:41 -04:00
Flashfyre
5c98529108 Re-remove fallback API change with new URL 2024-05-09 23:44:09 -04:00
Flashfyre
4810966b7e Revert "Reapply "Revert API URL change""
This reverts commit 35d06512a2.
2024-05-09 23:40:54 -04:00
Flashfyre
35d06512a2 Reapply "Revert API URL change"
This reverts commit 08067d9937.
2024-05-09 23:29:45 -04:00
MonsieurDMA
6a3f5c5428
German - Tutorials and UI Buttons (#650)
* German - UI buttons

* German - Tutorials

* Fix typo in quote transformation
2024-05-09 21:33:15 -05:00
MonsieurDMA
43b75b601a
German - All Gen 8 pokemons (#640) 2024-05-09 21:31:07 -05:00
AJ Fontaine
7219556e77
Hydro Steam (#231)
* Hydro Steam, Spirit Shackle, U-turn fix

Match formatting to project style

Co-authored-by: Samuel H <flashfireex@gmail.com>

* Fix Hydro Steam power up in Sun, even harsh sun if type changes

* Fix issue with Hydro Steam outside sun

* Add comments to IgnoreWeatherTypeDebuffAttr for documentation

* Move U-turn fix to another PR

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-09 21:21:57 -04:00
Flashfyre
2bc1cfb0fc Extend the temporary shiny chance increase by 1 day 2024-05-09 20:16:29 -04:00
Flashfyre
02cba0f741 Add temporary triple shiny chance 2024-05-09 19:59:21 -04:00
Flashfyre
dc9026f583 Add missing and updated biome art 2024-05-09 19:05:19 -04:00
Matthew
10cf1cd94f
Cleanup overrides and imports (#603)
* cleanup overrides and imports

* Add GreenLamps Modifier Overrides

* added comments

* starting money and biome comments

* account for overriding empty move

* more override descriptions

* added generator held item names to override comment
2024-05-09 14:52:09 -05:00
Lugiad
882f9c289c
French typos + forgotten description in move.ts (#617)
* French typos in move.ts

* French typos + forgotten description in move.ts
2024-05-09 15:50:14 -04:00
alpaca
1d7d8b1ac7
Implement Heal Bell + Aromatherapy (#238)
* adds frame for StatusCureAttr

* heal bell and aromatherapy functioning as intended

* refactor attr to solely handle party cure, party interaction unique enough to justify

* adds header to PartyStatusCureAttr

* code comment

* comment formatting improvement

* checks for passives as well

* code comment

* shows ability bar if immune
2024-05-09 14:15:56 -05:00
Xavion3
d5681a6e03
Fix loading protosynthesis/quark drive boosts (#687) 2024-05-09 11:33:47 -05:00
Madmadness65
407d9b7c49 Minor fix for Oinkologne's gender ratio
It was unintentionally set to be 100% male instead of 50/50.
2024-05-09 10:21:01 -05:00
maru
7f0362e124
Fix it for real this time 2024-05-09 07:30:19 -04:00
maru
c1cff02a18
Fix bug with accounts being unable to create new saves 2024-05-09 06:22:33 -04:00
Benjamin Odom
b231b887aa
Update ability.ts (#671) 2024-05-09 16:40:23 +10:00
Xavion3
802daecd65
Fix starters with multiple forms being unable to change move (#667) 2024-05-09 00:39:45 -05:00
Xavion3
fd088c9360
Prevent doubles trainers generating with one pokemon (#642) 2024-05-09 00:39:20 -05:00
Xavion3
aba97c6ddc
Make max and z moves unable to be chosen with metronome (#641) 2024-05-09 00:38:46 -05:00
Xavion3
e6ba60364e
Save battler tags (#516)
* Save battler tags

Also saves the rest of the summonData except for transform specific things.

* Add missing values for type boost tag.

* Add intellisense comments
2024-05-09 00:37:51 -05:00
mercurius-00
a48a12ec0b
Add wordwrap to Chinese words (#670)
Since Phaser.Text's wordwrap doesn't work with Chinese words, ''\n' has been added to move.ts and ability.ts
2024-05-09 00:20:01 -05:00
Tempoanon
d16cb1202f
Fix charge (#614)
* Fix charge

* Remove console logs
2024-05-08 23:37:50 -05:00
Reid McInroy
c6749b1fb4
Update spacing of icons upon Name/Tera update (#655)
This change will update the relative position of the Tera, Splice, and Shiny icons when the Name or Tera Type updates. Fixes #618
2024-05-08 23:18:26 -05:00
Madmadness65
e39b157767 Make Simplified Chinese locale use zh_CN 2024-05-08 23:13:38 -05:00
Jane620
5992d9eb81
add simplifed chinese locale (#485)
* add chinese locale, but translation is not yet complete.

* Add chs and cht locale

* translate ability,move,pokeball,pokemon

* Add files via upload

* Add files via upload

* Update i18n.ts

* Delete src/locales/zh_cn directory

* Add files via upload

* Update settings.ts

* Delete src/locales/chs directory

* Add files via upload

* add tutorial

* fix conflict issue

* remove cht, due to chs is almost done by justhil

* remove duplicated setting

* spell correction

---------

Co-authored-by: ZXZhuang <2993968012@qq.com>
Co-authored-by: justhil <138752349+justhil@users.noreply.github.com>
Co-authored-by: Jianfeng 2. Wang (NSB) <jianfeng.2.wang@nokia-sbell.com>
2024-05-08 22:59:49 -05:00
alpaca
76ac86d2ae
Implements healer (#259)
* Implements healer

* adds an ally check to the condition

* done testing, changes chance back to 30%

* adds comment header for PostTurnResetStatusAbAttr

* adds override to resetStatus to not allow revive

* dont revive

* override revert
2024-05-08 20:21:55 -05:00
Lugiad
71e9d0c385
Fix French battle.ts (#663)
Fix after global edit to "notDisabled"
2024-05-08 20:00:38 -05:00
alpaca
aeab9d78ec
Implements cursed body (#227)
* implements cursed body

* 30 percent chance to proc

* check if max

* removes unimplemented tag

* bypasses faint

* un-disable message specifies pokemon name

* adds prefix to un-disable message

* space issue
2024-05-08 19:25:16 -05:00
William Burleson
94da7838f8
fix offline imports (#659) 2024-05-08 18:14:09 -05:00
alpaca
b5888b5472
Implements Cotton Down (#254)
* Implements Cotton Down

* activates on faint as well
2024-05-08 17:25:15 -05:00
Benjamin Odom
ea5e535f9f
Fixed Failed Moves Not Using PP (#634)
Fixed an issue where if a move failed, it would not use power points.
2024-05-08 15:51:56 -05:00
Flashfyre
e993bf9945 Fix session slot always saving to first slot in offline mode 2024-05-08 16:36:44 -04:00
maru
3ec9081a77
Change titlestats update interval to 60 seconds 2024-05-08 15:47:03 -04:00
Elliott Simmonds
cb24faa12e
Small fixes to burning bulwark and alluring voice (#651) 2024-05-08 13:39:22 -05:00
Madmadness65
8a35166988 Slightly adjust Recovery Tokens
Each individual token heals 1 percent less, but now stacks to 15 instead of 10, to maintain the current maximum of 30% recovered per turn.
The purpose of this change is to make the healing more gradual, and just generally less painful if you get multiple early on.
2024-05-08 12:38:31 -05:00
Lugiad
0af02210ee
Overflowing fix in French menu.ts (#648) 2024-05-08 12:36:09 -05:00
Akuma-Reiki
ea1ed1352c
Hide Ribbons When Not Owned (#649)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species

* Hide ribbon when not owned
2024-05-08 12:35:27 -05:00
Lugiad
e93777e52a
Names of the languages in their respectives languages (#635)
* Names of the languages in their respectives languages in settings

* Names of the languages in their respectives languages
2024-05-08 12:08:34 -05:00
Akuma-Reiki
662319e9ac
Candy/Ribbon UI Improvement (#622)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species
2024-05-08 12:01:05 -05:00
Gray
b6692e42b2
Fix Flare Blitz in Gravity (#637)
This condition is out of place since Flare Blitz is not supposed to fail if used in Gravity.
2024-05-08 10:25:47 -05:00
Jeremy B
bb28d3599e
fix scrappy and mindseye working as passive ability (#567)
* fix scrappy and mindseye working as passive ability

* update apply for ignoretypeimmunityabattr

* simplify logic for ignoretypeimmunityabattr

---------

Co-authored-by: contra1337 <jpbastyr@gmail.com>
2024-05-08 00:32:38 -05:00
Procyonae
118c57ba75
Add fell stingers effect (#202)
* Add Fell Stinger Effect

* Update src/phases.ts
2024-05-07 23:44:55 -05:00
Benjamin Odom
bb6bb1e6c1
Fixed Crash Moves and Reckless (#609)
* Fixed Crash Moves and Reckless

Added a new MoveFlags flag 'RECKLESS_MOVE' to make crash and recoil moves in line with other move flag boosting attacks.

Modified how flags were defined so they are easier to maintain.

Added the appropriate flag to all mvoes listed as being affected by Reckless. Steel Beam and Mind Blown do not count according to source:
https://bulbapedia.bulbagarden.net/wiki/Reckless_(Ability)

* Update move.ts

* Update abilities.ts
2024-05-07 23:28:35 -05:00
Benjamin Odom
ce3d12d58e
Added hyperlinks to Moves, Abilities, and Species enums (#586)
* Added hyperlinks to Moves enum

Yes, I'm aware of what this looks like in the file itself, but it enables a nice neat little hyperlink shown below to the bulbapedia page when you hover over a move. I feel like the added convenience is worth making the file harder to read considering nobody is ever going to touch that file anyway. I plan on adding a python script to finish the rest of them, but didn't want to actually sink time into this if we absolutely despise it.

* Added Python Script

Created a python script to add comments with a url to abilities.ts, moves.ts, and species.ts using regex
2024-05-07 23:18:19 -05:00