30 Commits

Author SHA1 Message Date
Greenlamp2
c1a7df913a
refactor executed code while importing and initializing all of these in loading-scene (#1125) 2024-05-24 13:46:30 -04:00
Greenlamp2
bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224)
* eslint config + packages

* updated eslint config

* fix the issue eslint adding ;;;; at interfaces

* first round with eslint --fix .

* removed config for unused export

* Revert "first round with eslint --fix ."

This reverts commit 77a88e0895f7c3389cb223651b90d918af778fe9.

* removed config for camelCase

* for real this time, first round of eslint --fix .

* halfway to manual eslint fix

* eslint done

* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)

* removed eslintrc config file duplicat

* fix human error + ignore build folder + merge overrides

* added curly brace style + eslint

* applied double quote linter rule

* added lefthook

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* github action to run eslint

* added node_modules to ignore eslint

* different action for typescript

* no need for different glob (default src)

* node 20

* node 20

* removed no longer needed install file

* remove hooks part from README

* eslint fixes

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
Madmadness65
fff2eda127 Add additional form change entries for Terapagos
It still can't switch from it's Terastal form to Stellar form yet, but this is in preparation for it.
2024-05-16 00:26:27 -05:00
Madmadness65
1792b98608 Implement Genesect's forms & Techno Blast
Genesect's Drive forms does not change it's typing, only Techno Blast's type.
2024-05-04 19:45:07 -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
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
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
Xavion3
6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -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
31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre
9a9f093f5c Aegislash reverts to shield mode when returned 2024-04-05 21:18:23 -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
53c0d501cc Fix Giratina Origin form change not working 2024-04-02 10:12:21 -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
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
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
Flashfyre
f48464d48d Minor refactoring 2024-02-29 20:08:58 -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
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
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
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
052564f902 Update final boss fight and restructure some files 2024-01-13 12:24:24 -05:00
Flashfyre
53097dfa6d Fix Keldeo's form condition using wrong move 2024-01-09 23:48:23 -05:00
Flashfyre
6084d3aaa6 Add form change system 2024-01-09 23:34:43 -05:00