Commit Graph

1671 Commits (14cc639654a537b1b9d17c621b735fd082427439)

Author SHA1 Message Date
Samuel H 9024eeb990
Aggregate Stat Changes (#266)
* Add stat change aggregation

* Minor fixes to stat change aggregation
2024-04-24 00:25:01 -04:00
Flashfyre 3e296116bb Fix passing wrong argument when initializing move animations 2024-04-23 23:28:55 -04:00
Flashfyre e2effee43d Fix typo 2024-04-23 22:32:04 -04:00
Flashfyre 1376ea4e87 Fix initial starters not having first ability unlocked 2024-04-23 22:16:49 -04:00
Flashfyre ba71d2750b Load files from manifest for caching 2024-04-23 22:00:23 -04:00
Madmadness65 d48de66179 Implement Snap Trap
One of the basic trapping moves that got overlooked.
2024-04-23 13:04:42 -05:00
Flashfyre 8f36bf1dcf Don't lapse eggs on the final wave of a run 2024-04-23 13:12:57 -04:00
Flashfyre 92caf6059b Fix ability color with duplicate ability as hidden 2024-04-23 12:37:26 -04:00
Xavion3 049fa306b9 Add dynamax buffs 2024-04-23 12:02:09 -04:00
PabloG02 a71392f2d6 Add Spanish localization for menu, moves and pokeballs 2024-04-23 11:58:47 -04:00
Flashfyre c98e5b8beb Fix reintroducing stack overflow on enemy attack 2024-04-23 09:52:02 -04:00
shayebeadling 11ee81091b
Implements hospitality (#252)
* implements hospitality

* 1/8 -> 1/4

* shows animation

* Minor nitpicks

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-23 09:43:35 -04:00
Flashfyre 444b4075fe Biome can't change before a boss in endless mode 2024-04-23 09:40:05 -04:00
Dakurei 9a3e71219e
Translation of Pokémon names in French (#251) 2024-04-23 08:16:22 -04:00
Madmadness65 87e6b80479 Update egg moves for Gens 1, 2, 3, 6, and 8
A LOT of Pokémon have had egg moves shifted around this update. Please let us know if there's any that are overpowered or straight up nonsensical.
2024-04-23 01:00:00 -05:00
Flashfyre 216139df5b Re-apply status token shuffling with recursion fix 2024-04-22 23:58:26 -04:00
Flashfyre fa6f05d997 Revert "Apply status tokens in a random order to prevent bias"
This reverts commit 1f8e36575d.
2024-04-22 23:52:44 -04:00
Flashfyre 1f8e36575d Apply status tokens in a random order to prevent bias 2024-04-22 23:43:31 -04:00
Flashfyre af85d38b27 Halve damage, protection, and endure tokens 2024-04-22 22:10:39 -04:00
Anthony Baussard 75faf1960f
Implement localisation on login and register UI + add their french locale (#244)
* Add localisation and french locale to login menu

* Add localisation and french locale to registration menu
2024-04-22 20:39:51 -04:00
Flashfyre eeb547417f Endless biomes are short but connected 2024-04-22 20:30:46 -04:00
EggMuncherSupreme 16ff508443 Added the triageMove() flag to Bouncy Bubble 2024-04-23 06:53:04 +10:00
Madmadness65 71f99da38d Allow Necrozma's forms to relearn the signature moves
Dusk Mane can relearn Sunsteel Strike, Dawn Wings can relearn Moongeist Beam, and Ultra Necrozma can relearn both.
2024-04-22 13:30:17 -05:00
dpMelian fac78e085c feat: correct typos in MistTag and Lance's dialog 2024-04-22 14:27:52 -04:00
Flashfyre 26b1bb5f03 Don't increment seen shiny count for trainers 2024-04-22 11:28:13 -04:00
Flashfyre 184a028e66 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-22 11:27:44 -04:00
Madmadness65 1a27ee2b63 Update Gen 5 and 7 egg moves
Lots of replacements in this egg move update.
2024-04-22 10:08:47 -05:00
Flashfyre 0b24096e9b Fix mid-stage bugs losing hidden ability 2024-04-22 09:16:11 -04:00
Xavion3 c949557469 Fix OHKO accuracy formula 2024-04-22 08:31:27 -04:00
Flashfyre f8f5b64469 Add One Hit KO accuracy and make damage 200 BP for bosses 2024-04-22 01:05:48 -04:00
Luc 8cf82d3db4 fixed steam engine activating on all water moves 2024-04-22 00:49:54 -04:00
Flashfyre 4950dd0e73 Fix shiny variant back sprite color mapping not working 2024-04-22 00:31:33 -04:00
Flashfyre df7a6be654 Fix errors from merged PRs 2024-04-21 23:05:36 -04:00
Procyonae fd8cb07c9b
Implement Liquid Ooze (#210)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:02:10 -04:00
shayebeadling a214ed6e66
Implements anticipation (#201)
* implements anticipation

* checks against ohko attr

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:01:11 -04:00
Procyonae 0737827bbc Implement Toxic Debris 2024-04-21 23:00:09 -04:00
Flashfyre 291f8570e9 Cap money at max safe integer 2024-04-21 21:17:07 -04:00
Madmadness65 8838d36bf4 Implement Temper Flare
It is functionally identical to Stomping Tantrum.
2024-04-21 19:29:47 -05:00
Flashfyre 4fc194295b Remove event shiny bonus 2024-04-21 19:58:55 -04:00
lucfd 12ae21c3cf
Implemented Stomping Tantrum (#192)
* implemented Stomping Tantrum

* fixed on missed moves
2024-04-21 19:55:40 -04:00
Luc Dube 158eb9748b implemented magic powder 2024-04-21 19:54:55 -04:00
Kyle McGlynn fdc5511356 Fixed bug where Solar Beam wouldn't display if it was sunny 2024-04-21 19:54:34 -04:00
Gwendal 8d7f1ae554
Allowing pokemon name translation (#228)
* Allow pokemon name translation

* Improve Pokemon localization

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-21 19:53:24 -04:00
Flashfyre 1a53c19e3b Add menu cursor wrapping 2024-04-21 18:45:14 -04:00
Tempoanon 1eaa5c0d79
Misc changes (fix Trumbeak level up, give Mega Gallade sharpness, WIP for curse) (#229)
* Minor changes

* fix tabbing

* minor nits in CurseAttr
2024-04-21 18:23:45 -04:00
Flashfyre f5cd99f091 Fix evolution and hatch screen not applying shader pipeline 2024-04-21 18:22:33 -04:00
maru fd368342b8
Revert "Use new API URL"
This reverts commit 9531f92997.
2024-04-21 17:40:49 -04:00
maru 9531f92997
Use new API URL 2024-04-21 17:19:33 -04:00
Flashfyre 3d9f5fb157 Protect against cross-session overwrites 2024-04-21 16:19:11 -04:00
Xavion3 24c2e18ed7 Stop weather being regenerated on save load 2024-04-21 12:45:58 -04:00
Miguel S 0e9881e351 Fixed issue #224: Healing Wish description (french) 2024-04-21 12:09:58 -04:00
Flashfyre 87c1f5e50f Fix Poke Ball localization 2024-04-21 11:50:50 -04:00
Juan-Lucas 3c90427361 pokeball: implement i18n on pokeball name and add french i18n 2024-04-21 11:19:57 -04:00
Flashfyre c8a9069e8b Add outdated session support and fix older migrations 2024-04-21 10:59:50 -04:00
Madmadness65 c2136a6df1 Miscellaneous minor changes
• The volume of Pikachu's cry has been lowered by 10 dB.
• Tarountula's starter value has been lowered to 1.
• Altered Whitney and Chuck's signature Pokémon (swapped Whitney's Clefairy for Girafarig, and gave Chuck Mankey).
• The alternate forms in Flabébé's evolution line can now be encountered.
2024-04-21 00:47:55 -05:00
Xavion3 5b34e7f873 Implement No Guard 2024-04-21 01:34:21 -04:00
lucfd 1acc082080
Fixed Freeze Shock (#216)
* added charge turn to freeze shock

* fixed freeze shock animation
2024-04-21 01:04:51 -04:00
Xavion3 c3eaa0506f Make it so you can't freeze in sun 2024-04-21 00:41:33 -04:00
Flashfyre ee6c3e8fbc Fix boss IVs rerolling after reload 2024-04-20 23:24:01 -04:00
Flashfyre 08988822db Add missing attribute to Pressure 2024-04-20 23:09:59 -04:00
Flashfyre ae2c9c1a57 Account for stack count with Wide Lens accuracy boost 2024-04-20 22:59:48 -04:00
Flashfyre 17eddd7b02 Consolidate broken variant data for players who missed 1.0.1 2024-04-20 22:30:28 -04:00
Flashfyre 8faa77cfbf Fix struggle damage blockable by Magic Guard 2024-04-20 19:43:48 -04:00
Flashfyre fc06c4d9e1 Fix title querying with placeholder save slot 2024-04-20 18:46:36 -04:00
Flashfyre 9b03d6f8d3 Fix crash related to fusion sprites 2024-04-20 16:08:33 -04:00
Flashfyre d9a685611d Update passive abilities 2024-04-20 15:46:11 -04:00
Miguel S 5c6c59392d Correction french attacks infos (slash, psychic) 2024-04-20 10:19:57 -04:00
Madmadness65 2e8e3680ae Fix missing egg moves
They were incorrectly named on the document, leading to them being labeled as "None".
2024-04-20 07:55:50 -05:00
LaukkaE 18de28c807 Fix Wide Lens
rm line
2024-04-20 15:02:03 +03:00
Madmadness65 33ddc63ad5 Update Gen 9 egg moves
Everything got at least one changed move, so please let us know if some of them are too nonsensical.
2024-04-20 06:30:29 -05:00
Flashfyre 0eff8cd81a Add Wide Lens item 2024-04-20 01:59:07 -04:00
Tempoanon 934fc0ef86
Fix gyro ball base power (#206)
* Fix gyro ball base power

* Update gyro ball for gen6+
2024-04-20 01:43:37 -04:00
Flashfyre 706a85ed5b Add missing pipeline data for shiny recolors in certain screens 2024-04-19 23:37:23 -04:00
Temps Ray c9dfb199f2 Relax biome restrictions for Alolan evolutions 2024-04-19 22:36:30 -04:00
Flashfyre f0ac060466 Add temporary shiny rate increase for event 2024-04-19 19:49:58 -04:00
Flashfyre b5abdc0113 Fix error sound after selecting a biome 2024-04-19 18:56:45 -04:00
Flashfyre 0ecc46ab97 Exclude authorization header where unnecessary 2024-04-19 17:35:49 -04:00
Flashfyre 703f8c43c2 Fix move implementation indicators 2024-04-19 17:19:24 -04:00
Flashfyre 15b5afd630 Add shiny star to pokemon catch/hatch info 2024-04-19 16:21:35 -04:00
Miguel S 95d2ad2fb4
Added language setting (#185)
* Added language setting

* Allow properly changing language

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-19 14:55:01 -04:00
ARSOD-Z 86da18943d
More Dialogue Lines (#197)
* trainer dialogue

* more dialogue

* Update src/data/dialogue.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 14:17:52 -04:00
Xavion3 9dfd5a1e6e Implement Soak, Forest's Curse, and Trick-or-Treat
Updates the UI and type effectiveness to support three types, and makes old moves that change types update the UI.
2024-04-19 13:47:40 -04:00
Temps Ray e94b17bbf5 Implement getAttackTypeEffectiveness check 2024-04-19 13:11:41 -04:00
Flashfyre e17aee5d48 Fix default starter hidden ability for new accounts 2024-04-19 12:24:52 -04:00
Tempoanon 77c584981b
Add Maylene (#193)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add Maylene
2024-04-19 12:06:20 -04:00
Flashfyre bd80281859 Fix various shiny checks for palettes 2024-04-19 11:11:19 -04:00
Flashfyre 5c367db8a3 Fix ability edge case when saving starter ability data 2024-04-19 11:01:22 -04:00
Flashfyre ee18c05f02 Compare variant colors using integers for compatibility 2024-04-19 10:23:18 -04:00
lucfd ea9e95c89e
Implemented Payback (#191)
* implemented payback

* refactored payback + now doubles on item usage
2024-04-19 09:36:02 -04:00
lucfd 422eeb5d07
Implemented Stench (#190)
* implemented stench

* cleaned up code

* removed redundant lines

* Implemented Payback

* refactored, increased PostAttackApplyBattlerTagAbAttr robustness

* removed payback code

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 09:33:35 -04:00
EmoUsedHM01 660663cffe
Edited Electro Shot to raise stat before attacking (#87)
* Edited Electro Shot to raise stat before attacking

Should be a fix to issue #85

* Updated ElectroShotChargeAttr

Moved the Sp Atk boost to be inside the ElectroShotChargeAttr function

* Updated ElectroShotChargeAttr to raise SPATK before the move fires

* Updated ElectroShotChargeAttr with comments on process

* Updated formatting
2024-04-19 09:28:44 -04:00
Flashfyre 85b47be0b8 Fix battle info owned icon not factoring in ability 2024-04-19 09:03:14 -04:00
Flashfyre 46ce515fe4 Revert to not showing intro on mobile 2024-04-19 08:45:21 -04:00
Flashfyre ecedd81052 Fix not using selected starter ability 2024-04-19 08:40:49 -04:00
Flashfyre 7ed8dba46a Fix undefined variant for existing shinies in runs 2024-04-19 01:44:51 -04:00
Flashfyre 6220165315 Fix issue with undefined variant 2024-04-19 01:25:19 -04:00
Flashfyre b546203118 Fix shiny eggs corrupting candy count 2024-04-19 01:01:57 -04:00
Flashfyre 3f9e7b4839 Working fix to shiny crash issue 2024-04-19 00:58:59 -04:00
Flashfyre eebe39e1fe Fix base forms showing as shiny 2024-04-18 23:10:18 -04:00
Flashfyre 89edcc38c6 Fix nature not setting properly 2024-04-18 23:06:05 -04:00
Flashfyre c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Flashfyre a6ddda38ae Properly encode credentials 2024-04-18 20:02:04 -04:00
Flashfyre 18bd75ca4f Change forms to use url encoding 2024-04-18 19:08:53 -04:00
Xavion3 0b4963aefc Block form changing abilities while fused 2024-04-18 18:56:50 -04:00
LaukkaE d7ee958d29 Fix Sleep Talk bugs 2024-04-18 15:59:34 -04:00
Madmadness65 e07ba5680d Replace Pikachu's cry with it's classic cry
Generation 9 gave Pikachu back the electric noise cry, replacing it speaking it's name.
2024-04-18 12:16:49 -05:00
shayebeadling aae40d2246
Implements infestation (#184)
* Implements infestation

* removes partial

* wrong partial removed, fixed

* appropriate tag location in enum

* moved in battle-anim enum
2024-04-18 11:14:11 -04:00
Xavion3 6b46cd533a Implement stat resetting moves
Haze should probably have a custom message so it doesn't list the targets name
2024-04-18 10:53:02 -04:00
Xavion3 453c5644aa Fix mold breaker + implement neutralising gas 2024-04-18 10:52:31 -04:00
Xavion3 3a64a8390a Implement Psych Up 2024-04-18 10:51:30 -04:00
Flashfyre 5bd1577667 Change passives to exclude Disguise 2024-04-18 08:54:49 -04:00
Flashfyre fe288ce16c Add French move translation TS classes 2024-04-18 08:41:04 -04:00
Miguel S 8830b55061 Moves locales french 2024-04-18 08:41:04 -04:00
Miguel S 4330ee5543 Menu locales for french 2024-04-18 08:41:04 -04:00
Miguel S 30ddde6874 Fixed move name, effect typo 2024-04-18 08:41:04 -04:00
Flashfyre eab38a5ad4 Add more exp gains options 2024-04-18 00:50:04 -04:00
Hans Sorongon 0948295a98 Add option to hide exp gains after a battle 2024-04-18 00:50:04 -04:00
Flashfyre 8ab21b99fb Fix menu disabling 2024-04-18 00:24:57 -04:00
NxKarim 94d5eab489
Implemented Disguise (Better this time) and Quick Feet console spam fix (#174)
* Implemented Disguise

Somehow it works.

* Update ability.ts

* Update ability.ts

* Update ability.ts

* whitespace pain

* Form name typo

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

* Implemented Disguise

Disguise

Merge

Merge

Merge

Merge

Disguise + Merge

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-18 00:09:28 -04:00
serif 8a1641786d updated numerous Pokemon to BDSP/SV movesets
Haven't finished - will do the rest hopefully tomorrow
2024-04-17 22:43:50 -04:00
serif 0ddae73bf5 Update Pidgey, Rattata, and Spearow movesets to BDSP
Will update others later
2024-04-17 16:00:35 -04:00
dpMelian 4c128e9d26 feat: correct typo in AttackTypeBoosterModifierType constructor
Corrected "Inceases" to "Increases" in the description of the AttackTypeBoosterModifierType constructor to accurately reflect its functionality.
2024-04-17 15:59:57 -04:00
Flashfyre 6f3887a2eb Remove unintended negative from fusion compatibility filter 2024-04-17 15:58:13 -04:00
Flashfyre d210e3878e Disable menu temporarily on receiving a voucher 2024-04-17 15:56:29 -04:00
Flashfyre 7155174d3c Patch a certain bug 2024-04-17 14:49:18 -04:00
Madmadness65 be7a0d9ca6 Minor change to Shaymin's egg moves 2024-04-17 11:29:52 -05:00
Madmadness65 55cce8ce0d Update Gen 4 egg moves
This time they have been thoroughly looked over before being submitted.
2024-04-17 10:47:41 -05:00
Tempoanon cf2bd4d3da
Implement Charge and more abilities (#163)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add wind abilities and charge

* Implement Charge and more abilities

* Add i18n support and Beedrill fury cutter

* Fix merge conflict in taunt

* More English strings removed
2024-04-17 01:09:15 -04:00
Robert Antonius db92663daa Fixed switch out attacks trigger contact for the replacement pokemon
Changed force switch out attribute to be applied after the move is done.
Additionally manually typed switch out attacks to be non baton pass moves.
2024-04-17 01:07:50 -04:00
Madmadness65 5d1cd97411 Add G-Max move strings to the move locale file
Also a minor fix to decapitalize Mud and Water Sport's fade out messages.
2024-04-17 00:01:28 -05:00
Flashfyre 0758c44670 Add types to move translations 2024-04-16 18:26:10 -04:00
Flashfyre b116828b07 Convert biome select UI handler to option select 2024-04-16 15:58:02 -04:00
Flashfyre dfe320e712 Minor changes to biome paths 2024-04-16 15:22:19 -04:00
Flashfyre 61e1f2da15 Fix compile errors 2024-04-16 15:09:13 -04:00
lucfd 24408edfdc
Implemented Burn Up & Double Shock (#161)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog

* Implements Burn Up & Double Shock

* Removed code irrelevant to current PR
2024-04-16 15:07:38 -04:00
Flashfyre 1138530a0c Remove partial and not implemented indicators from translations 2024-04-16 14:38:58 -04:00
shayebeadling 396f1bafd8
Fail conditions are working properly, can now handle sleep as well in edge case (#160) 2024-04-16 14:34:57 -04:00
Ishan Patel 1f9834d1f6
Fixed when roost removes flying type (#148)
* Initial push with roost fix

* Roost fix

* Added GROUNDED to Levitate

* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
Miguel S 7bc147166e
i18n for Pokemon moves (#155)
* i18n for moves

* Remove extra comma from merge

* Fixed some missing moves description

* Infer move i18n keys

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-16 14:29:32 -04:00
shayebeadlingkl cfd30f16b2 Implements psycho shift 2024-04-16 13:15:00 -04:00
Xavion3 420d7fbade Fix paralysis speed drop
Should only be 0.5x
2024-04-16 12:25:41 -04:00
Flashfyre 05bb384934 Update crit chance to gen 7 odds 2024-04-16 12:14:33 -04:00
Flashfyre 257e222b83 Fix being able to buy Sacred Ash without fainted party members 2024-04-16 12:04:52 -04:00
Flashfyre 4b77ba8c39 Fix certain elements not showing on loading screen on mobile 2024-04-16 11:26:23 -04:00
Flashfyre 986e907894 Don't show intro video on mobile 2024-04-16 10:59:15 -04:00
Madmadness65 5058bcf717 Adjust Cosmoem's evolution conditions
It no longer needs a specific biome in order to evolve, just time of day (It was wrong anyways, evolving in all biomes *except* Space).
2024-04-16 00:02:16 -05:00
shayebeadling 95aa78487f
Present implementation, adds a 0 dmg override for 0 power moves. (#152)
* Implements present, adds an override in the dmg calc to make 0 power moves do 0 dmg

* present doesn't make contact

* removes console log

* only === 0
2024-04-16 00:41:15 -04:00
Hans Sorongon e188e90d1c Fix shoulder buttons not working issue 2024-04-16 00:07:59 -04:00
Flashfyre e85179f7cd Fix gamepad support not saving 2024-04-15 22:40:27 -04:00
Flashfyre 1ff206287a Add setting for gamepad support 2024-04-15 20:13:58 -04:00