Commit Graph

151 Commits

Author SHA1 Message Date
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
257e222b83 Fix being able to buy Sacred Ash without fainted party members 2024-04-16 12:04:52 -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
Matthew Ross
032ab95756 Additional check for can apply ability after move used 2024-04-14 22:40:26 -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
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
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
Flashfyre
824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
neverblde
df949be2bd Refactor some string literals into i18next 2024-04-13 00:49:14 -04:00
kleekie
3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -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
Flashfyre
a793aedd29 Don't transfer baton item if target is already holding one 2024-04-11 20:58:24 -04:00
Flashfyre
3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre
49f2a5d3eb Unimplemented moves cannot be selected by the play 2024-04-11 18:53:03 -04:00
Flashfyre
af23bfc1f9 Fix post-summon abilities sometimes triggering twice on switch 2024-04-11 12:35:22 -04:00
Flashfyre
377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -04:00
Flashfyre
c14c581248 Weather damage counts as neutral damage 2024-04-11 10:33:08 -04:00
Flashfyre
31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre
8dc96c0070 Fix triggering summon ability on load 2024-04-10 20:57:22 -04:00
Flashfyre
eb5bdb07a8 Add outage handling 2024-04-10 01:32:49 -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
d9849c5e70 Ignore stat change animations when move animations are disabled 2024-04-09 15:17:42 -04:00
Flashfyre
fbec7b8823 Only apply Pressure effect when targeted 2024-04-08 11:06: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
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
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
Flashfyre
39667f3398 Fix freezing after pressing new game without endless unlocked 2024-04-07 00:06:44 -04:00
Flashfyre
e747fa2ecd Increase endless mode limit to 15 2024-04-06 23:50:26 -04:00
Flashfyre
cc98d9da7d Validate full shiny party achievement on initial encounter 2024-04-06 23:14:13 -04:00
Flashfyre
570f10345b Add missing weather effects for fog and strong winds 2024-04-06 22:10:38 -04:00
Flashfyre
307c84914e Buff IV Scanner item 2024-04-06 10:37:54 -04:00
Flashfyre
5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -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
Matthew
6b5bc5b830 Fix duplicate transition at the end of batch hatching 2024-04-05 17:53:36 -04:00
Flashfyre
e7ba9b7b06 Master balls can bypass boss bar segments 2024-04-05 12:30:48 -04:00
Matthew
8945de6d59 Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
Flashfyre
dd2743bcf5 Discourage enemy trainers from switching too much consecutively 2024-04-05 10:59:03 -04:00
Flashfyre
5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre
8b84965d7a Remove revive tokens, nerf heal token, add endure token 2024-04-04 22:42:24 -04:00
Flashfyre
3e99ed6bb6 Level up sound no longer pauses BGM 2024-04-04 17:43:37 -04: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