50 Commits

Author SHA1 Message Date
Greenlamp2
e2be6ba002
added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05: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
Flashfyre
7032f383ea Fix battle sprite losing shininess in battle animations 2024-04-25 01:49:06 -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
bd80281859 Fix various shiny checks for palettes 2024-04-19 11:11:19 -04:00
Flashfyre
eebe39e1fe Fix base forms showing as shiny 2024-04-18 23:10:18 -04:00
Flashfyre
c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04: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
prateau
c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
Flashfyre
b892a8b40e Add option to disable move animations 2024-04-09 15:06:47 -04:00
Flashfyre
aa421b5d10 Fix move animation defaults not working (fixes Tackle crash) 2024-04-04 09:45:25 -04:00
Flashfyre
6c59ed27ce Give more detailed error when move animation fails to load 2024-04-04 09:22:12 -04:00
Flashfyre
e9b94f47f0 Fix battle animation Pokemon sprites losing shadow 2024-03-26 17:45:43 -04:00
Flashfyre
a3cde2df59 Fix crash related to moves without battle animations 2024-03-23 15:29:22 -04:00
Flashfyre
7a2e00758e Replace .ogg with .m4a for iOS support 2024-03-07 14:54:25 -05:00
Flashfyre
f48464d48d Minor refactoring 2024-02-29 20:08:58 -05: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
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
40d2c200a4 Add form change animation and additional final boss changes 2024-01-13 20:15:55 -05:00
Flashfyre
052564f902 Update final boss fight and restructure some files 2024-01-13 12:24:24 -05:00
Flashfyre
5ef6f2da88 Add day/night cycle 2023-12-29 21:04:40 -05:00
Flashfyre
8ed7b77868 Add most gen 9 move animations 2023-12-21 20:58:00 -05:00
Madmadness65
625359fb39 Add Indigo Disk data
New Pokémon, moves, learnsets, TMs, and evolution data added in various states of completeness. Until graphics are made for the new Pokémon, they cannot be used yet.
2023-12-14 03:03:00 -06:00
Madmadness65
30b3b56570 Implement a few more moves
Fully implements Meteor Beam, partially implements Spiky Shield, Dragon Darts, Octolock, and Scale Shot.
2023-12-11 19:09:38 -06:00
Flashfyre
88bee27694 Implement Future Sight and Doom Desire 2023-12-04 00:09:38 -05:00
Flashfyre
b1b6a6f1c7 Fix Baton Pass crash 2023-12-02 16:31:10 -05:00
Flashfyre
e8b82d2d55 Soft implement gen 6-9 moves 2023-11-30 16:37:16 -05:00
Flashfyre
4d02432606 Add palette swaps for fusions 2023-11-23 23:52:13 -05:00
Flashfyre
9f17273d87 Add IV Scanner item 2023-11-12 12:49:06 -05:00
Flashfyre
e07339e3eb Add DNA splicers and Pokemon fusing 2023-11-04 00:32:12 -04:00
Flashfyre
ca4f9297a8 Implement switch moves 2023-10-31 14:09:33 -04:00
Flashfyre
e0a63a9ed6 Fix crash with playing battle animation for target not on field 2023-10-28 21:03:36 -04:00
Flashfyre
d135591b75 Fix crash when playing weather animation before a trainer battle 2023-10-24 08:34:52 -04:00
Flashfyre
e0065fca7c Fix issues with Pokemon sprites persisting after some moves 2023-10-22 10:13:03 -04:00
Flashfyre
96a15ccb0d Adjust game volume 2023-10-21 08:58:39 -04:00
Flashfyre
0cc87b4ba0 Add sprite shadows and update engine 2023-06-04 21:47:43 -04:00
Flashfyre
bf2eca2851 Add shader for sprite tone 2023-06-02 18:33:51 -04:00
Samuel H
b9f7ba173d
Implement Double Battles (#1)
* Add WiP logic for double battles

* Minor changes for double battles

* More fixes for double battles

* Show battle info for both in double battles

* Improvements to double battles

* Add double battle version of party UI

* Fix some issues with double battles

* Updates to double battles

* More work on double battles for stability

* Fix issues with ability bar and evolution screen

* Add chance for double battles
2023-05-18 11:11:06 -04:00
Flashfyre
bfc26970f0 Add move targets for proper animation target 2023-05-01 14:41:44 -04:00
Flashfyre
f9c895c0cd Fix charge animation targeting issue 2023-05-01 10:53:52 -04:00
Flashfyre
55ba3cd5e7 Add Xerneas, Yveltal, and Eternatus 2023-04-26 16:07:29 -04:00
Flashfyre
9056104bd1 Rework battle animation system 2023-04-25 19:24:59 -04:00
Flashfyre
3753ea73be Fix some bugs 2023-04-24 22:32:12 -04:00
Flashfyre
842e2707a1 Minor battle animation changes 2023-04-24 19:46:02 -04:00
Flashfyre
4a595db3ef Fix some issues with battle animations 2023-04-24 17:26:08 -04:00
Flashfyre
2ac0a3645f Add switch out preventing to traps 2023-04-22 22:14:53 -04:00
Flashfyre
edce08b35c Adjust enemy modifier rate 2023-04-20 22:26:38 -04:00
Flashfyre
50b264ad77 Add recharging move logic 2023-04-20 21:32:48 -04:00
Flashfyre
3546f3b5a7 Refactor source files and add berries 2023-04-20 15:46:05 -04:00