Commit Graph

713 Commits

Author SHA1 Message Date
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
fae5b642f6 Improve fusion names with a space present 2024-04-07 00:28:37 -04:00
Madmadness65
90f6005603 Update Gen 3 egg moves 2024-04-06 23:00:53 -05:00
Madmadness65
0cb008adb0 Implement Gooey and Tangling Hair abilities 2024-04-06 22:18:12 -05: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
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
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
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
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
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
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
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
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
0afec8fd35 Rebalance trainer evolution logic 2024-03-28 14:05:15 -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
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
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
c8ac42f267 Fix Burn damage and add more splash messages 2024-03-27 11:38:50 -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
c0b1724b1e Fix not passing trainer name when loading data 2024-03-26 21:21:27 -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
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
c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00