Commit Graph

4153 Commits

Author SHA1 Message Date
Lugiad 1f65d171f5
Merge branch 'beta' into mystery-encounters-translations 2024-09-12 12:25:48 +02:00
cam 2f0a53ba46
[Sprite] Added default head spots to spinda (#4188)
Spritesheets front & front shiny
2024-09-12 00:49:18 -04:00
AJ Fontaine 0af59bbb14
[Refactor] Fix linter issue (#4191) 2024-09-12 00:13:57 -04:00
Adrián T. 7ed7fec808
[BUG][UI/UX] Correction of errors when ``` Save & Quit``` and ``` Log out``` (#3105)
* Fixes confirmation issues in SAVE_AND_QUIT and LOG_OUT

* Added LOADING mode to prevent spamming from SAVE_AND_QUIT and LOG_OUT buttons, and added option to set black background for LOADING mode

* Fixed conditional statement to ensure robustness in live environments to avoid potential issues in production

* Good overlay position
2024-09-11 23:12:20 -04:00
Lugiad 6726b1ce69
Merge branch 'beta' into mystery-encounters-translations 2024-09-12 04:47:04 +02:00
schmidtc1 28012b8d85
[Bug] Fixes Freezy Frost visual bug when attacking ally, and Freezy Frost not applying effects when fainting a target (#3753)
* Resolves bugs with freezy frost vs ally, and freezy frost fainting opp

* Adjusts unit tests, adds one more for doubles

* Refactor apply function to follow the async/await pattern

* Eslint fix attempt

* Update freezy_frost.test.ts

Remove js file extension
2024-09-11 22:20:24 -04:00
Madmadness65 6decd918e5
[Enhancement] Implement Tera-based form changes (Ogerpon and Terapagos) (#4147)
* Add Tera-based form changes

* Make teraType property private
2024-09-11 21:47:41 -04:00
Lylian BALL 8195373824
[Move] Add Retaliate double damage condition (#1831)
* Add retaliate double damage condition

* undo override changes

* add death history and bug fix where retaliate didn't work after 10 turns

* delete the unnecassary log

* optimization

* made some corrections

* add retaliate test as draft

* add retaliate test

* Update src/test/moves/retaliate.test.ts (delete log)

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

* remove submodule

* Update src/test/moves/retaliate.test.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* update retaliate test

* Update src/test/moves/retaliate.test.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* update unit test

* remove wide lens for retaliate test

* Update src/test/moves/retaliate.test.ts

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

* Update src/battle.ts

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

* Update src/test/moves/retaliate.test.ts

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

* Update src/test/moves/retaliate.test.ts

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

* optimization

* Fix indentation

* Use default values

* Add parentheses for clarity

* Update src/battle.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* Update src/battle.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* Update src/data/move.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* Update src/phases/faint-phase.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* Update src/phases/faint-phase.ts

Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>

* bug on import

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-11 21:31:57 -04:00
NightKev 91d266ea74
[Bug] Burning Bulwark, King's Shield, Obstruct and Silk Trap no longer protect against status moves. (#4106)
* Obstruct et al no longer protect against status moves

* Remove `.js` from import

Co-authored-by: ImperialSympathizer <110984302+ben-lear@users.noreply.github.com>

* Add tsdocs for new/modified classes

* List relevant moves in tsdocs

---------

Co-authored-by: ImperialSympathizer <110984302+ben-lear@users.noreply.github.com>
2024-09-11 21:31:38 -04:00
Lugiad 382bc49505
Update bug-type-superfan-dialogue.json 2024-09-12 03:23:47 +02:00
NightKev 951b568590
[Documentation] Add some tsdocs to `move.ts`, mark rollout and iceball (P) (#4099)
* Add some tsdocs to `move.ts`, some misc cleanup

* Mark Rollout and Ice Ball as partial
2024-09-11 21:05:43 -04:00
flx-sta 18dc1029b7
[Misc] Update issue/feature template (#4148)
* simplify bug-report form. Add `Triage` label to bug & feature form

* Add repro textfield to bug form

* Fix typo

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-11 21:01:16 -04:00
Mumble f294f034aa
[Bug] Run History displays Pokemon that have their natures changed during the run (#4149)
* Nature mints... spaghetti...

* Update src/ui/run-info-ui-handler.ts

Co-authored-by: MokaStitcher <54149968+MokaStitcher@users.noreply.github.com>

* No effect when no items

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: MokaStitcher <54149968+MokaStitcher@users.noreply.github.com>
2024-09-11 21:00:26 -04:00
NightKev fec218b747
[Refactor] `setTypeIcons` explicitly handles `null`, mark it as such (#4155) 2024-09-11 20:59:57 -04:00
NightKev d4cd74c8b7
[P2 Bug] Baddy Bad shouldn't activate Reflect if the target uses Protect, make gravity and water/mud sport ignore protect(#4180) 2024-09-11 20:58:21 -04:00
Amani H. a6d5fc66f2
[Balance] Disable Eviolite for G-Max Pokémon (#4184)
* [Balance] Disable Eviolite for G-Max Pokémon

* Add Documentation
2024-09-11 20:56:58 -04:00
Lugiad f37809d1b8
Merge branch 'beta' into mystery-encounters-translations 2024-09-12 02:07:24 +02:00
Lugiad c712447c82
Update src/locales/ko/trainer-names.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 02:07:14 +02:00
Lugiad c157852e65
Update src/locales/ko/trainer-titles.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 02:07:07 +02:00
chaosgrimmon 50a7500561
[Sprite] Fix animated Cursola (#4186)
* [Sprite] Index Cursola exp

* [Sprite] Index shiny Cursola exp

* [Sprite] Update exp Cursola variant palette
2024-09-11 19:46:38 -04:00
Lugiad c75c634566
Update src/locales/ko/party-ui-handler.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 01:43:31 +02:00
Lugiad 40aa51fb09
Update src/locales/ko/mystery-encounter-messages.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 01:43:23 +02:00
Lugiad fbf1ef512d
Update src/locales/ko/battle.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 01:43:13 +02:00
Lugiad e551e3706c
Update src/locales/ko/battle.json
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-09-12 01:43:01 +02:00
Lugiad 8ba922b8c8
Update berries-abound-dialogue.json 2024-09-12 01:42:29 +02:00
Lugiad 335d69dc3c
Update an-offer-you-cant-refuse-dialogue.json 2024-09-12 01:22:22 +02:00
Lugiad 3f04afaef6
Update a-trainers-test-dialogue.json 2024-09-12 01:16:12 +02:00
Lugiad f6002a3769
Update a-trainers-test-dialogue.json 2024-09-12 00:46:05 +02:00
Lugiad de5aedd6f3
Update a-trainers-test-dialogue.json 2024-09-12 00:45:48 +02:00
Lugiad 2bfd5a33c2
Update an-offer-you-cant-refuse-dialogue.json 2024-09-12 00:43:09 +02:00
Lugiad c3eafecb24
Update absolute-avarice-dialogue.json 2024-09-12 00:38:44 +02:00
Lugiad b884d84708
Update mystery-encounter-messages.json 2024-09-12 00:06:16 +02:00
Lugiad 84759eb057
Update modifier-type.json 2024-09-12 00:00:33 +02:00
Lugiad 6ee879ba51
Update trainer-titles.json 2024-09-11 23:33:14 +02:00
Lugiad 577e9afb7a
Update trainer-names.json 2024-09-11 23:31:57 +02:00
Lugiad 98bbc9f8d2
Update egg.json 2024-09-11 23:24:16 +02:00
Lugiad 5deff64634
Update bgm-name.json 2024-09-11 23:19:03 +02:00
Lugiad 0f1acf1dc5
Update battle.json 2024-09-11 23:17:40 +02:00
Lugiad 40773e730d
Update config.ts 2024-09-11 23:08:31 +02:00
Lugiad adb812ecf2
Update config.ts 2024-09-11 23:07:04 +02:00
Lugiad cad3e7261b
Merge branch 'beta' into mystery-encounters-translations 2024-09-11 23:04:27 +02:00
Lugiad 023d0f00fa
Update battle.json 2024-09-11 23:03:56 +02:00
Lugiad 96297618a4
Update bgm-name.json 2024-09-11 23:02:43 +02:00
Lugiad a73a56084c
Update config.ts 2024-09-11 23:02:12 +02:00
Lugiad e2e2f19e2c
Update dialogue.json 2024-09-11 23:00:48 +02:00
Lugiad 22b662fdcc
Update egg.json 2024-09-11 23:00:22 +02:00
Lugiad 97b1cd28d4
Update modifier-type.json 2024-09-11 23:00:04 +02:00
Lugiad baf2f8be7f
Update party-ui-handler.json 2024-09-11 22:59:29 +02:00
Lugiad 25b0e433c1
Update trainer-names.json 2024-09-11 22:59:00 +02:00
Lugiad 88e6773bf5
Update trainer-titles.json 2024-09-11 22:58:47 +02:00