Commit Graph

2181 Commits (8304abd416cad1a45329a368744a34644884f894)

Author SHA1 Message Date
Flashfyre 02b2c2d55b Ribbons are also awarded for first clear 2024-05-07 10:15:40 -04:00
Flashfyre b9ce5cfaaa Mints permanently unlock natures 2024-05-07 00:58:36 -04:00
Madmadness65 fd0f21943e Implement Supersweet Syrup ability
Uses the new once per battle condition.
2024-05-06 23:47:20 -05:00
alpaca 36cde21ce3
Adds ribbon in starter screen if mon has beat classic mode (#370)
* adds the ribbon asset, hooking it up

* works if override. need to add field on server side I imagine

* moves count to starterData, increments on win

* formatting

* increment works properly

* recursively check for prevolution

* cleaned up to use getRootSpeciesId()

* changes ribbon to gold medal version

* adds Akuma's ribbon achievements

* ribbons increment correctly

* missed ui handler update

* reorder achievements

* ribbon correct, vouchers not. currently investigating

* increments properly, but voucher reward phase not appearing

* some cleanup

* works great, need to better reflect who is getting ribbon in message and cry

* plays level fanfare, tabling cry for now

* reran items.bat

* Minor fixes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-05-07 00:44:41 -04:00
Xavion3 2d740f1952 Implement once per battle restriction on abilities
Currently just Intrepid Sword and Dauntless Shield
2024-05-07 00:39:16 -04:00
kenniky 52b546c924
add hazard removal for Rapid Spin, Defog, Tidy Up, Mortal Spin (#248)
* add hazard removal for Rapid Spin, Defog, Tidy Up, Mortal Spin

* Updated templating and fixed some errors

support for either pokemon using it
added better templating

* revert logic, and remove partial tags

---------

Co-authored-by: kenwang <kenwang@umich.edu>
Co-authored-by: Gwen Valentine <gwenvalentine@starshine.dev>
2024-05-06 22:00:31 -05:00
Alvin Zou 0beb3a0f89
Show number of Pokeballs in inventory when selecting a pokeball in the reward phase (#573)
* Show number of Pokeballs in inventory when selecting a pokeball in the reward phase

* Address comments
2024-05-06 21:43:01 -05:00
Benjamin Odom f18ff5b6cc
Update Learnsets for Gen3 to Indigo Disk (#571)
* Updated Learnset of Gen1 to Indigo Disc

Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.

* Updated Learnset of Gen2 to Indigo Disc

Notable changes:

Porygon 2 loses Magic Coat with no replacement.

Ho-oh loses Burn Up but gains Overheat.

The rest seems better or neutral.

* Update Learnsets for Gen3 to Indigo Disk

A good chunk of these changes is just reordering the moves to match bulbapedia so that it's easier to see what changed in the future. Otherwise, it's really just replacing moves that don't exist anymore.

Also, Zangoose got a ton of new moves that work with a move relearner, but not by level-up. Weird, but good if you like Zangoose.

* Fix Duplicates
2024-05-06 19:54:02 -05:00
Reldnahc 84f6f06ca4 add override to force double battles.
add override for passive abilities.
2024-05-06 19:11:34 -04:00
Bruzzi 582330df33 Update italian translation 2024-05-06 15:01:18 -04:00
Dakurei 4c39bf64c5 Fix overflowing fr locale 2024-05-06 15:01:00 -04:00
Matthew 674b2257be
I18n import cleanup (#562)
* config import change

* all other configs
2024-05-06 14:25:17 -04:00
Lugiad 009d538ac5
Update French starter-select-ui-handler.ts (#559) 2024-05-06 13:54:32 -04:00
Marek Sison c7e7d8ea38
Merge pull request #3 from mareksison/move/stockpile
Condensed StockpileAttr and Renaming
2024-05-07 00:19:49 +08:00
Marek Sison 2a356f64a4 Merge branch 'main' into move/stockpile 2024-05-07 00:18:27 +08:00
Marek Sison a20bf5e266
Merge branch 'pagefaultgames:main' into main 2024-05-07 00:17:35 +08:00
Marek Sison 8cf8d2d68c UPDATE: condensed StockpileAttr 2024-05-07 00:17:03 +08:00
ArceUseless bde7620ac0
New spanish translations and literals for all langs (#552)
* Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

* Spanish translations + new literals in all langs

* Spanish translations, new literals for all langs (starter-select-ui-handler)

* Two translations

* Resolving accidental overwrite in french menu.ts

* New starter-select-ui-handler lang files for all langs

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-06 12:02:45 -04:00
Tempoanon 78ae7c9f0a
Minor TM learn fixes and make glacial lance non contact (#553)
* Make curse target

* Minor TM learn set changes and make glacial lance non contact
2024-05-06 12:00:51 -04:00
Marek Sison dae00616b4
Merge pull request #2 from mareksison/move/stockpile
Swallow and Other Updates
2024-05-06 23:41:54 +08:00
Marek Sison 43d46c07bf Merge branch 'main' into move/stockpile 2024-05-06 23:39:51 +08:00
Marek Sison 41daadcead
Merge branch 'pagefaultgames:main' into main 2024-05-06 23:39:17 +08:00
Marek Sison 4653c2d33e HOTFIX: removed marking comments 2024-05-06 23:38:13 +08:00
Marek Sison 37507322ec HOTFIX: removed stockpile from the pokemon class 2024-05-06 23:37:31 +08:00
Marek Sison bc2d232edb FEAT: Swallow implemented. Marked partial for testing 2024-05-06 23:35:55 +08:00
Viet Nguyen f22c25d376
add unit test for util function padInt (#175)
Co-authored-by: Viet Nguyen <vietnguyen@Viets-MacBook-Air.local>
2024-05-07 01:30:23 +10:00
lucfd 80b6001c77
Implemented Revelation Dance (#166)
* implemented Revelation Dance

* fixed steam engine activating on all water moves

* implemented typeless

* stellar handling for revelation dance

* removed testing lines

* changed to UNKNOWN implementation

* removed UNKNOWN RGB

* removed print debug + unnecessary logic

* simplified test condition further
2024-05-06 10:24:37 -05:00
Lugiad e3c1d08b37 Update French battle.ts + typo 2024-05-06 09:37:55 -04:00
Matthew Ross f92b563baa Hunger switch shouldn't trigger if terastallized 2024-05-06 08:49:26 -04:00
gericocross 29b80dbed8
Fixed Grafaiai animation (#547)
* Longer descriptions don't stuck shorter ones anymore

* Fixed Grafaiai animation
2024-05-06 08:44:05 -04:00
Marek Sison cfe9e9885c HOTFIX: changed StockpileDamageAttr to StockpilePowerAttr 2024-05-06 19:02:29 +08:00
Marek Sison 9d42480eae
Merge pull request #1 from mareksison/move/stockpile
Stockpile and Spit-Up
2024-05-06 16:40:56 +08:00
Marek Sison ed218c0978 UPDATE: merge with latest main 2024-05-06 16:38:23 +08:00
Marek Sison 13fb865b94
Merge branch 'pagefaultgames:main' into main 2024-05-06 16:24:58 +08:00
Marek Sison c3e9229eb8 HOTFIX: StockpileDamageAttr adjusted 2024-05-06 16:13:37 +08:00
Marek Sison 3fc2d433f5 FEAT: Spit Up partially implemented along with StockpileDamageAttr 2024-05-06 16:12:26 +08:00
Marek Sison 531ec358e0 UPDATE: Stockpile has been fully implemented. Still marked as partial for testing 2024-05-06 13:35:05 +08:00
Madmadness65 a45da8a382 Quick egg move fixes 2024-05-06 00:31:28 -05:00
Jeremy B bc8cb51dc1
Add Scrappy ability handling (#473)
* partially implement scrappy

* add minds eye handling also

* remove unimplemented from minds eye

---------

Co-authored-by: jbastyr <jpbastyr@gmail.com>
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
2024-05-06 00:27:56 -05:00
Matthew Ross 6016243caf Lum berry should cure status and confusion if possible 2024-05-06 00:27:39 -04:00
Benjamin Odom 2b4dc9a4f0
Fixes Struggle Softlock (#531)
* Fixes Struggle Softlock

Fixed an issue where moves marked as (N) would prevent you from being able to Struggle.

Also fixes messaging so that a message shows when you are out of PP, Disabled, or trying to use an unimplemented move consistently.

* Update phases.ts
2024-05-06 00:02:52 -04:00
phynor c41546b680
updated move.ts german translation (#519)
* updated move.ts german translation

* fixed encoding on Pokémon
2024-05-05 21:44:55 -04:00
Madmadness65 700b79e0c3 Update egg moves
The latest in egg move changes. As usual, if there are any complaints, direct them toward the egg move discussion thread on the Discord.
2024-05-05 19:29:54 -05:00
LaukkaE 67ee104178
Fix Protosynthesis and Quark Drive (#289)
* Fix Protosynthesis and Quark Drive

* add partial tags
2024-05-06 10:26:11 +10:00
Greenlamp 4a49ff848a allow 2 button to be pressed at the same time 2024-05-05 19:34:21 -04:00
Temps Ray 77b6ad47d0 Make curse target 2024-05-05 18:40:21 -04:00
Greenlamp2 82b0606311
Fix - stop repeating key when focus is lost (#514)
* disable all key pressed when trying to open a modal

* in fact, checking the if the focus is lost is a better solution
2024-05-05 18:40:05 -04:00
Flashfyre 005caeb1ab Change cookie expiration to 90 days 2024-05-05 18:13:19 -04:00
Benjamin Odom e6fd331931 Fix HalfSacrificialAttr
Mind Blown targets all users and was triggering recoil every time it hit. Changed so that it only applies once after all targets take damage by adding a new MoveEffectTrigger, POST_TARGET. This also fixes an issue where dying to recoil stopped the rest of the damage from hitting the remaining targets.

This change also applies fixes for Steel Beam since they are have the same effect but is single target.

Also added missing messages for Damp and Recoil. All messaging is in line with Pokémon Showdown.
2024-05-05 17:46:15 -04:00
Tempoanon 9b72dfbd71
Implement curse (#510)
* Implement curse

* self targeting is always true if not ghost type
2024-05-05 17:45:20 -04:00