Commit Graph

1413 Commits

Author SHA1 Message Date
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
2c38849aa1 Compress battle animation sheets 2024-04-11 14:14:33 -04:00
Flashfyre
c339d19e79 Compress all Pokemon sprites 2024-04-11 14:08:52 -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
Jason Halvorson
0ac58c3349 Add basic PWA support 2024-04-10 13:11:43 -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