Benjamin Odom
5d6181926a
Removed Hardcoded Values
...
Realized there was an enum for the -1 value which should help clear up confusion if someone has to mess with this code later
2024-05-03 23:26:56 -04:00
Tempoanon
5b44905b86
Fix Shedinja passive, mummy passive, acupressure, moody, and added a second move override ( #369 )
2024-05-04 12:30:23 +10:00
Benjamin Odom
e02b85629f
Fix Enemy Counter Moves
...
The AI couldn't decide who to target with CounterDamageAttr moves which don't need a target. This change makes an exception. Now functions the same as when the player selects one of these moves.
2024-05-03 21:00:56 -04:00
Xavion3
c7c4deb416
Implement Sniper
2024-05-03 12:05:20 -04:00
Benjamin Odom
b84a4b4ee5
Fix Shedinja PPused Share
...
Fixed having Shedinja share PP usage with the Ninjask it evolved from and vice versa.
The solution was to make a deep copy of each move in the moveset array rather than copying the array itself.
2024-05-03 08:33:33 -04:00
Flashfyre
b30ab6136e
Starter friendship for candies is split between spliced species
2024-05-02 21:55:11 -04:00
Benjamin Odom
fec8771830
Fix Shedinja Luck and Crash
...
Shedinja wasn't taking the luck value from Ninjask so when it calculated its luck it just took the entire fused Pokemon's luck somehow. This has been fixed so it takes both the first and second part of the fusion's luck values instead.
Also fixes an issue where Shedinja crashed the game if it was the second part of a fusion combo. Now the correct pokemon species gets checked against and the correct pokemon evolution occurs to create Shedinja.
2024-05-02 17:55:45 -04:00
Flashfyre
991f097e9e
Rebalance friendship and add starter friendship with candy reward
2024-05-02 17:48:08 -04:00
Benjamin Odom
9d8f7ddcf0
Implement Tailwind ( #398 )
...
Added a new ArenaTagType for Tailwind. Lasts 4 turns including the turn used.
2024-05-02 14:10:21 -05:00
Flashfyre
6ac224ab8a
Refactor to split battle messages from menu
2024-05-01 18:54:35 -04:00
TeKrop
e34b204664
feat: added support for localisation on battle scene sentences
2024-05-01 18:54:35 -04:00
Flashfyre
7a418109c3
Fix not checking move conditions for AI
2024-05-01 18:17:12 -04:00
Xavion3
5a6ea40dae
Implement Acrobatics
...
Currently scales from 0-5 items
2024-05-01 17:11:16 -04:00
Xavion3
d6ca09e431
Implement Belch
2024-05-01 16:52:48 -04:00
Flashfyre
93765d4121
Update battle info on stat change
2024-04-30 23:23:32 -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
NxKarim
8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) ( #353 )
...
* Some Fixes
- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.
- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.
- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.
- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.
* Formatting changes for consistency
---------
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -04:00
Xavion3
ad5efdf4f9
Refactor overrides
2024-04-30 09:12:19 -04:00
Flashfyre
9641d77bba
Re-add shiny override EXCEPT FALSE THIS TIME
2024-04-28 22:03:29 -04:00
Flashfyre
57ece2c1d7
Revert "Add shiny and variant debug override"
...
This reverts commit 21482a641b
.
2024-04-28 20:41:38 -04:00
Flashfyre
0b438d0ff4
Revert "Add temporary double wild shiny chance"
...
This reverts commit 4607782578
.
2024-04-28 20:30:12 -04:00
Flashfyre
21482a641b
Add shiny and variant debug override
2024-04-28 20:30:03 -04:00
Flashfyre
00150fd0bb
Fix using wrong variant value when fusing
2024-04-26 20:11:37 -04:00
Flashfyre
4607782578
Add temporary double wild shiny chance
2024-04-26 19:57:38 -04:00
Flashfyre
f281605146
Fix wild shiny luck generation
2024-04-26 19:36:27 -04:00
Flashfyre
6b9542511f
Add fusion luck as a separate field
2024-04-26 18:27:00 -04:00
Flashfyre
bf2a83993c
Make luck independent from shininess and variant
2024-04-26 17:32:28 -04:00
Flashfyre
5e7356636e
Update shiny luck mechanics and count both fusion components
2024-04-26 11:31:39 -04:00
Xavion3
46227d65f2
Fix mind blown/explosion moves
2024-04-26 08:33:29 -04:00
Flashfyre
ef552c7ffd
Fix crash with certain animated variant sprites
2024-04-26 02:00:58 -04:00
InfernoVulpix
d4c265443f
Assurance effect implementation
...
Theoretically implemented for all use cases but only tested for regular damage so far.
2024-04-25 23:03:00 -04:00
AJ Fontaine
9f3bef0142
Implemented explosive moves and Damp ( #290 )
...
* Implemented explosives
* Add Aftermath and Magic Guard interactions
* Adjust AI score for Mind Blown/Steel Beam
2024-04-25 21:42:41 -04:00
Flashfyre
728512cf7d
Fix Baton Pass not working
2024-04-25 20:52:52 -04:00
Flashfyre
ba71d2750b
Load files from manifest for caching
2024-04-23 22:00:23 -04:00
Xavion3
049fa306b9
Add dynamax buffs
2024-04-23 12:02:09 -04:00
Flashfyre
4950dd0e73
Fix shiny variant back sprite color mapping not working
2024-04-22 00:31:33 -04:00
Flashfyre
4fc194295b
Remove event shiny bonus
2024-04-21 19:58:55 -04:00
Xavion3
c3eaa0506f
Make it so you can't freeze in sun
2024-04-21 00:41:33 -04:00
Flashfyre
9b03d6f8d3
Fix crash related to fusion sprites
2024-04-20 16:08:33 -04:00
Flashfyre
f0ac060466
Add temporary shiny rate increase for event
2024-04-19 19:49:58 -04:00
Xavion3
9dfd5a1e6e
Implement Soak, Forest's Curse, and Trick-or-Treat
...
Updates the UI and type effectiveness to support three types, and makes old moves that change types update the UI.
2024-04-19 13:47:40 -04:00
Temps Ray
e94b17bbf5
Implement getAttackTypeEffectiveness check
2024-04-19 13:11:41 -04:00
Flashfyre
bd80281859
Fix various shiny checks for palettes
2024-04-19 11:11:19 -04:00
Flashfyre
7ed8dba46a
Fix undefined variant for existing shinies in runs
2024-04-19 01:44:51 -04:00
Flashfyre
6220165315
Fix issue with undefined variant
2024-04-19 01:25:19 -04:00
Flashfyre
3f9e7b4839
Working fix to shiny crash issue
2024-04-19 00:58:59 -04:00
Flashfyre
c76f8c5e7e
Add tiered shiny variants
2024-04-18 22:52:26 -04:00
Xavion3
0b4963aefc
Block form changing abilities while fused
2024-04-18 18:56:50 -04:00