Commit Graph

400 Commits

Author SHA1 Message Date
Athebyne
2ab335a3c5
Implement Snipe Shot, and Propeller Tail/Stalwart (#661)
* Implemented Snipe Shot and Stalwart/Propeller Tail

* Remove Testing Overrides

I don't know why these got pushed, they are in the gitignore file.

* Snipe Shot also has a high crit rate

* Add Comment

* Add TsDoc documentation to BypassRedirectAttr

* Add ability pop-up for when Propeller Tail/Stalwart proc.

* Fix Formatting

* Tab align comment
2024-05-10 10:40:21 -05:00
Benjamin Odom
b231b887aa
Update ability.ts (#671) 2024-05-09 16:40:23 +10:00
alpaca
76ac86d2ae
Implements healer (#259)
* Implements healer

* adds an ally check to the condition

* done testing, changes chance back to 30%

* adds comment header for PostTurnResetStatusAbAttr

* adds override to resetStatus to not allow revive

* dont revive

* override revert
2024-05-08 20:21:55 -05:00
alpaca
aeab9d78ec
Implements cursed body (#227)
* implements cursed body

* 30 percent chance to proc

* check if max

* removes unimplemented tag

* bypasses faint

* un-disable message specifies pokemon name

* adds prefix to un-disable message

* space issue
2024-05-08 19:25:16 -05:00
alpaca
b5888b5472
Implements Cotton Down (#254)
* Implements Cotton Down

* activates on faint as well
2024-05-08 17:25:15 -05:00
Jeremy B
bb28d3599e
fix scrappy and mindseye working as passive ability (#567)
* fix scrappy and mindseye working as passive ability

* update apply for ignoretypeimmunityabattr

* simplify logic for ignoretypeimmunityabattr

---------

Co-authored-by: contra1337 <jpbastyr@gmail.com>
2024-05-08 00:32:38 -05:00
Benjamin Odom
bb6bb1e6c1
Fixed Crash Moves and Reckless (#609)
* Fixed Crash Moves and Reckless

Added a new MoveFlags flag 'RECKLESS_MOVE' to make crash and recoil moves in line with other move flag boosting attacks.

Modified how flags were defined so they are easier to maintain.

Added the appropriate flag to all mvoes listed as being affected by Reckless. Steel Beam and Mind Blown do not count according to source:
https://bulbapedia.bulbagarden.net/wiki/Reckless_(Ability)

* Update move.ts

* Update abilities.ts
2024-05-07 23:28:35 -05:00
Madmadness65
fd0f21943e Implement Supersweet Syrup ability
Uses the new once per battle condition.
2024-05-06 23:47:20 -05:00
Xavion3
2d740f1952 Implement once per battle restriction on abilities
Currently just Intrepid Sword and Dauntless Shield
2024-05-07 00:39:16 -04:00
Matthew Ross
f92b563baa Hunger switch shouldn't trigger if terastallized 2024-05-06 08:49:26 -04:00
Jeremy B
bc8cb51dc1
Add Scrappy ability handling (#473)
* partially implement scrappy

* add minds eye handling also

* remove unimplemented from minds eye

---------

Co-authored-by: jbastyr <jpbastyr@gmail.com>
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
2024-05-06 00:27:56 -05:00
LaukkaE
67ee104178
Fix Protosynthesis and Quark Drive (#289)
* Fix Protosynthesis and Quark Drive

* add partial tags
2024-05-06 10:26:11 +10:00
Madi Simpson
f7f235cdec move: handle some aspects of custom fail text a bit better 2024-05-05 14:28:06 -04:00
Madi Simpson
fa01f32475 ability: sturdy ability tag no longer pops up with 1 max hp 2024-05-05 11:40:54 -04:00
Armin
5c6e161eda Issue-483: Fix contact effects after death 2024-05-05 11:06:26 -04:00
Madi Simpson
80ee440109
Implement Guard Dog, attribute for abilities to give Intimidate immunity (#448)
* abilities: implement guard dog, abilities that give intimidate immunity

* abilities: implement rattled's second effect, remove refs to mold breaker

* abilities: fix rattled not giving the attack drop still

* abilities: make ability bars pop in to some success

* abilities: implement suction cups since it has the same effect

* moves: add custom fail text, fix animation issues with Guard Dog/Roar

* abilities: manually show intimidate ability bar to prevent weirdness
2024-05-05 10:52:27 -04:00
Madi Simpson
96d7fdd3f9
Implement Water Shuriken Battle Bond condition (#466)
* moves: water shuriken hits 3x 20bp in ash greninja forme

* moves: remove fusion checks
2024-05-04 20:50:12 -05:00
Madi Simpson
b2c74cfc90
Implement Opportunist (#460)
* abilities: implement opportunist

* abilities: make it not infinitely loop like a dummy

* abilities: properly ignore only opportunist on opportunist boosts

* abilities: rename some things to make a bit more sense
2024-05-04 18:38:53 -05:00
Tempoanon
fabd2b1550
Add in missing import (#445) 2024-05-04 12:40:34 +10:00
Tempoanon
5b44905b86
Fix Shedinja passive, mummy passive, acupressure, moody, and added a second move override (#369) 2024-05-04 12:30:23 +10:00
Tempoanon
f9abc50d8b
Add Neutralizing Gas message, display Manaphy egg gacha origin, allow catching wonder guard bosses (#322)
* Add Neutralizing Gas message, display Manaphy egg gacha origin, allowcatching wonder guard bosses

* Add edge cases of supressed/overriden wonder guard bosses
2024-05-04 12:29:30 +10:00
Tempoanon
4163005f12
Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP) (#241)
* Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP)
2024-05-04 12:10:40 +10:00
Madi Simpson
d48f0aa97d
Implement Anger Shell and Berserk (#421)
* abilities: implement anger shell and berserk

* abilities: fix small typo causing berserk to raise speed instead of spatk

* abilities: condense battlestats into an array instead of multiple attrs
2024-05-03 15:55:46 -05:00
Xavion3
c7c4deb416 Implement Sniper 2024-05-03 12:05:20 -04:00
Flashfyre
7a418109c3 Fix not checking move conditions for AI 2024-05-01 18:17:12 -04:00
Tempoanon
0f153d39b1
Fix effect spore immunities, tera blast TM distribution, and IVs shown on catch (#388)
* Fix effect spore, tera blast distribution, and IVs shown on catch

* Forgot to add tms

* Unown does not learn any TMs

* Fix some tera blast learns

* delelele whooooop
2024-05-01 16:47:32 -05:00
NxKarim
8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) (#353)
* Some Fixes

- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.

- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.

- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.

- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.

* Formatting changes for consistency

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -04:00
Madmadness65
bd30dca47d Partially implement Battle Bond (Gen 8) & Power Construct abilities
Both abilities are still not fully functional yet (Battle Bond does not interact with Water Shuriken yet, Power Construct does not interact with 10% Power Construct Zygarde, and both forms do not revert after a battle yet), but this is a step to having them both completed.
Battle Bond Froakie line and Power Construct 50% Zygardes (as well as Aura Break 10% Zygardes) can now randomly appear in the wild.
Expect Battle Bond to potentially change to its Gen 9 version at some point in the future, rendering Ash-Greninja inaccessible.
2024-04-29 19:50:29 -05:00
Akuma-Reiki
a6c27773f8
Make arena trap count as a lure ability (#245) 2024-04-26 13:58:57 -04:00
InfernoVulpix
d4c265443f Assurance effect implementation
Theoretically implemented for all use cases but only tested for regular damage so far.
2024-04-25 23:03:00 -04:00
AJ Fontaine
9f3bef0142
Implemented explosive moves and Damp (#290)
* Implemented explosives

* Add Aftermath and Magic Guard interactions

* Adjust AI score for Mind Blown/Steel Beam
2024-04-25 21:42:41 -04:00
lucfd
fa463b77db
Implements Stakeout & Analytic (#292)
* implemented stakeout

* implemented analytic
2024-04-25 14:29:05 -04:00
Tempoanon
230c2bf983
Fix Moody and Quark Drive (#284)
* Fix Quark Drive and Moody

* Telepathy still unimplemented

* more merge conflict stuff
2024-04-25 01:23:45 -04:00
Flashfyre
a0311f4b0f Fix partial and unimplemented indicators not showing on abilities 2024-04-24 22:42:09 -04:00
Pablo González
7055ea49c7
Support localization of Pokémon abilities (#271)
* Support localization of Pokemon abilities

* Reload ability localization when language is changed

* Add Spanish localization for abilities

* Add missing French abilities localization

* Add missing localize call on abilities

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 21:10:09 -04:00
shayebeadling
11ee81091b
Implements hospitality (#252)
* implements hospitality

* 1/8 -> 1/4

* shows animation

* Minor nitpicks

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-23 09:43:35 -04:00
Luc
8cf82d3db4 fixed steam engine activating on all water moves 2024-04-22 00:49:54 -04:00
Flashfyre
df7a6be654 Fix errors from merged PRs 2024-04-21 23:05:36 -04:00
Procyonae
fd8cb07c9b
Implement Liquid Ooze (#210)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:02:10 -04:00
shayebeadling
a214ed6e66
Implements anticipation (#201)
* implements anticipation

* checks against ohko attr

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:01:11 -04:00
Procyonae
0737827bbc Implement Toxic Debris 2024-04-21 23:00:09 -04:00
Xavion3
5b34e7f873 Implement No Guard 2024-04-21 01:34:21 -04:00
Flashfyre
08988822db Add missing attribute to Pressure 2024-04-20 23:09:59 -04:00
Temps Ray
e94b17bbf5 Implement getAttackTypeEffectiveness check 2024-04-19 13:11:41 -04:00
lucfd
422eeb5d07
Implemented Stench (#190)
* implemented stench

* cleaned up code

* removed redundant lines

* Implemented Payback

* refactored, increased PostAttackApplyBattlerTagAbAttr robustness

* removed payback code

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 09:33:35 -04:00
Xavion3
0b4963aefc Block form changing abilities while fused 2024-04-18 18:56:50 -04:00
Xavion3
453c5644aa Fix mold breaker + implement neutralising gas 2024-04-18 10:52:31 -04:00
NxKarim
94d5eab489
Implemented Disguise (Better this time) and Quick Feet console spam fix (#174)
* Implemented Disguise

Somehow it works.

* Update ability.ts

* Update ability.ts

* Update ability.ts

* whitespace pain

* Form name typo

Co-authored-by: Samuel H <flashfireex@gmail.com>

* Implemented Disguise

Disguise

Merge

Merge

Merge

Merge

Disguise + Merge

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-18 00:09:28 -04:00
Tempoanon
cf2bd4d3da
Implement Charge and more abilities (#163)
* 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

* Add wind abilities and charge

* Implement Charge and more abilities

* Add i18n support and Beedrill fury cutter

* Fix merge conflict in taunt

* More English strings removed
2024-04-17 01:09:15 -04:00
Ishan Patel
1f9834d1f6
Fixed when roost removes flying type (#148)
* Initial push with roost fix

* Roost fix

* Added GROUNDED to Levitate

* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
prateau
509954995c update moves and abilities that takes effect in snow 2024-04-15 17:45:52 -04:00
LaukkaE
e15b810f6a Prevent crash with trace 2024-04-15 16:08:54 -04:00
LaukkaE
2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
AJ Fontaine
76edb00e31 Thermal Exchange 2024-04-15 12:18:00 -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
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
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
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
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
Xavion3
66ef42db85 Update ability attributes 2024-04-12 22:25:22 -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
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
William Burleson
389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -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
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
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
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
5844f2d742 Fix poison immunity abilities not working with toxic 2024-04-08 13:21:06 -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
musicman928
b7368afa9e Add type change abilities 2024-04-07 22:27:07 -07: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
Madmadness65
0cb008adb0 Implement Gooey and Tangling Hair abilities 2024-04-06 22:18:12 -05: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
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
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
Matthew
3dabfd3c55 Fix sturdy 2024-04-06 01:51:42 -04: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
LaukkaE
a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -04:00
Jaime
36b3c91276 Implemented the abilities Stamina and Weak Armor 2024-04-04 18:35:15 -04:00
Flashfyre
84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -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
f95f3ff30e Implement Magic Guard ability 2024-04-02 15:14:07 -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
077d87ade8 Implement Intrepid Sword & Dauntless Shield abilities 2024-04-01 15:34:46 -05:00
Flashfyre
332e658555 Pass ability arguments to trigger message 2024-03-30 23:49:29 -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
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
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
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
7f2dd28832 Implement Moxie and Beast Boost abilities 2024-03-29 22:08:27 -04:00
Flashfyre
8915b2acec Fix Prankster ability not working properly 2024-03-28 21:35:30 -04:00
Flashfyre
11bd7fdbca Implement Prankster ability 2024-03-28 16:24:11 -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
Flashfyre
c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00
Flashfyre
a22d50caa7 Fix abilities causing permanent weather and terrains 2024-03-25 10:22:16 -04:00
Flashfyre
c77ea04120 Fix static ability broken and causing crash 2024-03-24 22:43:35 -04:00
Flashfyre
a333f7886c Fix effect spore and similar abilities activating on the wrong target 2024-03-23 10:54:16 -04:00
Flashfyre
5c02455c97 Implement Protosynthesis and Quark Drive 2024-03-18 21:22:27 -04:00
Flashfyre
4432522e15 Fix weather damage ability flavor text 2024-03-17 23:21:30 -04:00
Madmadness65
76de0d01f9 Correct Huge Power and Pure Power
They now increase the attack stat directly, instead of stat boosts (which was unintended).
2024-03-14 14:09:25 -05:00
Madmadness65
66b306de9e Add Turboblaze/Teravolt flavor text 2024-03-13 23:56:18 -05:00
Flashfyre
0c835f4157 Implement various abilities including Mold Breaker 2024-03-14 00:40:57 -04:00
Madmadness65
9384344758 Implement various terrain-related abilities
Fully implements Electric, Psychic, Misty, and Grassy Surge. Partially implements Grass Pelt, Surge Surfer, and Hadron Engine, as their stat-boosting properties don't seem to work as intended.
2024-03-13 12:23:31 -05:00
Xiaphear
97b029b5d7 Added Defeatist 2024-03-13 13:54:15 +01:00
Flashfyre
b93e4397fa Fix formatting and remove stray character 2024-03-13 08:51:07 -04:00
Xiaphear
9d2d03ee44 Added Tinted Lens. 2024-03-13 12:45:31 +01:00
Flashfyre
71e820f149 Add redirection logic to Lightning Rod and Storm Drain 2024-03-11 20:55:41 -04:00
Flashfyre
47cf14da9b Implement terrains and rework status logic 2024-03-09 21:57:33 -05:00
Xiaphear
b9395ebd7f Implemented Sturdy. 2024-03-09 23:49:00 +01:00
Flashfyre
4d8663d274 Fix pickup working on the same item multiple times 2024-03-08 14:49:17 -05:00
Flashfyre
d18eba4df8 Fix Pickup causing crash outside of battle 2024-03-07 08:23:21 -05:00
Flashfyre
113ac10c1b Implement Pickup ability 2024-03-06 21:05:23 -05:00
Flashfyre
95bfb2a056 Implement Skill Swap and fix Wonder Guard with status moves 2024-03-04 21:32:11 -05:00
Flashfyre
893c20fc16 Remove status effect move type immunity 2024-03-04 20:28:55 -05:00
Flashfyre
6f54fa7741 Fix damage display issues with battle info 2024-03-01 10:28:29 -05:00
Flashfyre
1f6a6f4621 Damage-related fixes and changes
Apply damage numbers to all damage and heal; fix some damage-related bugs
2024-03-01 09:35:36 -05:00
Flashfyre
f48464d48d Minor refactoring 2024-02-29 20:08:58 -05:00
Flashfyre
fdff3a549c Factor type immunity abilities into enemy AI 2024-02-28 11:40:30 -05:00
Flashfyre
085dd15651 Fix broken type immunity ability 2024-02-23 09:24:49 -05:00
Madmadness65
76a6df43c4 Fix off-by-one champions; implement Strong Jaw
This fix currently has the unintended side effect of making Champion Leon unable to be fought, but every other set of Elite Fours is now followed by the proper Champions as intended.
2024-02-22 23:24:44 -06:00
Flashfyre
3ed80de330 Type immunity abilities only affect attack and status moves 2024-02-22 16:30:55 -05:00
Flashfyre
4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre
dadc08d16e Add Terestallization mechanics
Add Terestallization mechanics; implement Stellar type; fix bug with held item weights
2024-02-17 00:40:03 -05:00
Flashfyre
84fe12d83a Implement some abilities 2024-01-16 00:28:03 -05:00
Flashfyre
63cb2ae22f Implement some moves and update arena tags to include side 2024-01-15 23:29:22 -05:00
Flashfyre
052564f902 Update final boss fight and restructure some files 2024-01-13 12:24:24 -05:00
Flashfyre
8cc1982859 Add natures 2024-01-05 22:31:13 -05:00
Flashfyre
e05bf78481 Overhaul random logic and implement battle seed 2024-01-02 21:31:59 -05:00
Flashfyre
40eed4464d Implement various abilities 2023-12-23 01:21:01 -05:00
Flashfyre
40a4d4cf13 Fix issues with Sticky Hold ability 2023-12-22 23:58:53 -05:00
Flashfyre
2bb1676d82 Implement Slow Start ability 2023-12-22 22:46:05 -05:00
Flashfyre
0b5adbb43c Refactor ability hook functions to remove code duplication 2023-12-22 22:04:30 -05:00
Flashfyre
6391e05508 Convert apply attribute functions to promises 2023-12-22 21:42:47 -05:00
N1ghtz567
53fb56391b Implement 2 abilities 2023-12-22 18:08:37 -04:00
Flashfyre
7deab1c545 Implement some abilities 2023-12-22 01:21:05 -05:00
Flashfyre
71fdafe8fb Add egg logic and hatching screen (WiP) and end biome arena BG 2023-12-15 23:07:32 -05:00
Madmadness65
fc2665b3f0 Implement type-boosting abilities
This affects Steelworker, Transistor, Dragon's Maw, and Rocky Payload.
2023-12-14 11:52:30 -06:00
Madmadness65
625359fb39 Add Indigo Disk data
New Pokémon, moves, learnsets, TMs, and evolution data added in various states of completeness. Until graphics are made for the new Pokémon, they cannot be used yet.
2023-12-14 03:03:00 -06:00
Flashfyre
243bfa1624 Add missing Mega Diancie evolution 2023-12-14 01:01:10 -05:00
Madmadness65
9d3b936ade Use the actual ability descriptions
With the implementation of text scrolling in the ability text box, the shortening is no longer necessary.
2023-12-11 11:23:00 -06:00
Flashfyre
7047448382 Add scrolling ability text 2023-12-11 11:09:58 -05:00
Madmadness65
a4f3408c7d Add descriptions to generation 9 abilities
They have also been sufficiently squished to fit within the gen 3 style UI.
2023-12-11 01:41:33 -06:00
Flashfyre
552bda9840 Implement some abilities 2023-12-10 22:29:13 -05:00
Flashfyre
e7ec5b4f88 Implement generation 6 Pokemon and some moves 2023-12-08 16:29:03 -05:00
Flashfyre
fab2d9b788 Soft implement gen 6-9 species, abilities, and learnsets 2023-12-05 17:12:39 -05:00
Hyun Ahn
07f82dfcac
Implement solarpower (#10)
* Implement solarpower

* Fix after review

* Fix after review

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2023-11-28 08:20:10 -05:00
Flashfyre
1040b2f1d7 Fix incorrect operator used for ability weather damage formula 2023-11-28 08:15:50 -05:00
Hyun Ahn
3e8b047cbd
implement_sand_rush_ability (#9)
* implement_sand_rush_ability

* after review fix

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2023-11-27 22:34:19 -05:00
Hyun Ahn
7f30cc1d37 implement_hustle_ability 2023-11-27 20:58:01 -05:00
Flashfyre
1e2bd0dbb9 Minor change to sprite shader 2023-11-26 09:53:16 -05:00
Hyun Ahn
0c5e451606 hyun/imple_slush_rush 2023-11-24 22:25:51 -05:00
Flashfyre
e5fe0c6e3a Add transform support to fusion palette swaps 2023-11-24 15:12:26 -05:00
Flashfyre
28f8fdfdc1 Implement unaware ability 2023-11-05 23:27:40 -05:00
MonkehestMan
bb4f35095d Contrary + Simple implemented 2023-11-06 16:11:38 +13:00
Flashfyre
179d1bcb13 Implement Pressure ability 2023-10-30 00:16:23 -04:00
Flashfyre
813b4894f3 Implement Transform move and Imposter ability 2023-10-29 01:28:56 -04:00
xDasone
95f645dd23 Merge branch 'main' of https://github.com/Flashfyre/pokemon-rogue-battle 2023-10-28 14:37:17 -07:00
xDasone
8bad05ea97 Fixed Huge Power, and Pure Power not giving the correct boost 2023-10-28 14:37:00 -07:00
Flashfyre
d1c58224bc Add base logic for enemy buff modifiers 2023-10-28 13:24:57 -04:00
xDasone
1d8cf50f1b Implemented Anger Point Ability 2023-10-26 21:12:53 -07:00
Flashfyre
d54a4be7b4 Implement Adaptability ability 2023-10-26 20:02:30 -04:00
Flashfyre
c778ef5e36 Add Mega Rayquaza (static sprite) 2023-10-20 14:19:22 -04:00
Flashfyre
83c70889fc Implement trainer battles and various changes
Implement trainer battles; add dialogue functionality; add random session seed for predictable random results; remove capitalization from text; add full party heal after every 10 waves
2023-10-18 18:01:15 -04:00
Flashfyre
105b5cd510 Fix some bugs and add factory bg 2023-06-01 13:54:52 -04:00
Samuel H
b9f7ba173d
Implement Double Battles (#1)
* Add WiP logic for double battles

* Minor changes for double battles

* More fixes for double battles

* Show battle info for both in double battles

* Improvements to double battles

* Add double battle version of party UI

* Fix some issues with double battles

* Updates to double battles

* More work on double battles for stability

* Fix issues with ability bar and evolution screen

* Add chance for double battles
2023-05-18 11:11:06 -04:00
Flashfyre
b82d3a55e4 Implement some moves 2023-05-08 18:48:35 -04:00
Flashfyre
c88828548c Implement some abilities 2023-05-06 12:13:35 -04:00
Flashfyre
15cfd3bad4 Add color change ability, some moves, and fix mimic 2023-05-06 00:42:01 -04:00
Flashfyre
c25b2332f2 Implement some abilities 2023-05-04 14:06:31 -04:00
Flashfyre
d1d65708ce Implement some abilities and attract move 2023-05-04 12:57:55 -04:00
Flashfyre
5413fd5c9c Fix stack overflow 2023-05-02 22:27:04 -04:00
Flashfyre
c49bac094f Attempt fixing stack overflow 2023-05-02 20:53:06 -04:00
Flashfyre
76ceed52a3 Fix levitate ability effect 2023-05-02 16:58:18 -04:00
Flashfyre
dafe502b3c Implement some abilities 2023-05-02 15:56:41 -04:00
Flashfyre
60f191e60d Add battler stat multiplier ability attribute 2023-05-02 00:11:31 -04:00
Flashfyre
f6c7a2906d Add crit block abilities and fix some common anims 2023-05-01 22:07:00 -04:00
Flashfyre
fe298c39e2 Add tall grass BG and fix a hanging bug with charge moves 2023-04-30 23:58:16 -04:00
Flashfyre
2062d44026 Add Wonder Guard ability and remove test code 2023-04-27 14:56:30 -04:00
Flashfyre
005cc9b7d5 Add more abilities and move contact flag 2023-04-27 14:30:03 -04:00
Flashfyre
18679241e9 Add ability bar UI 2023-04-27 01:14:15 -04:00
Flashfyre
c614295b5e Begin implementing abilities 2023-04-26 23:33:13 -04:00
Flashfyre
ebdfb7b4cb Add items and ability to summary 2023-04-23 18:40:21 -04:00
Flashfyre
3546f3b5a7 Refactor source files and add berries 2023-04-20 15:46:05 -04:00