Commit Graph

5149 Commits

Author SHA1 Message Date
Wlowscha
2141a01296
Merge branch 'beta' into party-ui-handler-refactor 2025-05-15 23:31:53 +02:00
Wlowscha
c75d406bcf
Cleaned up some TODOs 2025-05-15 23:22:30 +02:00
Wlowscha
33c21a0b0d
Removed some redundant playSelect 2025-05-15 23:14:45 +02:00
Wlowscha
9addf5cd0a
Breaking up processInput() 2025-05-15 23:13:18 +02:00
Wlowscha
85b92bffed
Splitting up processing of transfer and move recall mode; ensuring that the cancel option works properly 2025-05-15 22:57:30 +02:00
Wlowscha
f876dcf76d
Fixed options not clearing after item transfer 2025-05-15 22:27:53 +02:00
Wlowscha
3e9beb3ec5
Updating TODO 2025-05-15 22:11:39 +02:00
Wlowscha
82dfe01576
Changed condition on switch for clarity 2025-05-15 00:41:12 +02:00
Wlowscha
9425a877d7
Clearing options when switching out 2025-05-15 00:25:58 +02:00
Wlowscha
09a345d5a7
Fixed case of switching out by selecting the Pokemon command 2025-05-15 00:08:49 +02:00
Wlowscha
5ad2bd237d
Fixed Baton Pass; logging for testing 2025-05-14 23:57:34 +02:00
Wlowscha
5f64eec5ec
Reorganizing option processing 2025-05-14 23:01:41 +02:00
Wlowscha
b46d890689
Added some TODOs 2025-05-14 09:38:25 +02:00
Wlowscha
ee4cb23c44
Changing options so that each case is completely separate (almost) 2025-05-14 09:30:59 +02:00
Wlowscha
eba75dbfa3
Extracted updateOptionsWindow() 2025-05-13 23:26:54 +02:00
Wlowscha
562eb1d334
Extracted setOptionsCursor function 2025-05-13 22:39:07 +02:00
Wlowscha
e4a550550e
Added some TODOs for later 2025-05-13 22:27:13 +02:00
Wlowscha
e8de3054fe
Splitting up options for when selectCallback is present 2025-05-13 22:21:31 +02:00
Wlowscha
b3e6c20a35
Moving edge case for release option into processReleaseOption 2025-05-13 22:13:49 +02:00
Wlowscha
b58b633b6f
Inverting order of several conditional checks (if the function always returns after seeing the summary option, may as well check for it straight away...) 2025-05-13 22:11:48 +02:00
damocleas
02cac77853
Hotfix 1.9.3 to Beta
Hotfix 1.9.3 to beta
2025-05-12 21:16:32 -04:00
NightKev
30ba53894e [i18n] Update locales 2025-05-12 17:58:28 -07:00
Wlowscha
3ab516c0ae
Extracting filterResult logic from processInput 2025-05-13 00:17:26 +02:00
Wlowscha
500f25abdb
Breaking up processOptionMenuInput 2025-05-12 23:38:57 +02:00
Wlowscha
1e342a5d58
Making logic for return button more expressive 2025-05-12 22:55:44 +02:00
Wlowscha
c16f39b063
Splitting process input for menu into its own function 2025-05-12 22:52:28 +02:00
Sirz Benjie
9b1a222935
[Bug] Fix old session load modifier crash (#5814)
Fix inability to load saves due to modifier type being nulled
2025-05-12 22:33:52 +02:00
Dean
d790b30a30
[Bug][Hotfix] Fix Transformed Sprites not loading properly (#5808)
* Fix ditto sprite not loading properly

* Remove review comment
2025-05-11 18:23:37 -07:00
Sirz Benjie
6c6821b47d
[Bug] [Move] Fix KO causing effects to occur twice (#5811)
* Fix firstTarget calculation when a target was fainted

* Update type annotation in applyMoveEffects

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-05-11 21:10:19 -04:00
damocleas
e7f0ea624b
[Bug][Move] Fix move effects not applying with multi-lens 2025-05-11 20:56:00 -04:00
Sirz Benjie
09e38bad39
Set lastHit to true when target faints during multi-hit move 2025-05-10 19:05:18 -05:00
Dean
0712f86462
[Bug][Hotfix] Fix crashes when loading save with a transformed pokemon (#5806)
* Fix speciesForm being saved incorrectly

* Fix transformed icon

* Fix moveset loading errors
2025-05-09 01:34:28 -07:00
NightKev
b183f26330 Update version to 1.9.3 2025-05-09 00:16:06 -07:00
damocleas
718c8cfbb9
Hotfix 1.9.2 to Beta
Hotfix 1.9.2 to Beta
2025-05-08 01:04:31 -04:00
damocleas
efebb9c9cf
Hotfix 1.9.2 to Main
Hotfix 1.9.2 to Main
2025-05-08 01:00:56 -04:00
Dean
5a58abfddf
[Bug][Hotfix] Suppress Illusion if NG is already active (#5797)
* Suppress preSummon attrs off field

* Add test case
2025-05-07 21:04:24 -07:00
Jimmybald1
530b2b8a00
[Bug] Fix seed not being reset in Select Biome Phase (#5794)
Fix seed not being reset now that Select Biome Phase goes before New Battle

Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-05-07 21:03:22 -07:00
NightKev
cf1367cece
[Bug] PokemonSummonData movesets will now be loaded correctly (#5793) 2025-05-07 21:02:16 -07:00
NightKev
fa6c51d1e2
[Bug] Prevent some corrupt eggs from crashing the game (#5787)
If an egg is somehow a species that doesn't have an associated egg tier
(such as Pikachu), `Egg#getEggTier` now falls back to `EggTier.COMMON`
2025-05-07 21:01:54 -07:00
lxy-lxy-lxy
5ba294ffee
[Bug] Lock Capsule not locking rarities consistently (#5786) 2025-05-07 08:05:32 -07:00
NightKev
4aa0eac5aa Update version to 1.9.2 2025-05-06 04:33:10 -07:00
damocleas
f11e65f550
Hotfixes 1.9.1 to Beta
* Update version to 1.9.1

* [Tiny] Removed unused loc in `v1_9_0.ts` (#5760)

* Add missing zh-CN Spring Banner

* [Hotfix] Fix evil grunts using wrong template (#5763)

* [Bug][Hotfix] Secondary effects no longer trigger status immunity messages (#5764)

Fix secondary effects triggering status immunity messages

* Add files via upload

* [Bug][Hotfix] Always show hit result message (#5769)

Always show hit result

* [Bug] Fix local save encoding crash and Psychic anim (#5775)

* fix error: utf8 to base64

* fix error: space missed

* [Sprite] Fix Clauncher consistent variants, floating Jangmo-o (#5777)

Fix Clauncher consistent variants, flying Jangmo-o

* [Bug] Fix shiny save bug (#5780)

Correctly determine shininess and variant during saving

* [Bug][UI/UX] Ensure pokemon hop when animations are selected (#5781)

Ensure pokemon hop when animations are selected

* [Hotfix] Remove Charcadet line from exp variant masterlist (#5782)

* Remove Charcadet line from exp variant masterlist

* Remove line's backsprite from masterlist

* [Bug][UI/UX] Update battle-info inside pokemon#damageAndUpdate (#5778)

* Update battle-info inside pokemon#damageAndUpdate

* Ensure updatePokemonHp does not skip last hp number

* [Test] Fix sprite test due to unused files (#5783)

Fix sprite test due to unused files

* [Bug] Ensure shiny and variant status respects illusion properly (#5784)

Ensure shiny and variant status respects illusion properly

* Update locales

* [Bug] Fix some moves using illusion type instead of real type (#5772)

* fix revelation dance using the type of the illusion instead of the actual type

* fix other move that might get the illusion type as well

* fix other move that might get the illusion type as well

* fix abilities that might get the illusion type as well

* fix illusion icon in party ui handler

* Fix TSDoc for `Pokemon#getTypes`

* Remove now-unnecessary changes to `.getTypes()` calls

Revert `overrides.ts` changes

* Replace `|| false` with `!!`

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: AJ Fontaine <36677462+Fontbane@users.noreply.github.com>
Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>
Co-authored-by: lxy-lxy-lxy <55084073+lxy-lxy-lxy@users.noreply.github.com>
Co-authored-by: Xavion3 <xavion333@gmail.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: Lylian BALL <131535108+PyGaVS@users.noreply.github.com>
2025-05-05 22:39:52 -04:00
damocleas
3ba1ed3fb4
Hotfixes 1.9.1 to Main
Hotfix 1.9.1 -> main
2025-05-05 22:37:53 -04:00
Lylian BALL
4f541a8dce
[Bug] Fix some moves using illusion type instead of real type (#5772)
* fix revelation dance using the type of the illusion instead of the actual type

* fix other move that might get the illusion type as well

* fix other move that might get the illusion type as well

* fix abilities that might get the illusion type as well

* fix illusion icon in party ui handler

* Fix TSDoc for `Pokemon#getTypes`

* Remove now-unnecessary changes to `.getTypes()` calls

Revert `overrides.ts` changes

* Replace `|| false` with `!!`

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-05-05 18:31:11 -07:00
Sirz Benjie
e677e2725e
Update locales 2025-05-05 19:52:13 -05:00
Sirz Benjie
4203513db2
[Bug] Ensure shiny and variant status respects illusion properly (#5784)
Ensure shiny and variant status respects illusion properly
2025-05-05 19:49:59 -05:00
AJ Fontaine
b42b2f6752
[Test] Fix sprite test due to unused files (#5783)
Fix sprite test due to unused files
2025-05-05 20:38:49 -04:00
Sirz Benjie
3161461b6c
[Bug][UI/UX] Update battle-info inside pokemon#damageAndUpdate (#5778)
* Update battle-info inside pokemon#damageAndUpdate

* Ensure updatePokemonHp does not skip last hp number
2025-05-05 18:35:51 -04:00
AJ Fontaine
92f1cfdd50
[Hotfix] Remove Charcadet line from exp variant masterlist (#5782)
* Remove Charcadet line from exp variant masterlist

* Remove line's backsprite from masterlist
2025-05-05 18:34:17 -04:00
Sirz Benjie
ae25a70b4d
[Bug][UI/UX] Ensure pokemon hop when animations are selected (#5781)
Ensure pokemon hop when animations are selected
2025-05-05 17:36:22 -04:00