Commit Graph

870 Commits (f53c699d04b047cb725574841cd921c407474cc0)

Author SHA1 Message Date
Flashfyre 986e907894 Don't show intro video on mobile 2024-04-16 10:59:15 -04:00
Madmadness65 5058bcf717 Adjust Cosmoem's evolution conditions
It no longer needs a specific biome in order to evolve, just time of day (It was wrong anyways, evolving in all biomes *except* Space).
2024-04-16 00:02:16 -05:00
shayebeadling 95aa78487f
Present implementation, adds a 0 dmg override for 0 power moves. (#152)
* Implements present, adds an override in the dmg calc to make 0 power moves do 0 dmg

* present doesn't make contact

* removes console log

* only === 0
2024-04-16 00:41:15 -04:00
Flashfyre ec4c395e87 Add more biome weather 2024-04-15 17:45:52 -04:00
prateau c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
prateau 509954995c update moves and abilities that takes effect in snow 2024-04-15 17:45:52 -04:00
prateau 0196cf8310 Add snow as a weather 2024-04-15 17:45:52 -04:00
Matthew Ross c978fad286 Smack down should hit target charging fly 2024-04-15 16:24:57 -04:00
damocleas a0fd462b5c
Nature Power move change for Town Metropolis and Plains (#147) 2024-04-15 16:23:44 -04:00
LaukkaE e15b810f6a Prevent crash with trace 2024-04-15 16:08:54 -04:00
Matt Ross af4e9ff66e
Additional moves should hit fly, dig, dive (#143)
* whirlwind should hit pokemon charging fly

* Thunder should hit flying

* magnitude and fissure should hit dig

* Add battle tag for underwater (dive), allow surf/whirlpool to hit diving

* reorder underwater in enums to match battler-tags order

* hurricane and thousand arrows should hit fly
2024-04-15 15:49:10 -04:00
damocleas 3a1ebc9815 Nature Power move for all biomes
Unique Nature Power move for all biomes, no overlap with terrains
2024-04-15 15:21:50 -04:00
LaukkaE 2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
serif 39eed2a275 Update move.ts
adds the rest of the biomes
2024-04-15 12:21:13 -04:00
AJ Fontaine 76edb00e31 Thermal Exchange 2024-04-15 12:18:00 -04:00
Flashfyre 9d92ec2a72 Fix nature power using wrong syntax for switch case 2024-04-15 10:45:40 -04:00
Xavion3 6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -04:00
Flashfyre 8dd0aa5384 Fix some female breeder names showing as male names 2024-04-14 22:56:25 -04:00
Madmadness65 e7f1969099 Implement Ivy Cudgel's type changing property
Basically a copy/paste of Raging Bull's code.
2024-04-14 21:41:12 -05:00
lucfd d699a0f7d4
Implemented barrier-breaking moves (#130)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog
2024-04-14 22:26:58 -04:00
Madmadness65 e0dd7d6d48 Implement Shields Down's form change; Fix wild Rotom forms not appearing
Shields Down is only partially implemented; the form changing aspect is implemented, but the immunity to statuses is not yet.
Minior's alternate colored forms can now be encountered in the wild.
Rotom's appliance forms should *finally* appear in the wild correctly now.
And a minor fix for Zen Mode activating incorrectly.
2024-04-14 20:32:17 -05:00
shayebeadlingkl be9d07ab1a fixes targeting 2024-04-14 18:26:44 -04:00
shayebeadlingkl 8932a0b6f9 Implements Nature Power 2024-04-14 18:00:31 -04:00
Appo c8445ba8dd Implement Competitive
Since Competitive is just Defiant but for SPATK, the code for Defiant was reused with the buff changed to special attack. This should mean the ability works the exact same way as Defiant for it's respective stat.
2024-04-14 16:52:44 -04:00
Flashfyre f358e302e9 Give Ferroseed duplicate ability as hidden 2024-04-14 14:36:44 -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
Madmadness65 73cf4e9f5c Implement Thunderclap
It's just a copy of Sucker Punch, so no additional work needed.
2024-04-14 12:52:59 -05:00
Xavion3 605e16fe35 Fix a bunch of moves 2024-04-14 13:16:28 -04:00
Tempoanon 946e6d8c5c
Implement Rivalry, Quick Feet, Liquid Voice, and Normalize (#108)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless
2024-04-14 13:15:01 -04:00
cornfish c25cb50b31
Implement toxic chain (#126)
* implement toxic chain

* fix for self target like roost
2024-04-14 13:13:17 -04:00
Flashfyre 75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3 705ba0659e Fix crash bug with sucker punch when not using a move 2024-04-14 12:06:21 -04:00
Xavion3 cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Madmadness65 1941939931 Fix Jungle Healing healing the user twice
It still does not have the status condition healing bit yet.
2024-04-14 08:19:31 -05: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
Madmadness65 77368986fe Change Rotom and Carbink's passive abilities
Rotom naturally cannot take advantage of Electric Surge as it's not grounded, and Oblivious is pointless on a genderless Pokémon like Carbink.
2024-04-13 19:37:42 -05:00
Flashfyre 824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
EmoUsedHM01 c84531af35 Gave Regigigas Normalize as a HA following a discussion about it on Discord
Removes its powerful coverage options in exchange for losing Slow Start, still gets walled by anything that resists/ignores Normal type moves but is no longer useless for 5 turns
2024-04-13 13:55:56 -04:00
Xavion3 66ef42db85 Update ability attributes 2024-04-12 22:25:22 -04:00
kleekie 3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -04:00
Madmadness65 92812aae1d Draining Kiss now restores 75% of damage dealt 2024-04-12 19:02:24 -05:00
Flashfyre f6770b83b5 Add missing passive parameter to BonusCritAbAttr 2024-04-12 19:31:08 -04:00
Flashfyre 086c64b8f8 Fix invalid constructor arguments to always crit tag 2024-04-12 18:44:20 -04:00
EmoUsedHM01 cabba43598
Added support for Super Luck with BonusCritAbAttr (#106)
* Fixed Super Luck, and added a new BonusCritAbAttr

* Added crit clause for BonusCritAbAttr ( Super Luck )

* Changed it to +1 like it should be
2024-04-12 17:21:56 -04:00
Dovie Shalev eb791747fe
Last respects Fully Implemented (#105)
* Last Respects fully implemented

* Fixed Last Respects

* Last Respects Fully Implemented

* Last Respects Fully Implemented

---------

Co-authored-by: dshalev <dshalev@umich.edu>
2024-04-12 16:16:08 -04:00
William Burleson 389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -04:00
EmoUsedHM01 930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Madmadness65 dcb4688c76 Revert "Update Gen 4 & 9 egg moves"
This reverts commit eef83432ab.
2024-04-12 14:54:01 -05:00
Madmadness65 eef83432ab Update Gen 4 & 9 egg moves 2024-04-12 14:40:14 -05:00
Matthew Olker d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01 fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3 20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
spongario d06003d22c fix formatting 2024-04-11 23:18:37 -04:00
spongario 07ff22e53d fix for Psychic Terrain blocking Protect Moves 2024-04-11 23:18:37 -04:00
Xavion3 747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre 3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre 716388c92b Fix Pupitar losing hidden ability 2024-04-11 18:33:58 -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 053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre f2a141cf15 Fix Mega evolutions causing ability slot to be lost 2024-04-11 11:09:07 -04:00
Flashfyre 43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre 31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -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
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 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 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
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
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 e672ead184 Indicate starters that exceed cost on starter select and show values for locked starters 2024-04-09 16:58:56 -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 b48dd1c7fc Fix some trap tag messages 2024-04-09 12:42:18 -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
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 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
LaukkaE 34cb70afa5 Implement Triage and Gale Wings
add move.ts
2024-04-08 10:16:50 -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 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 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 89de4b511b Fix mixed gender names for female guitarist 2024-04-07 19:50:15 -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
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