Commit Graph

206 Commits (f53c699d04b047cb725574841cd921c407474cc0)

Author SHA1 Message Date
Xavion3 453c5644aa Fix mold breaker + implement neutralising gas 2024-04-18 10:52:31 -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
Xavion3 420d7fbade Fix paralysis speed drop
Should only be 0.5x
2024-04-16 12:25:41 -04:00
Flashfyre 05bb384934 Update crit chance to gen 7 odds 2024-04-16 12:14:33 -04: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
prateau 0196cf8310 Add snow as a weather 2024-04-15 17:45:52 -04:00
LaukkaE 2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
Xavion3 6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -04: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
Flashfyre 99aa7854c0 Prevent replacing learnset when species is overridden 2024-04-14 20:23:51 -04:00
surniki 208279ce77 Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja. 2024-04-14 20:09:58 -04:00
Flashfyre 669bc367e5 Fix Super Luck working on the wrong side 2024-04-14 18:19:35 -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
Flashfyre 75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3 cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Flashfyre 824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
LaukkaE 8cf8ce1258 Fix terrain power boosting
fix
2024-04-13 13:51:13 -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
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
Flashfyre 3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre 3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre d50521755e Fix fusion move merge happening after wave end 2024-04-11 16:30:29 -04:00
Flashfyre 3d959e3860 SpDef boost in sandstorm only applies to rock types 2024-04-11 14:52:32 -04:00
Flashfyre 377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -04:00
Flashfyre 43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre fbb901e591 Temporarily disable passive abilities 2024-04-11 09:30:40 -04:00
Flashfyre 31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Xavion3 4f63b83bd9 Add support for variable category moves
Also lets shell side arm poison
2024-04-10 22:41:16 -04:00
Flashfyre 81536e7e8e Ignore fusion species generation on egg hatch 2024-04-10 20:31:52 -04:00
Flashfyre 012158e7ff Improve enemy move selection AI 2024-04-10 12:49:23 -04:00
Flashfyre ca778e07d5 Implement Pokemon fusion icons 2024-04-10 10:57:06 -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
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 52f0f5a149 Fix status move immunity not working (ie. Thunder Wave) 2024-04-08 16:02:12 -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
Flashfyre a0e2427974 Fix strong winds effect not working on moves 2024-04-07 23:18:04 -04:00
neverblde 6decbec6a9 Fix pokemon applying burn reduction 2024-04-07 08:49:46 -04:00
Flashfyre 70a4d54ec9 Predetermine overflow line breaks 2024-04-06 23:03:20 -04:00
Flashfyre 570f10345b Add missing weather effects for fog and strong winds 2024-04-06 22:10:38 -04:00
Flashfyre 59cb4daa52 Fix gendered form evolutions always assigning male 2024-04-06 20:48:58 -04:00
Flashfyre 6821404023 Filter out sacrificial moves from boss movesets 2024-04-06 19:41:12 -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 4c383e105f Add evolution for secondary fusion species 2024-04-05 21:12:29 -04:00
Matthew 5b2925cf85 Endure updated 2024-04-05 18:50:10 -04:00
Flashfyre e2a49ffa25 Fix critical hits causing decimal damage 2024-04-05 18:38:46 -04:00
Flashfyre 77e8ff3785 Nerf critical hit damage to 1.5x 2024-04-05 15:47:46 -04:00
Jaime 887a4176ab Implemented moves Reflect, Light Screen and Aurora Veil 2024-04-05 11:44:21 -04:00
Flashfyre 37eb5c8eb0 Add more recent move selections for trainer and boss Pokemon 2024-04-05 11:42:55 -04:00
Flashfyre efb6b9dbc9 Fix stat drops always being ignored 2024-04-05 07:32:56 -04:00
Flashfyre 2fab4a35ab Fix critical hit logic 2024-04-05 00:13:03 -04:00
Flashfyre eaba6e655c Revert crit change 2024-04-04 23:57:28 -04:00
Flashfyre a45fe05f53 Critical hits ignore stat drops and X items last 10 battles 2024-04-04 23:32:09 -04:00
Flashfyre 8b84965d7a Remove revive tokens, nerf heal token, add endure token 2024-04-04 22:42:24 -04:00
Flashfyre e76fa25bc8 Fix attack type boosters applying universally and buff Soul Dew 2024-04-04 20:33:08 -04:00
Flashfyre 87e0e06b9e Add faster evolution skipping 2024-04-04 18:54:50 -04:00
Flashfyre 4f0b1fdcfb Fix namebox not updating with theme
Fix namebox not updating with theme; ban certain species from being used by trainers
2024-04-04 18:00:21 -04:00
Flashfyre b04cdd3f60 Fix final boss burn cheese 2024-04-04 14:20:14 -04:00
Flashfyre 563ff21ad4 Fix moveset generation priority reversed 2024-04-03 16:35:11 -04:00
Flashfyre 4d2d04858f Fix tera power boost still applying when multi scope is held 2024-04-03 12:36:19 -04:00
Flashfyre 5759a5e5ce Add Multi Lens item 2024-04-03 11:42:09 -04:00
Flashfyre ae03f541dd Allow Kyurem forms to be fused 2024-04-03 10:38:36 -04:00
Flashfyre 7400ba0503 Update IVs in dex on evolution 2024-04-03 09:23:45 -04:00
Flashfyre 880433a7f8 Fix not setting initial nature override 2024-04-02 23:47:48 -04:00
Flashfyre 6bb40c6d15 Fix Soul Dew not factoring in overridden nature 2024-04-02 23:21:55 -04:00
Flashfyre 785840fdf4 Fix crash 2024-04-02 23:12:30 -04:00
Flashfyre 84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -04:00
Flashfyre dba93a21f0 Fix terrain color ratio 2024-04-02 20:25:35 -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 91ab0b4b32 Fix Sturdy HP check in wrong place 2024-04-02 01:15:53 -04:00
Flashfyre e171b10d40 Fix Sturdy enduring all hits instead of just from full HP 2024-04-02 01:03:29 -04:00
Flashfyre a33dd47853 Re-implement fixed moveset generation with fix 2024-04-02 00:48:13 -04:00
Flashfyre 5e8b5c8ac7 Revert "Rework moveset generation logic and fix window selection crash"
This reverts commit 321c3f3e90.
2024-04-02 00:27:15 -04:00
Flashfyre 321c3f3e90 Rework moveset generation logic and fix window selection crash 2024-04-02 00:16:06 -04: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
LaukkaE 6a87c1b4cc
Implement freezedry (#22)
* implement freezedry

* remove console log
2024-04-01 13:26:35 -04:00
Flashfyre 366e3e5120 Fix battle RNG varying when loading a game 2024-04-01 12:48:35 -04:00
Flashfyre 03e4115bd7 Fix typo with checking tags for trainer switching 2024-03-31 13:09:53 -04:00
Flashfyre 203ba1646d Make trainer switch AI aware of arena traps 2024-03-31 12:00:54 -04:00
Flashfyre 5cb268a3f0 Fix Stance Change not working on enemy side 2024-03-31 00:10:47 -04: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 bb185d9845 Fix ice types immune to sleep 2024-03-30 17:11:34 -04:00
Flashfyre dbca257a76 Add Schooling ability for Wishiwashi and fix Beast Boost 2024-03-30 00:53:35 -04:00
Flashfyre fa7c1684f7 Fix tag source linking 2024-03-29 15:43:36 -04:00
Flashfyre dff9a21a0b Fix not properly checking damage greater than 0 for certain effects 2024-03-29 15:00:16 -04:00
Flashfyre a240a45318 Implement False Swipe and Hold Back moves 2024-03-29 11:58:22 -04:00
Flashfyre 4f62dec998 Implement Helping Hand move 2024-03-29 10:07:04 -04:00
Flashfyre 23e3bdc960 Bosses generate with higher IVs 2024-03-29 00:03:54 -04:00
Flashfyre 11bd7fdbca Implement Prankster ability 2024-03-28 16:24:11 -04:00
Flashfyre 0afec8fd35 Rebalance trainer evolution logic 2024-03-28 14:05:15 -04:00
Flashfyre 7a508c485a Fix grounding check not working properly after new changes 2024-03-28 10:35:18 -04:00
Flashfyre cedc1fb3b2 Fix the way ignore flying tag works 2024-03-28 10:28:05 -04:00
Flashfyre 2cc38ac2cb Fix softlock with switch out moves used on player 2024-03-28 00:05:48 -04:00
Flashfyre 63a6655759 Fix Transform and Imposter causing crash 2024-03-27 23:44:11 -04:00