Commit Graph

2459 Commits

Author SHA1 Message Date
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
Benjamin Odom 0914fd14e2
Revert "Generated .json for variant sprites. (#1116)" (#1124)
This reverts commit 8b559532b0.
2024-05-19 07:00:23 -05:00
Justin Gourlay 8b559532b0
Generated .json for variant sprites. (#1116) 2024-05-19 06:44:45 -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
rnicar245 6fa7412465
summary_moves_effect adjustment (#1097)
* summary-ui-handler stat text centered + summary_stats.png change

* summary_moves_effect adjustment

---------

Co-authored-by: ArceUseless <arceuse1999@gmail.com>
2024-05-18 11:11:31 -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
Madmadness65 bc43cebb81 Fix Charcadet line's shiny variant sprites 2024-05-18 01:05:15 -05:00
Madmadness65 eff467155a Add new shiny variants
A new set of touched up Pokémon sprites and custom shiny variants. If there are any missing or broken sprites, please let the artists know.
2024-05-18 00:37:16 -05:00
karl-police 6303129efb
Update README.md (#1080) 2024-05-17 23:58:51 -05:00
Madmadness65 4a65160130 Replace main menu music
The menu music has been replaced to respect edifette's wishes.
2024-05-17 22:16:34 -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