Commit Graph

1204 Commits (314b7dba4350d8dbb1c3300de93c71eef5fe8de3)

Author SHA1 Message Date
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 68f0692849 Fix logic to prevent healing tokens from healing to full 2024-04-02 01:44: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
Madmadness65 b2f79c5756 Partially implement Good as Gold
It can block basic status attacks currently.
2024-04-01 22:16:16 -05:00
Flashfyre 2ec471708d Healing tokens can't heal to full HP 2024-04-01 23:10:11 -04:00
Flashfyre 6516f41d2e Add a much needed additional tutorial by popular demand 2024-04-01 22:50:00 -04: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
Flashfyre 9e288e06c8 Fix ability popup text placement 2024-04-01 21:52:40 -04: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
Flashfyre 72dc263552 Implement variation of loading screen by @rationality6 2024-04-01 19:56:46 -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
Flashfyre a3e09ee5cc Fix game not loading if save data is not found 2024-04-01 15:18:15 -04:00
Flashfyre e6c7f5dc77 Evolution items get more common the further in until wave 120 2024-04-01 13:53:29 -04:00
Flashfyre 03f6f40ffe Add enemy species override for testing purposes 2024-04-01 13:32:12 -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
Matthew dbff672469 salt cure fix 2024-04-01 11:19:22 -04:00
Flashfyre d442770de6 Add themed namebox 2024-04-01 10:06:28 -04:00
Flashfyre eb6ee79b3e Add cache busting 2024-03-31 23:58:03 -04:00
Flashfyre 814eb3053e Fix PP ups going above 3 2024-03-31 22:36:33 -04:00
Flashfyre 137a10bc9d Fix BG UI mismatch 2024-03-31 21:23:27 -04:00
Matthew 2f1536485d background resizing 2024-03-31 21:16:41 -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 03e4115bd7 Fix typo with checking tags for trainer switching 2024-03-31 13:09:53 -04:00
Flashfyre ec9365a8bf Fix scenario where catch stats moves container position can become desynced 2024-03-31 12:09:27 -04: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 ca0ae35422 Change default game speed from 1x to 2x 2024-03-31 00:03:39 -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
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
Flashfyre 93a7af853b Berries activate simultaneously 2024-03-25 00:21:00 -04:00
Madmadness65 be88f4783e Fix Thunder not having the accuracy bypass in rain
It was unintentionally given to Thunder Wave instead of Thunder.
2024-03-24 22:25:02 -05:00
Flashfyre 73c527af05 Fix encore not working correctly 2024-03-24 23:15:29 -04:00
Flashfyre c77ea04120 Fix static ability broken and causing crash 2024-03-24 22:43:35 -04:00
Flashfyre 0e694ebfb6 Fix softlock bug with double trainers 2024-03-24 22:24:26 -04:00
Flashfyre 4f88bd3dab Fix final boss nerf 2024-03-24 19:52:30 -04:00
Flashfyre b9805ceabf Update moveset generation logic 2024-03-24 18:57:24 -04:00