Commit Graph

1396 Commits (8819473dced5a9c3d6c1e471e520143c573e5578)

Author SHA1 Message Date
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