Commit Graph

658 Commits

Author SHA1 Message Date
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
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
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 a8ec37e7fa Fix both side switch out moves softlocking 2024-04-06 12:38:07 -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 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
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 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
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
Flashfyre 1167b21d7e Fix Poison Point not working 2024-04-05 14:26:41 -04:00
Flashfyre d88871a86b Bosses prefer not to use sacrificial moves 2024-04-05 12:36:09 -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 ad6924485f Change Shelmet and Karrablast evolution conditions to having caught eachother respectively 2024-04-05 11:11:40 -04:00
LaukkaE a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -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 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
Jaime 36b3c91276 Implemented the abilities Stamina and Weak Armor 2024-04-04 18:35:15 -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
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 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
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 0f7b55c328 Update egg moves 2024-04-04 12:46:35 -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 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 a5f78e59b0 Fix Minimize only raising evasion by one stage 2024-04-03 21:31:42 -04:00
Flashfyre 8d9ccd58d7 Fix charge moves breaking with multi lens 2024-04-03 14:22:12 -04:00
Flashfyre b99b781e0c Fix Baton Pass logic and enemy multi hit AI hitting ally 2024-04-03 12:14:26 -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 84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -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
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 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 e171b10d40 Fix Sturdy enduring all hits instead of just from full HP 2024-04-02 01:03:29 -04:00
Madmadness65 b2f79c5756 Partially implement Good as Gold
It can block basic status attacks currently.
2024-04-01 22:16:16 -05: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
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
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
LaukkaE 6a87c1b4cc
Implement freezedry (#22)
* implement freezedry

* remove console log
2024-04-01 13:26:35 -04:00
Matthew dbff672469 salt cure fix 2024-04-01 11:19:22 -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 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 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
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 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
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