Commit Graph

1111 Commits (b9b7afb3eee7dcf2690dc7bb2280c2f23b10d295)

Author SHA1 Message Date
Flashfyre d44dfac0c8 Fix consecutive use moves starting at double BP (rollout, echoed voice, etc) 2024-03-30 21:59:39 -04:00
Flashfyre 3b1119fa1a Fix vouchers not updating on scroll 2024-03-30 21:21:59 -04:00
Devin Korb 53def01b51
Add unit testing support with vitest (#18)
* update loose files and add vitest

* update test scripts

* more support for vitest

* more test support

* update vscode settings
2024-03-30 20:47:47 -04:00
Flashfyre 4e911a9be9 Fix TM item icons using memories 2024-03-30 20:40:48 -04:00
Flashfyre 2feb82e674 Fix infinite looping when Pokerus selections generate a loop 2024-03-30 20:14:09 -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 bb185d9845 Fix ice types immune to sleep 2024-03-30 17:11:34 -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
Madmadness65 586aa0227d Buff Golden Punch's damage-to-money percentage
Raised from 20% to 50%.
2024-03-30 09:20:28 -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
Flashfyre b6943f4753 Fix prefixing player Pokemon with 'Foe' during final battle 2024-03-30 01:37:54 -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 371b00561a Only apply Moxie and Beast Boost when on field 2024-03-29 23:16:28 -04: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 b67a3ced85 Fix evolution item types switched 2024-03-29 19:14:34 -04:00
Flashfyre 001ad1f55e Include catch rate in Poke Ball item description so people stop asking what Rogue Balls do 2024-03-29 17:36:44 -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 dff9a21a0b Fix not properly checking damage greater than 0 for certain effects 2024-03-29 15:00:16 -04:00
Flashfyre 34f748f331 Cries are pitched down when at low HP 2024-03-29 14:42:27 -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 8f0a3f15a3 Change double boss bar split to factor in base stat total 2024-03-29 10:37:28 -04:00
Flashfyre 2b213da4a6 Split double boss HP bar segments 2024-03-29 10:29:19 -04: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 23e3bdc960 Bosses generate with higher IVs 2024-03-29 00:03:54 -04: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 26bef151f4 Update starter value reduction thresholds to be per-cost 2024-03-28 17:29:31 -04: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 97add6e748 Don't show points for voucher unlocks 2024-03-28 14:36:39 -04:00
Flashfyre 0afec8fd35 Rebalance trainer evolution logic 2024-03-28 14:05:15 -04:00
Flashfyre b06c101020 Rare candies add 5 friendship 2024-03-28 11:15:28 -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 289969790a Perish Song doesn't work on bosses 2024-03-28 09:21:39 -04:00
Flashfyre f0b00f9f27 Add move target redirection 2024-03-28 00:24:24 -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 b24eac4071 Give EXP Balance a 20% factor and increase stack count to 5 2024-03-27 13:26:13 -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 f79337b475 Fix burn damage change affecting poison 2024-03-27 11:42:06 -04:00
Flashfyre c8ac42f267 Fix Burn damage and add more splash messages 2024-03-27 11:38:50 -04:00
Flashfyre 28ff6f5638 Exclude learned moves from compatible TMs 2024-03-27 10:43:00 -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 4f9eebda13 Fix daily level cap changing mid biome 2024-03-26 21:40:10 -04:00
Flashfyre c0b1724b1e Fix not passing trainer name when loading data 2024-03-26 21:21:27 -04:00
Flashfyre a33f54b7cb Don't allow PP to go below 0 with Pressure 2024-03-26 21:09:20 -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
Flashfyre 8bdab3d3bc Fix dividing by 0 when calculating party member scores 2024-03-26 16:07:59 -04:00
Flashfyre 0fbf21f19b Fix accuracy and evasion ability multipliers not being applied 2024-03-26 15:47:19 -04: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 aee5f32bc3 Properly lapse terrain 2024-03-26 10:08:17 -04:00
Flashfyre c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00
Flashfyre b114cd1cb1 Unlocks only happen on classic 2024-03-25 21:09:32 -04:00
Flashfyre 6c89af4488 Fix move skipping from Candy Jar levels 2024-03-25 18:31:51 -04:00
Flashfyre 1ea0511abb Convert included JS files to modules 2024-03-25 16:10:43 -04:00
Flashfyre 85d09462ad Fix moveset generation logic 2024-03-25 15:22:37 -04:00
Flashfyre 4633ac2426 Add failsafe if moves fail to load 2024-03-25 14:47:41 -04:00
Flashfyre bd67ccde8b Revert "Fix random moveset generation logic not working properly with evolutions"
This reverts commit a8cabd50d9.
2024-03-25 14:44:40 -04:00
Flashfyre 3ce8697c23 Make AI a bit more intelligent in attack move interactions 2024-03-25 14:38:07 -04:00
Flashfyre a8cabd50d9 Fix random moveset generation logic not working properly with evolutions 2024-03-25 14:27:04 -04:00
Madmadness65 4bf83645b5 Update egg moves with the latest changes
These are all changes to the egg moves over the last month or so. No major egg move nerfs yet.
2024-03-25 13:18:43 -05:00
Flashfyre 8c5e82a5a3 Add shiny indicator to starter screen 2024-03-25 13:40:54 -04:00
Flashfyre a1b09f3aeb Fix item bar hover logic 2024-03-25 12:33:35 -04:00
Flashfyre 892d99a4f9 Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
Flashfyre a22d50caa7 Fix abilities causing permanent weather and terrains 2024-03-25 10:22:16 -04:00
Flashfyre efa8d4f3fc Fix summon data not being loaded in on session load 2024-03-25 10:16:29 -04:00