Commit Graph

421 Commits

Author SHA1 Message Date
Flashfyre 322838cfb5 Move service-worker to public folder 2024-05-02 11:37:06 -04:00
Benjamin Odom c9152cda3f
Fix Mobile PWA not showing in true Fullscreen (#394)
* Fixed Rounding Error For TargetHalfHpDamageAttr

Moves that deal half of a target's HP were not able to deal damage if the target had 1 HP. Used Math.max to ensure 1 is the lowest this value ever evaluates to.

* Fix Mobile PWA not showing in true Fullscreen

adding "fullscreen" to the display attribute wasn't enough, but adding it to the start_url attribute was. This does not appear to affect PC (which is good since it shouldn't).

* Allow any orientation for mobile PWA

remove the orientation restriction since it doesn't prevent fullscreen PWA from displaying properly.
2024-05-02 01:17:32 -04:00
Flashfyre 2f8000885e Fix coloring error in rogue achievement bar 2024-05-01 19:29:04 -04:00
Flashfyre 86b0596a60 Add rogue achievement and voucher tier 2024-05-01 19:28:07 -04:00
Thomas David c8583d6c69 Update manifest.webmanifest 2024-05-01 12:49:21 -04:00
Flashfyre 6fd5709b13 Reapply stat change feature with fixes 2024-04-30 23:02:16 -04:00
Flashfyre 8a54e862fc Revert "Add togglable stat change display"
This reverts commit 718585062b.
2024-04-30 22:14:24 -04:00
Flashfyre 718585062b Add togglable stat change display 2024-04-30 22:06:54 -04:00
Madmadness65 c5cc4445c4 Fix Furfrou trims missing shiny graphics 2024-04-30 13:39:16 -05: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
Madmadness65 b173000008 Implement Alcremie flavors
...But not all evolution sweets. This way, you can get all the differently colored Alcremies without there being like ~60 different forms.
There currently is an unintended side-effect with Gigantamaxing, where the Alcremie flavor will always switch to Vanilla Cream when reverting to normal, but aside from that, it works fine.
2024-04-29 01:42:02 -05:00
Madmadness65 b72b4cffed Implement Furfrou forms
They can be randomly encountered like many other multiple form Pokémon. Like canon, they do not have any statistical changes, just cosmetic.
2024-04-28 21:58:55 -05:00
Flashfyre 51408a0c9d Add missing animated Toxapex variant sprites 2024-04-27 01:13:03 -04:00
Madmadness65 3a1393c828 Replace Archaludon and Hydrapple's graphics 2024-04-26 22:00:28 -05:00
Flashfyre 8cff0780d3 Add missed variant sprites 2024-04-26 14:13:29 -04:00
Flashfyre 7031ae797f Update shiny variants 2024-04-26 13:33:08 -04:00
Flashfyre f38b1dc0d7 Add animated E-Max Eternatus sprite by RetroNC 2024-04-26 12:24:54 -04:00
Flashfyre 5e7356636e Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
Flashfyre ef552c7ffd Fix crash with certain animated variant sprites 2024-04-26 02:00:58 -04:00
Flashfyre 0eabfd56e3 Fix shiny Bidoof back sprite showing as epic variant 2024-04-25 21:56:44 -04:00
Madmadness65 e3533651ba Add form change items for Deoxys; minor Rotom form learnset changes
Adds 3 separate form changing items to switch between the various Deoxys forms.
All Rotom forms can now know their respective typed moved at the start (and can be relearned via Memory Mushroom if you already have one).
2024-04-25 20:26:09 -05:00
NxKarim f99afa228f Combusken, Grovyle 2024-04-25 18:07:56 -04:00
Flashfyre d5e462ba7d Temporarily remove Flamigo from exp sprites 2024-04-24 14:52:05 -04:00
Flashfyre 69eec95960 Add missing female Bidoof line variants 2024-04-24 12:56:56 -04:00
Flashfyre ba71d2750b Load files from manifest for caching 2024-04-23 22:00:23 -04:00
Madmadness65 d48de66179 Implement Snap Trap
One of the basic trapping moves that got overlooked.
2024-04-23 13:04:42 -05:00
Flashfyre 0ef6a6c72c Update variant sprites 2024-04-23 11:48:15 -04:00
Flashfyre 444b4075fe Biome can't change before a boss in endless mode 2024-04-23 09:40:05 -04:00
Flashfyre 216139df5b Re-apply status token shuffling with recursion fix 2024-04-22 23:58:26 -04:00
Flashfyre eeb547417f Endless biomes are short but connected 2024-04-22 20:30:46 -04:00
Madmadness65 8a31468dda Add new Stellar Terapagos graphics
Despite this, Stellar Terapagos still cannot be obtained legitimately yet.
2024-04-21 15:44:30 -05:00
Madmadness65 8614a52557 Fix White Flabébé line crashing
This is not the most elegant solution, as it's *only* the White form causing issues, but it does solve the problem.
2024-04-21 01:55:00 -05:00
Madmadness65 c2136a6df1 Miscellaneous minor changes
• The volume of Pikachu's cry has been lowered by 10 dB.
• Tarountula's starter value has been lowered to 1.
• Altered Whitney and Chuck's signature Pokémon (swapped Whitney's Clefairy for Girafarig, and gave Chuck Mankey).
• The alternate forms in Flabébé's evolution line can now be encountered.
2024-04-21 00:47:55 -05:00
Flashfyre 94999626d3 Add missing icons for new variants 2024-04-20 10:46:30 -04:00
Flashfyre 0eff8cd81a Add Wide Lens item 2024-04-20 01:59:07 -04:00
Flashfyre 9ec505bf35 Add various new shiny variants 2024-04-20 01:27:10 -04:00
Flashfyre bb5cd47d79 Add missing shiny graphic to legacy UI 2024-04-19 01:51:50 -04:00
Flashfyre e2824b9b5d Update variant configs 2024-04-18 23:42:18 -04:00
Flashfyre c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Madmadness65 e07ba5680d Replace Pikachu's cry with it's classic cry
Generation 9 gave Pikachu back the electric noise cry, replacing it speaking it's name.
2024-04-18 12:16:49 -05:00
shayebeadling aae40d2246
Implements infestation (#184)
* Implements infestation

* removes partial

* wrong partial removed, fixed

* appropriate tag location in enum

* moved in battle-anim enum
2024-04-18 11:14:11 -04:00
Madmadness65 34a7d435b9 Add busted Mimikyu icons
This adds the unique party icons for the busted disguise form of Mimikyu. As usual, reload the image cache after this update.
2024-04-17 23:34:35 -05: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
Flashfyre ba853bd5bf Attempt once again to make intro video work on mobile 2024-04-15 18:00:21 -04:00
Flashfyre 2539237aaf Update intro video again for compatibility 2024-04-15 17:55:00 -04:00
prateau c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
Flashfyre 3571ab2748 Update intro video to smaller version 2024-04-15 16:41:35 -04:00
Flashfyre abc729ed5c Revert "Replace intro with smaller file"
This reverts commit 8cce544536.
2024-04-15 15:04:42 -04:00
Flashfyre 8cce544536 Replace intro with smaller file 2024-04-15 14:45:00 -04:00
Flashfyre c1d641251b Add Pagefault Games intro 2024-04-15 13:10:09 -04:00
Flashfyre af571dbfcf Copy hidden ability capsule to legacy UI 2024-04-13 23:44:10 -04:00
shayebeadling f068b53d44
Show icon in dex for HA mons, like shiny (#117)
* Show icon in dex for HA mons, like shiny

* Swaps the star with the HA capsule

* Removes the unwanted icon
2024-04-13 23:20:54 -04:00
Flashfyre 824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
Madmadness65 aa0a88a468 Fix Tapu Lele's cry
It was a copy of Tapu Koko's cry. This has been corrected.
2024-04-13 11:00:59 -05:00
João Santos 40cdd6ace2 Fix PWA setup 2024-04-12 19:42:17 -04:00
Flashfyre 2c38849aa1 Compress battle animation sheets 2024-04-11 14:14:33 -04:00
Flashfyre c339d19e79 Compress all Pokemon sprites 2024-04-11 14:08:52 -04:00
Flashfyre eff64db70e Use bitmap text for modifier text for optimization 2024-04-09 13:59:46 -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
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
Madmadness65 63b81fa0f5 Add missing shiny Gmax Inteleon icon 2024-04-06 09:12:57 -05:00
Flashfyre 5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre 5fd50eae40 Add missing Shiny Gallade sprite 2024-04-04 22:56:37 -04:00
Flashfyre 8b84965d7a Remove revive tokens, nerf heal token, add endure token 2024-04-04 22:42:24 -04:00
Flashfyre 156a9ad4b5 Fix typo in electric monotype icon json 2024-04-04 15:26:26 -04:00
Flashfyre fcecad8707 Add monotype icons 2024-04-04 12:27:41 -04:00
Flashfyre 075db8ae0c Show icon when saving data 2024-04-04 10:16:29 -04:00
Flashfyre d86c1200f8 Add battle info type icons 2024-04-03 21:19:42 -04:00
Flashfyre 77cf3032cf Add title screen music by edifette 2024-04-03 14:33:23 -04:00
Flashfyre 0f7800dc94 Update Stellar icon 2024-04-03 12:59:23 -04:00
Madmadness65 b248209743 Add missing shiny Landorus-Incarnate icon 2024-04-02 21:38:25 -05: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 7b7185300c Update linking cord and rogue ball sprites 2024-04-02 12:36:14 -04:00
Flashfyre f8606565af Fix Beedrill's cry using Kakuna's 2024-04-02 10:56:17 -04:00
Flashfyre e985b34eed Add recolor for Stun Spore battle animation 2024-04-01 21:58:51 -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
Flashfyre 72dc263552 Implement variation of loading screen by @rationality6 2024-04-01 19:56:46 -04:00
Flashfyre 886700f3b2 Revert extension of evolution background 2024-04-01 16:09:03 -04:00
Flashfyre dcbe9b5871 Update prompt and Tera icons for new UI 2024-04-01 12:52:58 -04:00
Flashfyre d442770de6 Add themed namebox 2024-04-01 10:06:28 -04:00
Madmadness65 656550dd2d Improve visibility of new Pokérus cursor 2024-03-31 21:16:56 -05:00
Flashfyre 74f59d7c44 Fix legacy BG not treated as atlas 2024-03-31 21:48:32 -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 4773c1a2a5 Fix DLC Paradox Pokémon using regular sprites
They now properly have shiny sprites.
2024-03-31 19:41:14 -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 7ddd834786 Replace trainer graphic for Korrina 2024-03-31 09:51:47 -05:00
Flashfyre 4e911a9be9 Fix TM item icons using memories 2024-03-30 20:40:48 -04:00
Madmadness65 b198bedf62 Minor fix for broken Zygarde icon graphic
Just a simple typo.
2024-03-30 17:06:57 -05:00
Flashfyre b9b07e00b9 Fix snow worker trainer causing crash 2024-03-30 16:37:09 -04:00
Flashfyre 9455330329 Add female worker variant 2024-03-30 15:46:00 -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
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 1a0c470173 Add hardware acceleration notice in initial tutorial 2024-03-27 22:40:10 -04:00
Flashfyre 97bc8ae9e6 Add Meltan icon updates from lj_birdman 2024-03-27 12:08:51 -04:00
Flashfyre 0a0e3fe0df Fix Dachsbun back sprites 2024-03-25 16:33:49 -04:00
Flashfyre 1df2297824 Fix Fidough back sprites 2024-03-23 17:02:44 -04:00
Flashfyre 6db7ee3d0b Add weekly rankings and pagination 2024-03-23 16:26:18 -04:00
Flashfyre cf959c6e1b Add proper title screen and logo 2024-03-21 13:12:05 -04:00
Flashfyre 4fc92f22d9 Fix naming of doctor and nurse sprites 2024-03-21 01:03:37 -04:00
Flashfyre a76f795cd5 Trainer updates including names and double battle pairs
Add dynamic trainer pairs; add trainer names with Bulbapedia scraping logic; add Hex Maniac trainer; make namebox stretch to fit name
2024-03-21 00:57:28 -04:00
Flashfyre 921851c1b6 Add Leppa Berry 2024-03-19 23:18:48 -04:00
Flashfyre a05189120c Add power plant background 2024-03-17 16:47:49 -04:00
Flashfyre 81f9e2da36 Add WiP logic for daily run and fix some performance issues 2024-03-15 21:59:34 -04:00
Flashfyre c3791dfc81 Fix animated mega back sprite backgrounds 2024-03-14 17:35:22 -04:00
Flashfyre 4c5981c126 Update token logic, nerf revive tokens, and add Fusion Token 2024-03-11 00:16:24 -04:00
Madmadness65 9550016ebc Minor egg move update
Popplio got a well-deserved egg move nerf. Also added more token graphics and commented-out G-Max moves for later.
2024-03-10 21:55:18 -05:00
Flashfyre f98a866943 Fix Bellibolt sprite always showing as shiny 2024-03-08 20:30:30 -05:00
Flashfyre 7a2e00758e Replace .ogg with .m4a for iOS support 2024-03-07 14:54:25 -05:00
Madmadness65 20ad5e6a42 Add music tracks for Gen 1-5 Leaders & Champions
All added tracks are from B2W2, primarily the PWT versions.
2024-03-06 17:57:45 -06:00
Flashfyre 9ee254a18a Update spliced icon again 2024-03-05 21:36:42 -05:00
Flashfyre 8395a84b60 Update spliced icon 2024-03-05 20:36:01 -05:00
Flashfyre e2bfac8922 Add unique Rogue Ball sprites 2024-03-05 19:48:41 -05:00
Madmadness65 2374b770f2 Minor graphic fix
Gastrodon-West's shiny icon was just a copy of the regular one.
2024-03-04 09:22:58 -06:00
Flashfyre dbcd476da6 Add missing Gastrodon west form icon 2024-03-04 10:15:57 -05:00
Flashfyre c683f72aad Replace type gacha with rare egg move gacha 2024-03-03 21:30:11 -05:00
Madmadness65 5371c1eb22 Change evolution methods for Hisui Pokémon
Requiring being in the Ruins to evolve was deemed too restrictive, so most Hisuian forms now require dusk or night to evolve. This also means the normal forms require dawn or day to evolve now as well. Hisui Lilligant being the outlier, was given a new evolution item instead, the Relic Band.
2024-03-03 13:37:10 -06:00
Madmadness65 a5d80cfcee Fix Deoxys-Normal's sprites being misnamed 2024-03-03 09:08:59 -06:00
Flashfyre f48464d48d Minor refactoring 2024-02-29 20:08:58 -05:00
Flashfyre ffd785d534 Rebalance item weights and add Rogue tier 2024-02-28 23:13:05 -05:00
Flashfyre 143c38d0bd Minor fixes 2024-02-27 13:58:25 -05:00
Flashfyre 4f2b266e71 Add expressions for male rival 2024-02-25 19:09:24 -05:00
Madmadness65 e771da89b5 Implement Kyurem form changes
Since the DNA Splicers method to get Kyurem-Black and -White is so unreasonably hard, I gave an easier alternative to get them. The Splicers method will remain however, as it's still beneficial to transfer moves.
2024-02-25 17:49:31 -06:00
Flashfyre 80373e2dd1 Fix Flamigo animated sprite 2024-02-25 15:09:44 -05:00
Flashfyre 30220f3d4e Fix some bugged animated sprites 2024-02-25 14:48:33 -05:00
Flashfyre d72dd93212 Add experimental animated sprites 2024-02-24 21:16:19 -05:00
Flashfyre 9005e32883 Add character sprite system with female rival 2024-02-22 18:03:36 -05:00
Madmadness65 7ad099b243 Make Rookidee line more rare
Sorry, the bird was just too good to be that common. Also included is a touched up Tera icon sprite.
2024-02-21 23:25:25 -06:00
Madmadness65 b4ff755de9 Add various form changing items
This update makes Hoopa Unbound, Dawn Wings & Dusk Mane Necrozma, Crowned Zacian & Zamazenta, and Ice & Shadow Calyrex available to use.
2024-02-21 19:59:08 -06:00
Flashfyre 58ba0ec52d Add starter moves on starter select (WiP) 2024-02-20 22:53:33 -05:00
Flashfyre fe38e00e59 Add missing Palkia Origin icon 2024-02-20 11:39:13 -05:00
Madmadness65 02f86d41b2 Implement Ogerpon's masks
Ogerpon's unique Terastallization forms are still not yet available, and Ivy Cudgel still does not change type to match Ogerpon's form.
2024-02-19 18:37:28 -06:00
Madmadness65 22054dddd5 Add Hau as a potential Champion
This fixes the Generation 7 Elite Four not having a corresponding Champion to go along with them.
2024-02-18 19:17:30 -06: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
Madmadness65 5ec199a428 Fix Paldean Wooper missing female variant sprites 2024-02-15 11:41:59 -06:00
Madmadness65 7e0bc08772 Minor form name fix 2024-02-15 00:50:04 -06:00
Flashfyre 94b9f8116d Implement new rival sprites 2024-02-14 22:21:03 -05:00
Madmadness65 bb7edd9ced Give Population Bomb a temporary animation
Uses Barrage's animation for now.
2024-02-14 15:03:09 -06:00
Madmadness65 2da283c600
First draft of usable G-Max forms (#14)
* First draft of usable G-Max forms

They are not fully usable yet, and still needs more work to reach that point.

* Fix Gigantamax on Pokémon with forms

Co-Authored-By: Samuel H <3542488+Flashfyre@users.noreply.github.com>

---------

Co-authored-by: Samuel H <3542488+Flashfyre@users.noreply.github.com>
2024-02-14 00:21:44 -05:00
Flashfyre e72ede26d8 Implement catch count based starter value decreases 2024-02-12 16:38:46 -05:00
Madmadness65 a8d3ccf620 Separate Eternal Floette and Bloodmoon Ursaluna
This makes Eternal Flower Floette and Bloodmoon Ursaluna functionally unique Pokémon now, allowing them to be properly obtained and used as starters.
2024-02-11 14:22:13 -06:00
Madmadness65 69860d3dd8 Fix Poltchageist line's graphics breaking
The forms added for Poltchageist and Sinistcha in the previous commit required their graphics be renamed. I overlooked that at first, whoops.
2024-02-09 12:50:13 -06:00
Madmadness65 4935e3f606 Add non-stone evolution items
Replaces many of the non-standard (and frankly obscure) evolution methods with their intended evolution items.
Additionally, altered some time-based friendship evolutions to be more lenient.
2024-02-09 12:18:40 -06:00
Madmadness65 0fe4d02b87 Implement a few moves
Fully implements Anchor Shot, Clangorous Soul, Coaching, Thunder Cage, Dragon Energy, Infernal Parade, and Mortal Spin.
Partially implements Baneful Bunker, Tar Shot, Aura Wheel, and Syrup Bomb.
Trapping moves also updated to deal 1/8th damage and lasts for 4-5 turns.
2024-02-08 17:01:11 -06:00
Flashfyre e62bb6e225 Add female trainer and male rival 2024-02-06 16:15:35 -05:00
Madmadness65 6cff22a9fc Implement generation 9 Pokémon & trainers
Generation 9 Pokémon sprites provided by the Generation 9 Resource Pack on Relic Castle, custom trainer sprites provided by Smogon.
2024-02-05 22:46:45 -06:00
Flashfyre b12e7106ed Add new player and rival sprites and trainer titles 2024-02-05 23:05:56 -05:00