Commit Graph

2201 Commits

Author SHA1 Message Date
Flashfyre
4a703c938d Add load message handler for too many connections 2024-04-25 14:47:32 -04:00
lucfd
fa463b77db
Implements Stakeout & Analytic (#292)
* implemented stakeout

* implemented analytic
2024-04-25 14:29:05 -04:00
Edralo
4cfae4703c Implement localisation for main menu options (menu-ui-handler) & add french locale 2024-04-25 14:27:05 -04:00
Flashfyre
daba4e9482 Fix not updating legendary and mythical Pokemon seen stats 2024-04-25 13:20:32 -04:00
Flashfyre
1d25935aa0 Enforce trainer IDs on write requests for data integrity 2024-04-25 09:17:48 -04:00
maru
382f1a8d78
Styling changes 2024-04-25 04:01:00 -04:00
Flashfyre
7032f383ea Fix battle sprite losing shininess in battle animations 2024-04-25 01:49:06 -04:00
Tempoanon
230c2bf983
Fix Moody and Quark Drive (#284)
* Fix Quark Drive and Moody

* Telepathy still unimplemented

* more merge conflict stuff
2024-04-25 01:23:45 -04:00
Silvestre Emmanuel
ab8b9f0bfa
Added a way to see the pokemon stats in the Learn Move Phase (#286)
* Added the move category icon to the fight ui

* Added a way to see the pokemon stats in the Learn Move Phase
 -Pressing Button.LEFT now shows the stats summary page
 -Pressing Button.RIGHT goes back to move selection page

* Minor nitpicks

---------

Co-authored-by: Silvestre Emmanuel <silvestre.ramirez@wundertec.com>
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-25 01:18:23 -04:00
Madmadness65
608a9d9400
Merge pull request #242 from EggMuncherSupreme/main
Added the triageMove() flag to Bouncy Bubble
2024-04-24 23:18:46 -05:00
John Martin
145267c9a6
Fixed leftover text re-corrections. (#283)
* Minor text corrections to item descriptions.

* Update modifier-type.ts; minor text correction updates

* Update modifier-type.ts; further text re-corrections.

* Update modifier-type.ts; leftover re-corrections.

* Minor text corrections in modifier menu.
2024-04-24 23:29:47 -04:00
Flashfyre
a0311f4b0f Fix partial and unimplemented indicators not showing on abilities 2024-04-24 22:42:09 -04:00
Flashfyre
095667c7c9 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 21:24:47 -04:00
Flashfyre
269db12436 Add missing URI component encoding on login 2024-04-24 21:21:28 -04:00
Pablo González
7055ea49c7
Support localization of Pokémon abilities (#271)
* Support localization of Pokemon abilities

* Reload ability localization when language is changed

* Add Spanish localization for abilities

* Add missing French abilities localization

* Add missing localize call on abilities

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 21:10:09 -04:00
Silvestre Emmanuel
ebad76c335 Added the move category icon to the fight ui 2024-04-24 21:02:56 -04:00
Flashfyre
e00ebb49ca Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 19:26:13 -04:00
Flashfyre
97218be59c Add back missing authorization headers 2024-04-24 19:26:04 -04:00
Edralo
dc575d44a3 Implement localisation for pokemon stats & add french locale 2024-04-24 19:12:26 -04:00
Flashfyre
ad818aa314 Add new API url with fallback 2024-04-24 19:08:02 -04:00
Madmadness65
6b3442a260 Update stone evolution Pokémon's learnsets
Moves that are relearned in the official games are now level 1 moves for these Pokémon, as they have paltry movesets otherwise.
2024-04-24 13:40:59 -05:00
Dakurei
37266a7a5d
Fixing typo (fr locales) + Add missing i18n (#270)
* Fix typo

* Missing usage of i18n
2024-04-24 14:38:46 -04:00
Madmadness65
d88a177915 Fix crash with trainer Mantykes
the first evolution method was causing a crash due to a conflict, so it was removed for now.
2024-04-24 12:54:34 -05:00
Madmadness65
4173f87a70 Add easier method of evolving Mantyke
There is now an alternate easier evolution method for Mantyke into Mantine, that being having Remoraid simply being registered as caught and be level 32.
2024-04-24 11:58:37 -05:00
Flashfyre
cf3a7dca35 Comment out variant data fix to prevent ability data corruption 2024-04-24 09:26:46 -04:00
Edralo
4ea67976b9 Fix password input types for languages other than english 2024-04-24 08:36:58 -04:00
Flashfyre
adc383a8f9 Add UI support for 2 additional save slots 2024-04-24 01:51:30 -04:00
Juan-Lucas
1b1578d266
command-ui: add i18n for command ui handler and add i18n for fr (#258)
* command-ui: add i18n for command ui handler and add i18n for fr

* Add missing Spanish file

* Add additional missing localization references

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 00:36:07 -04:00
John Martin
ea40bd18f5
Minor text corrections to item descriptions. (#255)
* Minor text corrections to item descriptions.

* Update modifier-type.ts; minor text correction updates

* Update modifier-type.ts; further text re-corrections.
2024-04-24 00:28:48 -04:00
arColm
6066d2e47e Implement Flying Press 2024-04-24 00:26:41 -04:00
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
Flashfyre
0692a343a0 Fix duplicate candy count key for local 2024-04-15 19:47:12 -04:00
Flashfyre
4057fbf846 Formatting consistency changes 2024-04-15 19:45:10 -04:00
Hans Sorongon
1b41bdb8e3 Added built-in support for gamepads using Phaser.Gamepad 2024-04-15 19:45:10 -04:00
Flashfyre
ec4c395e87 Add more biome weather 2024-04-15 17:45:52 -04:00
prateau
c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
prateau
509954995c update moves and abilities that takes effect in snow 2024-04-15 17:45:52 -04:00
prateau
0196cf8310 Add snow as a weather 2024-04-15 17:45:52 -04:00
Flashfyre
7275876120 Fix starter select issue with gender forms 2024-04-15 17:34:36 -04:00
Matthew Ross
c978fad286 Smack down should hit target charging fly 2024-04-15 16:24:57 -04:00
damocleas
a0fd462b5c
Nature Power move change for Town Metropolis and Plains (#147) 2024-04-15 16:23:44 -04:00
LaukkaE
e15b810f6a Prevent crash with trace 2024-04-15 16:08:54 -04:00
Matt Ross
af4e9ff66e
Additional moves should hit fly, dig, dive (#143)
* whirlwind should hit pokemon charging fly

* Thunder should hit flying

* magnitude and fissure should hit dig

* Add battle tag for underwater (dive), allow surf/whirlpool to hit diving

* reorder underwater in enums to match battler-tags order

* hurricane and thousand arrows should hit fly
2024-04-15 15:49:10 -04:00
damocleas
3a1ebc9815 Nature Power move for all biomes
Unique Nature Power move for all biomes, no overlap with terrains
2024-04-15 15:21:50 -04:00
Flashfyre
abc729ed5c Revert "Replace intro with smaller file"
This reverts commit 8cce544536.
2024-04-15 15:04:42 -04:00
Flashfyre
8cce544536 Replace intro with smaller file 2024-04-15 14:45:00 -04:00
Flashfyre
69d9f705a1 Fix issue with cache busting fix for intro video 2024-04-15 14:14:41 -04:00
Flashfyre
22f6521fcb Ignore cache busting for intro video 2024-04-15 14:10:48 -04:00
Flashfyre
c1d641251b Add Pagefault Games intro 2024-04-15 13:10:09 -04:00
LaukkaE
2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
serif
39eed2a275 Update move.ts
adds the rest of the biomes
2024-04-15 12:21:13 -04:00
AJ Fontaine
76edb00e31 Thermal Exchange 2024-04-15 12:18:00 -04:00
Flashfyre
9d92ec2a72 Fix nature power using wrong syntax for switch case 2024-04-15 10:45:40 -04:00
Flashfyre
398f2c5be0 Fix being able to overwrite data without a confirmation 2024-04-15 10:35:57 -04:00
Flashfyre
6e59b4dd77 Prevent saving on an outdated client 2024-04-15 10:09:51 -04:00
Xavion3
6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -04:00
Flashfyre
8819473dce Lower price of Sacred Ash 2024-04-14 23:46:20 -04:00
Flashfyre
8dd0aa5384 Fix some female breeder names showing as male names 2024-04-14 22:56:25 -04:00
Madmadness65
e7f1969099 Implement Ivy Cudgel's type changing property
Basically a copy/paste of Raging Bull's code.
2024-04-14 21:41:12 -05:00
Matthew Ross
032ab95756 Additional check for can apply ability after move used 2024-04-14 22:40:26 -04:00
lucfd
d699a0f7d4
Implemented barrier-breaking moves (#130)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog
2024-04-14 22:26:58 -04:00
Madmadness65
e0dd7d6d48 Implement Shields Down's form change; Fix wild Rotom forms not appearing
Shields Down is only partially implemented; the form changing aspect is implemented, but the immunity to statuses is not yet.
Minior's alternate colored forms can now be encountered in the wild.
Rotom's appliance forms should *finally* appear in the wild correctly now.
And a minor fix for Zen Mode activating incorrectly.
2024-04-14 20:32:17 -05:00
Flashfyre
99aa7854c0 Prevent replacing learnset when species is overridden 2024-04-14 20:23:51 -04:00
surniki
208279ce77 Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja. 2024-04-14 20:09:58 -04:00
shayebeadlingkl
be9d07ab1a fixes targeting 2024-04-14 18:26:44 -04:00
Flashfyre
669bc367e5 Fix Super Luck working on the wrong side 2024-04-14 18:19:35 -04:00
shayebeadlingkl
8932a0b6f9 Implements Nature Power 2024-04-14 18:00:31 -04:00
Appo
c8445ba8dd Implement Competitive
Since Competitive is just Defiant but for SPATK, the code for Defiant was reused with the buff changed to special attack. This should mean the ability works the exact same way as Defiant for it's respective stat.
2024-04-14 16:52:44 -04:00
Flashfyre
8ccdf6d554 Fix cachebusting 2024-04-14 15:47:00 -04:00
Flashfyre
f358e302e9 Give Ferroseed duplicate ability as hidden 2024-04-14 14:36:44 -04:00
shayebeadling
90ef58d7a4
Defiant implementation (#128)
* Defiant works, but self inflicted stat changes still proc the stat raise.

* Prevents proc from self-targeted stat reductions, like superpower
2024-04-14 14:20:00 -04:00
Madmadness65
73cf4e9f5c Implement Thunderclap
It's just a copy of Sucker Punch, so no additional work needed.
2024-04-14 12:52:59 -05:00
Xavion3
605e16fe35 Fix a bunch of moves 2024-04-14 13:16:28 -04:00
Tempoanon
946e6d8c5c
Implement Rivalry, Quick Feet, Liquid Voice, and Normalize (#108)
* 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
2024-04-14 13:15:01 -04:00
cornfish
c25cb50b31
Implement toxic chain (#126)
* implement toxic chain

* fix for self target like roost
2024-04-14 13:13:17 -04:00
Flashfyre
75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3
705ba0659e Fix crash bug with sucker punch when not using a move 2024-04-14 12:06:21 -04:00
Flashfyre
598e695348 Fixed damage moves are unaffected by the multi lens 2024-04-14 12:02:44 -04:00
Xavion3
cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Madmadness65
1941939931 Fix Jungle Healing healing the user twice
It still does not have the status condition healing bit yet.
2024-04-14 08:19:31 -05:00
Temps Ray
65961d5cc7 Fix bug in legendary gacha that reduced epic egg rates 2024-04-14 01:30:07 -04:00
Flashfyre
7e3ad88e4d Hide candies for evolved starters 2024-04-14 00:14:23 -04:00
Xavion3
4078518c5f
Add support for ability changing effects (#113)
* Add support for ability changing effects

* Fix doodle with a fainted ally in doubles
2024-04-13 23:21:34 -04:00
shayebeadling
f068b53d44
Show icon in dex for HA mons, like shiny (#117)
* Show icon in dex for HA mons, like shiny

* Swaps the star with the HA capsule

* Removes the unwanted icon
2024-04-13 23:20:54 -04:00
neverblde
cdab38abda Don't escape interpolation values 2024-04-13 23:02:32 -04:00
Flashfyre
796f69daeb Lower candy costs for lower-cost starters 2024-04-13 20:41:51 -04:00
Madmadness65
77368986fe Change Rotom and Carbink's passive abilities
Rotom naturally cannot take advantage of Electric Surge as it's not grounded, and Oblivious is pointless on a genderless Pokémon like Carbink.
2024-04-13 19:37:42 -05:00
Flashfyre
000d31f663 Fix use candy menu showing up for evolved starters 2024-04-13 19:36:43 -04:00
Flashfyre
c369e9ed85 Change layering on certain starter select ui elements 2024-04-13 19:28:32 -04:00
Flashfyre
61ce0887ef Fix candy menu not showing for species with only 1 starter move 2024-04-13 19:21:59 -04:00
Flashfyre
608c024749 Fix crash on starter select when scrolling generations 2024-04-13 19:06:33 -04:00
Flashfyre
824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
EmoUsedHM01
c84531af35 Gave Regigigas Normalize as a HA following a discussion about it on Discord
Removes its powerful coverage options in exchange for losing Slow Start, still gets walled by anything that resists/ignores Normal type moves but is no longer useless for 5 turns
2024-04-13 13:55:56 -04:00
LaukkaE
8cf8ce1258 Fix terrain power boosting
fix
2024-04-13 13:51:13 -04:00
neverblde
df949be2bd Refactor some string literals into i18next 2024-04-13 00:49:14 -04:00
Xavion3
66ef42db85 Update ability attributes 2024-04-12 22:25:22 -04:00
kleekie
3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -04:00
Madmadness65
92812aae1d Draining Kiss now restores 75% of damage dealt 2024-04-12 19:02:24 -05:00
Flashfyre
f6770b83b5 Add missing passive parameter to BonusCritAbAttr 2024-04-12 19:31:08 -04:00
Flashfyre
086c64b8f8 Fix invalid constructor arguments to always crit tag 2024-04-12 18:44:20 -04:00
EmoUsedHM01
cabba43598
Added support for Super Luck with BonusCritAbAttr (#106)
* Fixed Super Luck, and added a new BonusCritAbAttr

* Added crit clause for BonusCritAbAttr ( Super Luck )

* Changed it to +1 like it should be
2024-04-12 17:21:56 -04:00
Dovie Shalev
eb791747fe
Last respects Fully Implemented (#105)
* Last Respects fully implemented

* Fixed Last Respects

* Last Respects Fully Implemented

* Last Respects Fully Implemented

---------

Co-authored-by: dshalev <dshalev@umich.edu>
2024-04-12 16:16:08 -04:00
William Burleson
389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -04:00
EmoUsedHM01
930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Madmadness65
dcb4688c76 Revert "Update Gen 4 & 9 egg moves"
This reverts commit eef83432ab.
2024-04-12 14:54:01 -05:00
Madmadness65
eef83432ab Update Gen 4 & 9 egg moves 2024-04-12 14:40:14 -05:00
Matthew Olker
d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01
fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3
20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
James Lin
73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
spongario
d06003d22c fix formatting 2024-04-11 23:18:37 -04:00
spongario
07ff22e53d fix for Psychic Terrain blocking Protect Moves 2024-04-11 23:18:37 -04:00
Flashfyre
a793aedd29 Don't transfer baton item if target is already holding one 2024-04-11 20:58:24 -04:00
Xavion3
747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre
3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre
3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre
eaf993e76f Fix starter select types not respecting form 2024-04-11 19:10:56 -04:00
Flashfyre
49f2a5d3eb Unimplemented moves cannot be selected by the play 2024-04-11 18:53:03 -04:00
Flashfyre
716388c92b Fix Pupitar losing hidden ability 2024-04-11 18:33:58 -04:00
Flashfyre
d50521755e Fix fusion move merge happening after wave end 2024-04-11 16:30:29 -04:00
AppleOfTheDark
d05fab041c
Snow Cloak Conditional Fix (#91)
* Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.

* Snow Cloak

getWeatherCondition is not meant to have a capital.
2024-04-11 15:52:15 -04:00
Flashfyre
3d959e3860 SpDef boost in sandstorm only applies to rock types 2024-04-11 14:52:32 -04:00
Flashfyre
af23bfc1f9 Fix post-summon abilities sometimes triggering twice on switch 2024-04-11 12:35:22 -04:00
Flashfyre
053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre
377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -04:00
Flashfyre
1d0f04d629 Add type icons to starter select 2024-04-11 11:39:08 -04:00
Flashfyre
f2a141cf15 Fix Mega evolutions causing ability slot to be lost 2024-04-11 11:09:07 -04:00
Flashfyre
c14c581248 Weather damage counts as neutral damage 2024-04-11 10:33:08 -04:00
Flashfyre
43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre
fbb901e591 Temporarily disable passive abilities 2024-04-11 09:30:40 -04:00
Flashfyre
31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre
75075c6fab Update missing save data handling 2024-04-11 00:18:16 -04:00
AppleOfTheDark
b9a068e3b7
Implement Shed Skin (and Hydration!) (#84)
* Implement Shed Skin (and Hydration!)

Implemented Shed Skin, with a 1/3 chance to remove a non-volatile status condition if inflicted with it at the end of each turn. While doing this I noticed Hydration is the same effect but in Rain/Heavy Rain, so I implemented that too.

* Update to ability.ts based on changes.

Formatting errors should be largely fixed, and we've switched from Math.rand to Utils.

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-11 00:16:09 -04:00
Madmadness65
b2beb8e0c8 Chespin now has Tackle at level 1
Minor change to give the only starter without a normal attack one. Chesnaught *does* have it at level 1 oddly enough.
2024-04-10 21:59:08 -05:00
Jason Halvorson
a337e9499a Fix Diancie's gender
Diancie is genderless, so I've removed it's gender
2024-04-10 22:41:53 -04:00
Xavion3
4f1fa4e192 Fix random category
Also fix the variable name
2024-04-10 22:41:16 -04:00
Xavion3
4f63b83bd9 Add support for variable category moves
Also lets shell side arm poison
2024-04-10 22:41:16 -04:00
ARSOD-Z
7c8aed50cd
trainer dialogue (#81) 2024-04-10 22:39:42 -04:00
Flashfyre
8dc96c0070 Fix triggering summon ability on load 2024-04-10 20:57:22 -04:00
Stophles
f418fe294a Rapid Spin now removes traps/seeds, added (P) back on
Rapid Spin now removes the tags for trapping moves and seeds rather than having them lapse.  Re-added the (P) to the move since clearing arena hazards hasn't been implemented yet.
2024-04-10 20:37:11 -04:00
Flashfyre
81536e7e8e Ignore fusion species generation on egg hatch 2024-04-10 20:31:52 -04:00
Flashfyre
bd556e3c68 Fix Fillet Away 2024-04-10 17:31:39 -04:00
Flashfyre
f45b21afde Revert "Fillet Away"
This reverts commit 97144077f2.
2024-04-10 17:23:31 -04:00
Kieru Snowbell
97144077f2 Fillet Away
I wanted to use it, so I coded it.
2024-04-10 17:21:07 -04:00
Flashfyre
350aa30a35 Fix issue with status effect move AI 2024-04-10 15:39:36 -04:00
LaukkaE
3a2f364b41 Fix protect having a chance to fail twice in a row
Account for other types of protecting moves
2024-04-10 15:01:38 -04:00
Flashfyre
151b751300 Fix crash when stealing an enemy item not in player pool 2024-04-10 14:31:29 -04:00
Flashfyre
8d751b22e2 Fix rare alignment edge case with fusion icons 2024-04-10 13:30:04 -04:00
Flashfyre
a9040edc84 Drastically reduce chance of natural fog 2024-04-10 12:56:31 -04:00
Flashfyre
012158e7ff Improve enemy move selection AI 2024-04-10 12:49:23 -04:00
Flashfyre
ca778e07d5 Implement Pokemon fusion icons 2024-04-10 10:57:06 -04:00
LaukkaE
973eefee1d Add electric terrain electric type boost 2024-04-10 09:12:27 -04:00
LaukkaE
2a5cfbf758 Psyblade & Rising voltage affected by Electric Terrain
fix
2024-04-10 09:12:27 -04:00
Xavion3
6078154a87 Add support for weather ball
Support both type changing and power boosting
2024-04-10 08:46:48 -04:00
Flashfyre
eb5bdb07a8 Add outage handling 2024-04-10 01:32:49 -04:00
Flashfyre
5f0815bc3c Add cookie expiration 2024-04-10 00:29:03 -04:00
Flashfyre
15e3fefd80 Properly reset data when logging out to avoid data leakage 2024-04-09 18:48:34 -04:00
kd8lvt
3e5a0d5c9c
Implement Aftermath (#71)
* Implement Aftermath

* Clean up unused imports & Consistency

* Minor changes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-09 18:05:15 -04:00
Flashfyre
8ec7333b1e Re-disable data imports 2024-04-09 17:22:38 -04:00
Flashfyre
e672ead184 Indicate starters that exceed cost on starter select and show values for locked starters 2024-04-09 16:58:56 -04:00
Flashfyre
2a6042ff7e Add HP Bar Speed setting and fix Grip Claw HP skip bug 2024-04-09 15:34:57 -04:00
Flashfyre
d9849c5e70 Ignore stat change animations when move animations are disabled 2024-04-09 15:17:42 -04:00
Flashfyre
b892a8b40e Add option to disable move animations 2024-04-09 15:06:47 -04:00
LaukkaE
c9eff345cf
Implement Aura Wheel and Raging Bull types (#69)
* Implement Aura Wheel and Raging Bull types

* Account for fusion
2024-04-09 14:02:41 -04:00
Flashfyre
eff64db70e Use bitmap text for modifier text for optimization 2024-04-09 13:59:46 -04:00
Flashfyre
b48dd1c7fc Fix some trap tag messages 2024-04-09 12:42:18 -04:00
Flashfyre
1301eeb0b9 Superficial change to trigger a new build 2024-04-09 12:34:28 -04:00
Flashfyre
093b95df41 Add auto hide timer for ability bar 2024-04-09 12:08:38 -04:00
Flashfyre
88de47d8d8 Fix starter moveset logic for starters with forms 2024-04-09 11:52:34 -04:00
LaukkaE
2623313970 Toxic accuracy skip, fix thousand waves 2024-04-09 11:48:04 -04:00
Flashfyre
a2e57bf1f7 Add unsaved changes to Super Fang benefit score 2024-04-09 11:25:15 -04:00
Flashfyre
5ee95bcd17 Add Super Fang target benefit score 2024-04-09 11:04:09 -04:00
Flashfyre
ec51ba7417 Add back ability to hold down confirm and cancel buttons 2024-04-09 09:14:11 -04:00
neverblde
3874597345 Revamp input handling 2024-04-09 08:42:56 -04:00
Madmadness65
78dc98eb56 Add former HMs as TMs
This adds Cut, Strength, Flash, Rock Smash, Rock Climb, and Defog as new potential TMs.
Also adds Spiky-eared Pichu into the game for implementation at a later time.
2024-04-09 02:16:12 -05:00
Flashfyre
d226f4f564 Add a new splash message 2024-04-09 01:43:12 -04:00
Flashfyre
389036a56f Temporarily add back data import 2024-04-08 23:29:07 -04:00
Flashfyre
611d78718d Fix additional line break bug 2024-04-08 21:10:53 -04:00
Flashfyre
665eece2ac Slightly nerf early-mid to late-mid rival battles 2024-04-08 18:05:42 -04:00
Flashfyre
52f0f5a149 Fix status move immunity not working (ie. Thunder Wave) 2024-04-08 16:02:12 -04:00
Flashfyre
5844f2d742 Fix poison immunity abilities not working with toxic 2024-04-08 13:21:06 -04:00
Flashfyre
4a528aebcc Fix one hit KO moves not working properly 2024-04-08 12:52:37 -04:00
Flashfyre
5617aa9772 Re-implement counter changes and Metal Burst with missing property added 2024-04-08 12:13:34 -04:00
Flashfyre
db24880064 Revert "Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute"
This reverts commit e24c79d541.
2024-04-08 12:08:47 -04:00
Potattiummm
e24c79d541 Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute
Changed Counterdamage attribute to include a multiplier for metal burst and comeuppance. Changed logic for Comeuppance that caused it to always fail, no matter if a physical or special move hit it. Implemented Metal Burst.
2024-04-08 12:06:34 -04:00
Flashfyre
fbec7b8823 Only apply Pressure effect when targeted 2024-04-08 11:06:06 -04:00
LaukkaE
34cb70afa5 Implement Triage and Gale Wings
add move.ts
2024-04-08 10:16:50 -04:00
Flashfyre
dff22c4cae Add shiny indicator on summary screen 2024-04-08 10:12:06 -04:00
Flashfyre
fdcefbd5c1 Fix weather and terrain abilities not applying in endless mode on biome switch 2024-04-08 09:31:30 -04:00
Matthew Olker
b7130e28d9 Additional Move Change Fixes 2024-04-08 08:36:02 -04:00
Flashfyre
efb957cd4b Fix crash with generating fused species name 2024-04-08 08:33:22 -04:00
Madmadness65
f16f4576fe Temporarily mark Rotom as unable to change forms
This was affecting its ability to appear as forms in the wild and should now be fixed. Nymble's initial value change was an overcorrection and has been lowered from 4 to 3.
2024-04-08 02:01:45 -05:00
musicman928
b7368afa9e Add type change abilities 2024-04-07 22:27:07 -07:00
Flashfyre
a0e2427974 Fix strong winds effect not working on moves 2024-04-07 23:18:04 -04:00
Matthew Olker
8b382dd42e Fix Calyrex Rider uanble to change starter moves 2024-04-07 22:57:22 -04:00
Flashfyre
4531ef1ff2 Fix minor issue with fusion name generation 2024-04-07 22:56:22 -04:00
Flashfyre
87aae2ff1c Nerf enemy evolution levels and first gym leader 2024-04-07 21:56:38 -04:00
Flashfyre
b767a90464 Fix adding unintended space to beginning of messages 2024-04-07 21:38:04 -04:00
Flashfyre
13167a3901 Fix line break issues with evolution screen 2024-04-07 21:18:52 -04:00
Flashfyre
0b773ee9c6 Moves by Pokemon not on field are cancelled (IE Future Sight) 2024-04-07 20:44:57 -04:00
Flashfyre
10f987cc5e Fix not setting non initially visible party members as seen 2024-04-07 20:16:03 -04:00
Flashfyre
737499b1e9 Fix voucher screen crash 2024-04-07 20:12:45 -04:00
Flashfyre
89de4b511b Fix mixed gender names for female guitarist 2024-04-07 19:50:15 -04:00
Flashfyre
9ef13e5f67 Fix crash related to null text 2024-04-07 19:11:34 -04:00
Flashfyre
07aac12a2b Fix and re-implement improved text overflow logic 2024-04-07 18:58:19 -04:00
LaukkaE
fb9f5dad11
Properly implement Soul-Heart, Fix Opponent Stage boosts on faints (#53)
* Properly implement Soul-Heart, Fix Opponent Stage boosts on faints

add phases.ts

remove unused import

spacing

fix

* simplify alivePlayField
2024-04-07 17:20:24 -04:00
Flashfyre
d41101083e Halve fog accuracy reduction 2024-04-07 17:12:53 -04:00
Madmadness65
c9de57185e Implement Sand Spit ability; Increase Nymble's starter cost
The ability Sand Spit is now functional.
Unrelatedly, Nymble has now been doubled in starter cost from 2 to 4 (it's just too good to be too low).
2024-04-07 14:01:48 -05:00
Potattiummm
0597d04784
Added Ice Scales 2024-04-07 19:36:56 +01:00
Flashfyre
2ee2535df4 Comment out text overflow change 2024-04-07 10:56:09 -04:00
Flashfyre
689d4700c1 Add 2 second confirmation delay when overwriting save 2024-04-07 10:28:23 -04:00
Flashfyre
5437d315c0 Uncap damage reduction tokens past wave 2000 2024-04-07 09:13:16 -04:00
neverblde
6decbec6a9 Fix pokemon applying burn reduction 2024-04-07 08:49:46 -04:00
Flashfyre
fae5b642f6 Improve fusion names with a space present 2024-04-07 00:28:37 -04:00
Flashfyre
39667f3398 Fix freezing after pressing new game without endless unlocked 2024-04-07 00:06:44 -04:00
Madmadness65
90f6005603 Update Gen 3 egg moves 2024-04-06 23:00:53 -05:00
Flashfyre
e747fa2ecd Increase endless mode limit to 15 2024-04-06 23:50:26 -04:00
Jason Halvorson
9449de4854 Fix battle stat booster text to match effect again
Battle stat boosters were changed to 5 turns in
e5ffc1e2db
2024-04-06 23:25:39 -04:00
Madmadness65
0cb008adb0 Implement Gooey and Tangling Hair abilities 2024-04-06 22:18:12 -05:00
Flashfyre
cc98d9da7d Validate full shiny party achievement on initial encounter 2024-04-06 23:14:13 -04:00
Flashfyre
70a4d54ec9 Predetermine overflow line breaks 2024-04-06 23:03:20 -04:00
Madmadness65
af3d9cb34c Implement Steam Engine ability
Have fun fusing this ability into something wacky.
2024-04-06 22:01:08 -05:00
Madmadness65
8446130728 Fully implement Spiky Shield move 2024-04-06 21:50:17 -05:00
Flashfyre
570f10345b Add missing weather effects for fog and strong winds 2024-04-06 22:10:38 -04:00
Flashfyre
9ee9a0a86b Fix egg hatch screen issues 2024-04-06 21:48:48 -04:00
kd8lvt
70ce649eec
Implement contact-damage abilities (#49)
* Fix checking the wrong Pokemon for statuses when determining if abilities such as Static should activate.

* Implement Rough Skin

* Implement Iron Barbs and make Rough Skin code reusable for other abilities

* Remove unused import

* Changes for consistency

* Add missing ceiling function to damage

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-06 21:04:40 -04:00
Madmadness65
d1accabada Add missing shiny white-striped Basculin icon
Also a minor rarity swap of a couple evolution items.
2024-04-06 19:50:28 -05:00
Flashfyre
59cb4daa52 Fix gendered form evolutions always assigning male 2024-04-06 20:48:58 -04:00
Flashfyre
e5ffc1e2db Re-nerf battle stat boosters to 5 turns and move Dire Hit to great tier 2024-04-06 20:15:19 -04:00
Flashfyre
6821404023 Filter out sacrificial moves from boss movesets 2024-04-06 19:41:12 -04:00
JackSmith5202
b7913e2a82 Implement Sticky Web 2024-04-06 19:08:47 -04:00
Flashfyre
f762cf1eb3 Add extra weight to battle count splash message 2024-04-06 18:32:24 -04:00
Flashfyre
0d2f3e0388 Add battle count splash 2024-04-06 18:29:17 -04:00
LaukkaE
4377596f46
Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor (#46)
* Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor

fix

fix

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-06 15:39:55 -04:00
Stophles
a17a9160b3
Checking Flinch before Confusion/Infatuation (#47)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing

* Added Flinch to PRE_MOVE Lapse

Added Flinch to PRE_MOVE Lapse tag like recharge so that confusion and infatuation aren't checked if the mon is already flinched
2024-04-06 15:32:54 -04:00
Flashfyre
1f860d6d1d Fix fusion evolution items not working on fully evolved species 2024-04-06 14:32:55 -04:00
Flashfyre
a8ec37e7fa Fix both side switch out moves softlocking 2024-04-06 12:38:07 -04:00
Flashfyre
307c84914e Buff IV Scanner item 2024-04-06 10:37:54 -04:00
Madmadness65
36a8939f13 Update a few evolution methods
Dawn Stone is no longer used, as Snorunt is now a gender-dependent evolution. Basculegion now evolves at a higher level.
2024-04-06 09:22:24 -05:00
Madmadness65
a8acf1ee1a Try fixing wild Rotom encounters 2024-04-06 02:13:12 -05:00
Flashfyre
751fcf31ca Recoil damage bypasses endure 2024-04-06 01:56:49 -04:00
Matthew
3dabfd3c55 Fix sturdy 2024-04-06 01:51:42 -04:00
Flashfyre
1bf2a725c9 Fix softlock with double battle fainting 2024-04-06 01:36:20 -04:00
Flashfyre
7fc4dbce85 Fix immutable weather conditions expiring 2024-04-05 23:45:31 -04:00
Flashfyre
5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -04:00
Flashfyre
9a9f093f5c Aegislash reverts to shield mode when returned 2024-04-05 21:18:23 -04:00
Flashfyre
4c383e105f Add evolution for secondary fusion species 2024-04-05 21:12:29 -04:00
Matthew
1085e0f692 Weather damages through enduring 2024-04-05 20:49:42 -04:00
Stophles
314b7dba43
Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing
2024-04-05 20:42:30 -04:00
Matthew
5b2925cf85 Endure updated 2024-04-05 18:50:10 -04:00
Flashfyre
e2a49ffa25 Fix critical hits causing decimal damage 2024-04-05 18:38:46 -04:00
Flashfyre
e361922091 Revert "Added stat boost for fell stinger"
This reverts commit 9c3595c81a.
2024-04-05 18:33:18 -04:00
Potattiummm
9c3595c81a Added stat boost for fell stinger
added the stat boost for a ko with fell stinger
2024-04-05 18:28:34 -04:00
Matthew
6b5bc5b830 Fix duplicate transition at the end of batch hatching 2024-04-05 17:53:36 -04:00
Flashfyre
77e8ff3785 Nerf critical hit damage to 1.5x 2024-04-05 15:47:46 -04:00
Madmadness65
9e986390eb Implement Glitzy Glow and Baddy Bad moves 2024-04-05 14:28:50 -05:00
Flashfyre
a6a382e357 Fix Poison Point odds 2024-04-05 14:38:54 -04:00
Matthew
0c579de6b1 Hatch Cleanup 2024-04-05 14:27:07 -04:00
Flashfyre
1167b21d7e Fix Poison Point not working 2024-04-05 14:26:41 -04:00
Flashfyre
7887788e36 Minor adjustment for final boss 2024-04-05 14:11:21 -04:00
Flashfyre
d88871a86b Bosses prefer not to use sacrificial moves 2024-04-05 12:36:09 -04:00
Flashfyre
a3fcf3f3d2 Lower Master Ball weight 2024-04-05 12:34:35 -04:00
Flashfyre
e7ba9b7b06 Master balls can bypass boss bar segments 2024-04-05 12:30:48 -04:00
Flashfyre
3d083a7d4d Increase Flamigo starter value 2024-04-05 12:03:00 -04:00
Jaime
a511f7ee0f Small fix for Reflect/Light Screen/Aurora Veil 2024-04-05 11:56:21 -04:00
Matthew
8945de6d59 Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
Jaime
887a4176ab Implemented moves Reflect, Light Screen and Aurora Veil 2024-04-05 11:44:21 -04:00
Flashfyre
37eb5c8eb0 Add more recent move selections for trainer and boss Pokemon 2024-04-05 11:42:55 -04:00
Flashfyre
b221c519a4 Fix party shiny odds check on locked reroll 2024-04-05 11:37:07 -04:00
Flashfyre
ad6924485f Change Shelmet and Karrablast evolution conditions to having caught eachother respectively 2024-04-05 11:11:40 -04:00
Flashfyre
dd2743bcf5 Discourage enemy trainers from switching too much consecutively 2024-04-05 10:59:03 -04:00
LaukkaE
a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -04:00
Flashfyre
5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre
efb6b9dbc9 Fix stat drops always being ignored 2024-04-05 07:32:56 -04:00
Flashfyre
8169db62ef Make token changes compatible with old saves 2024-04-05 01:00:11 -04:00
Flashfyre
2fab4a35ab Fix critical hit logic 2024-04-05 00:13:03 -04:00
Flashfyre
eaba6e655c Revert crit change 2024-04-04 23:57:28 -04:00
Flashfyre
a45fe05f53 Critical hits ignore stat drops and X items last 10 battles 2024-04-04 23:32:09 -04:00
Flashfyre
5fd50eae40 Add missing Shiny Gallade sprite 2024-04-04 22:56:37 -04:00
Madmadness65
850c58844f Add TM compatibility for Indigo Disk DLC Pokémon
If there's any other Pokémon missing TM compatibility, please tell me and I'll add it too.
2024-04-04 21:52:23 -05:00
Stophles
636fc22141
Toxic Spikes - Properly removed by statused Poison types (#36)
* Toxic Spikes - Properly removed by statused Poison types

Toxic spikes should now be removed by poison types who are statused before they are switched to, instead of ignoring their entry

* Toxic Spikes update

Fixed duplicate code
2024-04-04 22:45:33 -04:00
Flashfyre
8b84965d7a Remove revive tokens, nerf heal token, add endure token 2024-04-04 22:42:24 -04:00
Flashfyre
4afa0bf142 Fix damage booster type check 2024-04-04 21:16:25 -04:00
Flashfyre
e191ae0567 Nerf damage and protection tokens to half 2024-04-04 20:53:41 -04:00
Flashfyre
ea562bbd87 Increase attack type booster limit to 99 2024-04-04 20:42:55 -04:00
Flashfyre
e76fa25bc8 Fix attack type boosters applying universally and buff Soul Dew 2024-04-04 20:33:08 -04:00
Jaime
925bb73f0b Implemented the moves Stored Power and Power Trip 2024-04-04 19:47:20 -04:00
Flashfyre
87e0e06b9e Add faster evolution skipping 2024-04-04 18:54:50 -04:00
Jaime
36b3c91276 Implemented the abilities Stamina and Weak Armor 2024-04-04 18:35:15 -04:00
Flashfyre
6a62ae1b5a Only block confirm and cancel inputs with delayed option UI 2024-04-04 18:07:24 -04:00
Flashfyre
4f0b1fdcfb Fix namebox not updating with theme
Fix namebox not updating with theme; ban certain species from being used by trainers
2024-04-04 18:00:21 -04:00
Flashfyre
3e99ed6bb6 Level up sound no longer pauses BGM 2024-04-04 17:43:37 -04:00
Flashfyre
5010793a32 Add starter select screen cursor wraparound 2024-04-04 16:19:45 -04:00
Madmadness65
9310c4d340 Correct the values of many recoil attacks
Many were just dealing a fourth of the damage when they should be dealing a third or even half.
2024-04-04 15:17:38 -05:00
Flashfyre
326918a5f1 Add retry option (easy mode) 2024-04-04 15:22:05 -04:00
Flashfyre
23a8fb1fc9 Fix fainted ally targeted attacks redirecting to self 2024-04-04 14:42:20 -04:00
Flashfyre
48ff8b248b Fix crash on starter screen related to form index out of bounds 2024-04-04 14:24:02 -04:00
Flashfyre
b04cdd3f60 Fix final boss burn cheese 2024-04-04 14:20:14 -04:00
Matthew
dc9dc98c71 Adding Env files for Local Development Ease 2024-04-04 13:52:13 -04:00
Madmadness65
62e6f28dc7 Add Behemoth attacks as "level 0" moves for Zacian & Zamazenta
A temporary workaround until the proper implementation can be done (having Iron Head, then replacing with Behemoth attacks on form change).
2024-04-04 12:34:58 -05:00
Flashfyre
3774b6e214 Fix type icon type not updating when types are changed 2024-04-04 13:30:49 -04:00
Flashfyre
0f7b55c328 Update egg moves 2024-04-04 12:46:35 -04:00
Flashfyre
7d58f2885a Only cap damage booster tokens at 999 2024-04-04 12:30:49 -04:00
Flashfyre
fcecad8707 Add monotype icons 2024-04-04 12:27:41 -04:00
Flashfyre
7b85b92a6e Increase damage and reduction token stack limit 2024-04-04 11:59:02 -04:00
LaukkaE
217ffcfb26 Implement Heat Crash and Heavy Slam 2024-04-04 11:38:16 -04:00
Madmadness65
8351bdd14a Allow Vivillon forms to be caught; remove Calyrex forms from the wild
It was either removing the form changes or removing the encounters, and the latter made more sense to me.
2024-04-04 10:22:15 -05:00
LaukkaE
785e7c14b5 fix switch statement logic 2024-04-04 10:24:48 -04:00
Flashfyre
075db8ae0c Show icon when saving data 2024-04-04 10:16:29 -04:00
Flashfyre
aa421b5d10 Fix move animation defaults not working (fixes Tackle crash) 2024-04-04 09:45:25 -04:00
Flashfyre
6c59ed27ce Give more detailed error when move animation fails to load 2024-04-04 09:22:12 -04:00
Flashfyre
b2441fb365 Fix same turn charge moves not working properly 2024-04-04 08:51:46 -04:00
Flashfyre
8e72ca5bfc Fix crash related to form-specific cries 2024-04-04 08:38:10 -04:00
Flashfyre
de77db70d7 Rerolls lock rarity tiers and price accordingly 2024-04-04 00:38:02 -04:00
Flashfyre
35cc37deb6 Only allow importing data locally 2024-04-03 23:47:49 -04:00
Flashfyre
a5f78e59b0 Fix Minimize only raising evasion by one stage 2024-04-03 21:31:42 -04:00
Flashfyre
d86c1200f8 Add battle info type icons 2024-04-03 21:19:42 -04:00
Flashfyre
c4e8499a6c Increase password field length 2024-04-03 19:23:48 -04:00
Flashfyre
1323093eb5 Fix enemy item generation softlock with no attack moves 2024-04-03 19:01:09 -04:00
Flashfyre
d304cae19f Fix typo setting ability text to color 2024-04-03 18:15:41 -04:00
Flashfyre
382b70ed60 Minor final boss tweak and color hidden ability on catch/hatch info 2024-04-03 17:18:32 -04:00
Flashfyre
563ff21ad4 Fix moveset generation priority reversed 2024-04-03 16:35:11 -04:00
Flashfyre
77cf3032cf Add title screen music by edifette 2024-04-03 14:33:23 -04:00
Flashfyre
8d9ccd58d7 Fix charge moves breaking with multi lens 2024-04-03 14:22:12 -04:00
Flashfyre
4d2d04858f Fix tera power boost still applying when multi scope is held 2024-04-03 12:36:19 -04:00
Flashfyre
b99b781e0c Fix Baton Pass logic and enemy multi hit AI hitting ally 2024-04-03 12:14:26 -04:00
Flashfyre
5759a5e5ce Add Multi Lens item 2024-04-03 11:42:09 -04:00
Flashfyre
ae03f541dd Allow Kyurem forms to be fused 2024-04-03 10:38:36 -04:00
LaukkaE
09129410af
Implement/Fix Thousand arrows (#28)
* implement Thousand Arrows

* discard unused code

* formatting changes

* fixes
2024-04-03 09:33:11 -04:00
Flashfyre
517b012736 Add Wiki link under community 2024-04-03 09:26:48 -04:00
Flashfyre
7400ba0503 Update IVs in dex on evolution 2024-04-03 09:23:45 -04:00
Flashfyre
880433a7f8 Fix not setting initial nature override 2024-04-02 23:47:48 -04:00
Flashfyre
6bb40c6d15 Fix Soul Dew not factoring in overridden nature 2024-04-02 23:21:55 -04:00
Flashfyre
785840fdf4 Fix crash 2024-04-02 23:12:30 -04:00
Flashfyre
84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -04:00
Flashfyre
e8b5d7aa3e Unsplicing no longer requires an item 2024-04-02 20:51:43 -04:00
Flashfyre
dba93a21f0 Fix terrain color ratio 2024-04-02 20:25:35 -04:00
Samuel H
4f82ff9819
Implement Mints (#27)
* Implement mints to change natures

* Merge main

* Merge main
2024-04-02 20:04:42 -04:00
Madmadness65
08beae9cee Implement Embody Aspect abilities
More work toward getting Ogerpon's unique Terastal forms functional. Also fixes the graphics for the Terastal Ogerpon forms, as they were scaled incorrectly.
2024-04-02 18:03:49 -05:00
Flashfyre
db960d9a98 Cap breeder party member base total below 450 2024-04-02 18:25:43 -04:00
Flashfyre
f95f3ff30e Implement Magic Guard ability 2024-04-02 15:14:07 -04:00
Flashfyre
b9b7afb3ee Fix resetting nature on starter screen when updating other properties 2024-04-02 14:32:51 -04:00
Flashfyre
f540aeb804 Check specific form change items for compatibility before allowing them to be held 2024-04-02 14:20:30 -04:00
LaukkaE
bd1af25c01
implement Darkest Lariat, Chip Away and Sacred Sword (#26)
* implement darkest lariat, chip away, sacred sword

* fix
2024-04-02 13:51:38 -04:00
Flashfyre
2e728307c3 Fix arena traps applying twice in double battles 2024-04-02 12:00:41 -04:00
Flashfyre
cb39a4a156 Lower volume of loud battle animation sounds 2024-04-02 11:53:27 -04:00
Flashfyre
d9ebf99cdd Rework logic for defeat ability trigger 2024-04-02 10:13:00 -04:00
Flashfyre
53c0d501cc Fix Giratina Origin form change not working 2024-04-02 10:12:21 -04:00
LaukkaE
09d7b68668
Implement Foul Play (#24)
* Implement Foul Play

* Cleanup

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-02 09:16:35 -04:00
Flashfyre
68f0692849 Fix logic to prevent healing tokens from healing to full 2024-04-02 01:44:38 -04:00
Flashfyre
91ab0b4b32 Fix Sturdy HP check in wrong place 2024-04-02 01:15:53 -04:00
Flashfyre
e171b10d40 Fix Sturdy enduring all hits instead of just from full HP 2024-04-02 01:03:29 -04:00
Flashfyre
a33dd47853 Re-implement fixed moveset generation with fix 2024-04-02 00:48:13 -04:00
Flashfyre
5e8b5c8ac7 Revert "Rework moveset generation logic and fix window selection crash"
This reverts commit 321c3f3e90.
2024-04-02 00:27:15 -04:00
Flashfyre
321c3f3e90 Rework moveset generation logic and fix window selection crash 2024-04-02 00:16:06 -04:00
Madmadness65
b2f79c5756 Partially implement Good as Gold
It can block basic status attacks currently.
2024-04-01 22:16:16 -05:00
Flashfyre
2ec471708d Healing tokens can't heal to full HP 2024-04-01 23:10:11 -04:00
Flashfyre
6516f41d2e Add a much needed additional tutorial by popular demand 2024-04-01 22:50:00 -04:00
Madmadness65
2ee65210c4 Add contact flags for Generation 6+ moves
Adds contact flags for special moves that do contact, and physical moves that do not contact.
2024-04-01 20:57:22 -05:00
Flashfyre
9e288e06c8 Fix ability popup text placement 2024-04-01 21:52:40 -04:00
Madmadness65
1f4eb42ea8 Implement Jaw Lock move 2024-04-01 20:28:03 -05:00
Flashfyre
96288d29ce Fix bug with fainting on force switch out
Fix bug with fainting on force switch out; move overrides in Pokemon to BattleScene
2024-04-01 21:02:48 -04:00
Flashfyre
72dc263552 Implement variation of loading screen by @rationality6 2024-04-01 19:56:46 -04:00
Madmadness65
76a409245a Adjust some Champion teams
Lance no longer has Zacian or Zamazenta and instead has Zygarde, Leon had his Mr. Rime swapped for his ace Charizard, and Kieran now has a chance for either Ogerpon or Terapagos.
2024-04-01 16:36:38 -05:00
Madmadness65
077d87ade8 Implement Intrepid Sword & Dauntless Shield abilities 2024-04-01 15:34:46 -05:00
Flashfyre
a3e09ee5cc Fix game not loading if save data is not found 2024-04-01 15:18:15 -04:00
Flashfyre
e6c7f5dc77 Evolution items get more common the further in until wave 120 2024-04-01 13:53:29 -04:00
Flashfyre
03f6f40ffe Add enemy species override for testing purposes 2024-04-01 13:32:12 -04:00
LaukkaE
6a87c1b4cc
Implement freezedry (#22)
* implement freezedry

* remove console log
2024-04-01 13:26:35 -04:00
Flashfyre
366e3e5120 Fix battle RNG varying when loading a game 2024-04-01 12:48:35 -04:00
Matthew
dbff672469 salt cure fix 2024-04-01 11:19:22 -04:00
Flashfyre
d442770de6 Add themed namebox 2024-04-01 10:06:28 -04:00
Flashfyre
eb6ee79b3e Add cache busting 2024-03-31 23:58:03 -04:00
Flashfyre
814eb3053e Fix PP ups going above 3 2024-03-31 22:36:33 -04:00
Flashfyre
137a10bc9d Fix BG UI mismatch 2024-03-31 21:23:27 -04:00
Matthew
2f1536485d background resizing 2024-03-31 21:16:41 -04:00
Flashfyre
70d61700d0 Re-implement UI reskin with working legacy toggle
Re-implement UI reskin with working legacy toggle; add return to title option to menu
2024-03-31 21:14:35 -04:00
Madmadness65
298d2ec47b Adjust some friendship evolution values
Some values did not make sense with the starting friendship some of these Pokémon have, and have been changed accordingly. They have also been slightly reorganized to internal ID number.
2024-03-31 19:16:54 -05:00
Flashfyre
30c7156c1a Revert "Add UI reskin by LJ Birdman (WiP)"
This reverts commit 0200a2688a.
2024-03-31 16:51:53 -04:00
Flashfyre
0200a2688a Add UI reskin by LJ Birdman (WiP) 2024-03-31 16:49:53 -04:00
Madmadness65
f789860e96 Add Rotom forms as wild encounters
Each form can be found in different locations at a super rare chance.
2024-03-31 14:03:02 -05:00
Flashfyre
03e4115bd7 Fix typo with checking tags for trainer switching 2024-03-31 13:09:53 -04:00
Flashfyre
ec9365a8bf Fix scenario where catch stats moves container position can become desynced 2024-03-31 12:09:27 -04:00
Flashfyre
203ba1646d Make trainer switch AI aware of arena traps 2024-03-31 12:00:54 -04:00
Madmadness65
bedeb2480c Fix E4 Molayne specializing in the wrong type
He's a Steel-type specialist.
2024-03-31 00:15:01 -05:00
Flashfyre
87c35cb018 Fix Salt Cure causing crash 2024-03-31 00:30:08 -04:00
Flashfyre
5cb268a3f0 Fix Stance Change not working on enemy side 2024-03-31 00:10:47 -04:00
Flashfyre
ca0ae35422 Change default game speed from 1x to 2x 2024-03-31 00:03:39 -04:00
Flashfyre
332e658555 Pass ability arguments to trigger message 2024-03-30 23:49:29 -04:00
Madmadness65
7a75f64a04 Implement Fickle Beam move
Includes the 30% chance to deal 160 damage.
2024-03-30 22:40:00 -05:00
Flashfyre
6fe3388b4f Implement a better fix for consecutive use moves 2024-03-30 22:06:16 -04:00
Flashfyre
d44dfac0c8 Fix consecutive use moves starting at double BP (rollout, echoed voice, etc) 2024-03-30 21:59:39 -04:00
Flashfyre
3b1119fa1a Fix vouchers not updating on scroll 2024-03-30 21:21:59 -04:00
Devin Korb
53def01b51
Add unit testing support with vitest (#18)
* update loose files and add vitest

* update test scripts

* more support for vitest

* more test support

* update vscode settings
2024-03-30 20:47:47 -04:00
Flashfyre
4e911a9be9 Fix TM item icons using memories 2024-03-30 20:40:48 -04:00
Flashfyre
2feb82e674 Fix infinite looping when Pokerus selections generate a loop 2024-03-30 20:14:09 -04:00
Madmadness65
8845d43784 Partially implement Flower Gift
The Attack and Special Defense boost works, but only for the ability holder currently. It does not change Cherrim's form yet.
Also adds the necessary battler tag entries because I forgot them in the previous commit.
2024-03-30 18:56:13 -05:00
Madmadness65
262a60055e Implement Obstruct and Silk Trap moves
Also fixed Loyal Three legendaries being genderless when they should be 100% male.
2024-03-30 18:05:21 -05:00
Flashfyre
0605b8c55c Fix Stance Change effect not relying on ability 2024-03-30 18:57:21 -04:00
Flashfyre
e5ee66b0b7 Implement King's Shield move and Stance Change ability
Implement King's Shield move and Stance Change ability; fix fire moves not all thawing and certain fire moves not thawing user
2024-03-30 18:46:33 -04:00
Flashfyre
b85f093674 Grass types are immune to powder moves 2024-03-30 17:23:58 -04:00
Flashfyre
bb185d9845 Fix ice types immune to sleep 2024-03-30 17:11:34 -04:00
Flashfyre
5b0a790d86 Allow overriding daily run starters 2024-03-30 17:10:34 -04:00
Flashfyre
9455330329 Add female worker variant 2024-03-30 15:46:00 -04:00
Matthew
be3dd0edc1 Salt Cure Full Implementation 2024-03-30 15:42:01 -04:00
Madmadness65
4b772c903a Implement Zen Mode ability 2024-03-30 13:02:58 -05:00
Madmadness65
160072ac5e Implement Hunger Switch ability
Aura Wheel still does not change types based on Morpeko's current form, however.
2024-03-30 12:01:49 -05:00
Madmadness65
586aa0227d Buff Golden Punch's damage-to-money percentage
Raised from 20% to 50%.
2024-03-30 09:20:28 -05:00
Flashfyre
7cd1cbcf5e Add missing Schooling ability effect level requirement 2024-03-30 09:07:06 -04:00
Madmadness65
89efb42e1f Fix Alolan starters evolving later than intended
They were evolving at 36 instead of 34.
2024-03-30 00:58:51 -05:00
Flashfyre
b6943f4753 Fix prefixing player Pokemon with 'Foe' during final battle 2024-03-30 01:37:54 -04:00
Madmadness65
c3a163b348 Implement Tera Shift ability 2024-03-30 00:19:54 -05:00
Flashfyre
dbca257a76 Add Schooling ability for Wishiwashi and fix Beast Boost 2024-03-30 00:53:35 -04:00
Madmadness65
0bd941d6a1 Implement more stat-boosting abilities
This implements Chilling Neigh, Grim Neigh, and both As One abilities.
Also separates the Embody Aspect ability into four for later when it's implemented, and adds the graphics for Ogerpon's Terastallized forms.
2024-03-29 22:19:10 -05:00
Flashfyre
371b00561a Only apply Moxie and Beast Boost when on field 2024-03-29 23:16:28 -04:00
Flashfyre
1be1be7098 Gallade no longer needs shiny stone to evolve 2024-03-29 22:44:53 -04:00
Flashfyre
7f2dd28832 Implement Moxie and Beast Boost abilities 2024-03-29 22:08:27 -04:00
Flashfyre
7ca5cdc21b Revert "Revert "Fix strong trainer party members often not evolving due to dividing by 0""
This reverts commit baaa00656e.
2024-03-29 20:11:52 -04:00
Flashfyre
b67a3ced85 Fix evolution item types switched 2024-03-29 19:14:34 -04:00
Flashfyre
001ad1f55e Include catch rate in Poke Ball item description so people stop asking what Rogue Balls do 2024-03-29 17:36:44 -04:00
Flashfyre
2b2b02ff2c Divide evolution items into common and rare 2024-03-29 16:19:27 -04:00
Flashfyre
fa7c1684f7 Fix tag source linking 2024-03-29 15:43:36 -04:00
Flashfyre
dff9a21a0b Fix not properly checking damage greater than 0 for certain effects 2024-03-29 15:00:16 -04:00
Flashfyre
34f748f331 Cries are pitched down when at low HP 2024-03-29 14:42:27 -04:00
Flashfyre
baaa00656e Revert "Fix strong trainer party members often not evolving due to dividing by 0"
This reverts commit c59c5ca413.
2024-03-29 13:52:21 -04:00
Flashfyre
f0d33c96aa Fix Self-Destruct and Explosion not taking type advantage into account 2024-03-29 13:47:40 -04:00
Flashfyre
c59c5ca413 Fix strong trainer party members often not evolving due to dividing by 0 2024-03-29 13:42:54 -04:00
Flashfyre
a240a45318 Implement False Swipe and Hold Back moves 2024-03-29 11:58:22 -04:00
Madmadness65
83377713a2 Update egg moves
These changes specifically courtesy of Mégalith on Discord.
2024-03-29 10:20:05 -05:00
Flashfyre
8f0a3f15a3 Change double boss bar split to factor in base stat total 2024-03-29 10:37:28 -04:00
Flashfyre
2b213da4a6 Split double boss HP bar segments 2024-03-29 10:29:19 -04:00
Flashfyre
4f62dec998 Implement Helping Hand move 2024-03-29 10:07:04 -04:00
Madmadness65
9350b380b2 Fix graphic issue with Paldean Wooper
Paldean Wooper was marked as having gender differences even though it has none (unlike regular Wooper). The duplicate graphics for it have been removed.
2024-03-29 01:10:17 -05:00
Flashfyre
23e3bdc960 Bosses generate with higher IVs 2024-03-29 00:03:54 -04:00
Flashfyre
8915b2acec Fix Prankster ability not working properly 2024-03-28 21:35:30 -04:00
Flashfyre
20799f5a4c Fix multi target attacks missing when a target is fainted 2024-03-28 21:18:07 -04:00
Madmadness65
0be4b5dcde Fix Basculin line's forms not being encounterable 2024-03-28 17:04:29 -05:00
Flashfyre
26bef151f4 Update starter value reduction thresholds to be per-cost 2024-03-28 17:29:31 -04:00
Flashfyre
11bd7fdbca Implement Prankster ability 2024-03-28 16:24:11 -04:00
Flashfyre
31d0d9b84e Increase Cinccino's wild evolution delay 2024-03-28 15:55:00 -04:00
Flashfyre
829277bd37 Add missing wild evolution delay on Urshifu 2024-03-28 15:52:47 -04:00
Flashfyre
ff7258d9b6 Alter first and second gym leader levels 2024-03-28 14:47:57 -04:00
Flashfyre
97add6e748 Don't show points for voucher unlocks 2024-03-28 14:36:39 -04:00
Flashfyre
0afec8fd35 Rebalance trainer evolution logic 2024-03-28 14:05:15 -04:00
Flashfyre
b06c101020 Rare candies add 5 friendship 2024-03-28 11:15:28 -04:00
Flashfyre
7a508c485a Fix grounding check not working properly after new changes 2024-03-28 10:35:18 -04:00
Flashfyre
cedc1fb3b2 Fix the way ignore flying tag works 2024-03-28 10:28:05 -04:00
Flashfyre
289969790a Perish Song doesn't work on bosses 2024-03-28 09:21:39 -04:00
Flashfyre
f0b00f9f27 Add move target redirection 2024-03-28 00:24:24 -04:00
Flashfyre
2cc38ac2cb Fix softlock with switch out moves used on player 2024-03-28 00:05:48 -04:00
Madmadness65
211d8d3636 Fix Poison Touch not working as intended 2024-03-27 23:02:49 -05:00
Flashfyre
63a6655759 Fix Transform and Imposter causing crash 2024-03-27 23:44:11 -04:00
Madmadness65
eb14031bdd Replace some egg moves
These egg moves were some of the moves marked as problematic on the sheet. They have been changed out for either suggestions or more fitting moves.
2024-03-27 22:15:35 -05:00
Flashfyre
1a0c470173 Add hardware acceleration notice in initial tutorial 2024-03-27 22:40:10 -04:00
Flashfyre
b24eac4071 Give EXP Balance a 20% factor and increase stack count to 5 2024-03-27 13:26:13 -04:00
Flashfyre
75c9c9cc2c Make form change items non-stealable and fix Recover AI 2024-03-27 13:13:37 -04:00
Flashfyre
b94215e3f6 Attempt fixing issue with form-specific moves in learnset not being used 2024-03-27 12:38:36 -04:00
Flashfyre
f79337b475 Fix burn damage change affecting poison 2024-03-27 11:42:06 -04:00
Flashfyre
c8ac42f267 Fix Burn damage and add more splash messages 2024-03-27 11:38:50 -04:00
Flashfyre
28ff6f5638 Exclude learned moves from compatible TMs 2024-03-27 10:43:00 -04:00
Flashfyre
3d8edb8e9b Fix rival having 1 less party member than intended and add EXP All at wave 25 2024-03-27 10:20:08 -04:00
Flashfyre
a06323c8ab Fix Circle Throw causing battle skip 2024-03-26 23:40:01 -04:00
Flashfyre
4f9eebda13 Fix daily level cap changing mid biome 2024-03-26 21:40:10 -04:00
Flashfyre
c0b1724b1e Fix not passing trainer name when loading data 2024-03-26 21:21:27 -04:00
Flashfyre
a33f54b7cb Don't allow PP to go below 0 with Pressure 2024-03-26 21:09:20 -04:00
Madmadness65
8829727c8a Fix Upper Hand not having +3 priority 2024-03-26 17:05:12 -05:00
Madmadness65
53b850aa0e Implement Chloroblast
Apparently this one does too, and I just missed it.
2024-03-26 17:01:55 -05:00
Madmadness65
44d4a28315 Implement Steel Beam
Functions identically to Mind Blown, minus targeting everything.
2024-03-26 16:54:47 -05:00
Flashfyre
e9b94f47f0 Fix battle animation Pokemon sprites losing shadow 2024-03-26 17:45:43 -04:00
Madmadness65
316b93877a Fix Acupressure; Implement Life Dew
Acupressure was always boosting the user's stats, even when targeting an ally, so that has been fixed.
Life Dew has also been implemented and functions as intended.
2024-03-26 15:21:22 -05:00
Flashfyre
8bdab3d3bc Fix dividing by 0 when calculating party member scores 2024-03-26 16:07:59 -04:00
Flashfyre
0fbf21f19b Fix accuracy and evasion ability multipliers not being applied 2024-03-26 15:47:19 -04:00
Madmadness65
c88a2a6786 Changed Petilil's evolution methods
It was odd to have Petilil evolve into Hisui Lilligant with a Relic Band, as well as it being the only Hisuian to not factor in time of day. It has now been changed back to Sun Stone with a time of day evolution condition.
2024-03-26 13:56:25 -05:00
Flashfyre
d98b973a9a Update metal coat evolutions to link cable with steel move
Update metal coat evolutions to link cable with steel move; update Sooth Bell rate to be more common
2024-03-26 14:42:07 -04:00
Flashfyre
c5f52692f6 Rest fails at full HP 2024-03-26 13:11:59 -04:00
Flashfyre
aee5f32bc3 Properly lapse terrain 2024-03-26 10:08:17 -04:00
Flashfyre
c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00
Flashfyre
b114cd1cb1 Unlocks only happen on classic 2024-03-25 21:09:32 -04:00
Flashfyre
6c89af4488 Fix move skipping from Candy Jar levels 2024-03-25 18:31:51 -04:00
Flashfyre
1ea0511abb Convert included JS files to modules 2024-03-25 16:10:43 -04:00
Flashfyre
85d09462ad Fix moveset generation logic 2024-03-25 15:22:37 -04:00
Flashfyre
4633ac2426 Add failsafe if moves fail to load 2024-03-25 14:47:41 -04:00
Flashfyre
bd67ccde8b Revert "Fix random moveset generation logic not working properly with evolutions"
This reverts commit a8cabd50d9.
2024-03-25 14:44:40 -04:00
Flashfyre
3ce8697c23 Make AI a bit more intelligent in attack move interactions 2024-03-25 14:38:07 -04:00
Flashfyre
a8cabd50d9 Fix random moveset generation logic not working properly with evolutions 2024-03-25 14:27:04 -04:00
Madmadness65
4bf83645b5 Update egg moves with the latest changes
These are all changes to the egg moves over the last month or so. No major egg move nerfs yet.
2024-03-25 13:18:43 -05:00
Flashfyre
8c5e82a5a3 Add shiny indicator to starter screen 2024-03-25 13:40:54 -04:00
Flashfyre
a1b09f3aeb Fix item bar hover logic 2024-03-25 12:33:35 -04:00
Flashfyre
892d99a4f9 Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
Flashfyre
a22d50caa7 Fix abilities causing permanent weather and terrains 2024-03-25 10:22:16 -04:00
Flashfyre
efa8d4f3fc Fix summon data not being loaded in on session load 2024-03-25 10:16:29 -04:00
Flashfyre
93a7af853b Berries activate simultaneously 2024-03-25 00:21:00 -04:00
Madmadness65
be88f4783e Fix Thunder not having the accuracy bypass in rain
It was unintentionally given to Thunder Wave instead of Thunder.
2024-03-24 22:25:02 -05:00
Flashfyre
73c527af05 Fix encore not working correctly 2024-03-24 23:15:29 -04:00
Flashfyre
c77ea04120 Fix static ability broken and causing crash 2024-03-24 22:43:35 -04:00
Flashfyre
0e694ebfb6 Fix softlock bug with double trainers 2024-03-24 22:24:26 -04:00
Flashfyre
4f88bd3dab Fix final boss nerf 2024-03-24 19:52:30 -04:00
Flashfyre
b9805ceabf Update moveset generation logic 2024-03-24 18:57:24 -04:00
Flashfyre
f87dbcbac3 Fix zoom out for large sprites and trade full heal for elixir in shop 2024-03-24 17:32:44 -04:00
Flashfyre
133c1c364a Add EXP All to endless mode at wave 10 2024-03-24 11:17:12 -04:00
Flashfyre
6fce502b88 Nerf PP on a certain final boss move 2024-03-23 23:07:49 -04:00