Commit Graph

3637 Commits

Author SHA1 Message Date
Alex Van Liew c47c82e634 fix onNextPhase callback 2024-08-20 19:13:14 -07:00
Alex Van Liew e80f158691 fix imports 2024-08-20 16:00:34 -07:00
Alex Van Liew 6faaa9edaa Merge branch 'beta' into pursuit-impl 2024-08-20 15:56:54 -07:00
Alex Van Liew 772a6fc079 command order test 2024-08-20 15:50:16 -07:00
NightKev 6defc8c8f9
Fix Rollout test (#3660) 2024-08-21 08:28:10 +10:00
innerthunder 3a9d24c49a
[Bug] Fix Jaw Lock leaving the user trapped after the target faints (#3450)
* Fix Jaw Lock not removing TRAPPED tag after enemy faints

* Create tests for Jaw Lock

* Fix overrides import

* Clean up implementation + tests

* minor style change to phases

* Update src/data/move.ts

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>

* Jaw Lock no longer overlaps its trapping effect

* Friendship ended with JAW_LOCK tag type

Now TRAPPED is my new best friend

---------

Co-authored-by: EmberCM <kooly213@hotmail.com>
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
2024-08-20 18:44:37 +01:00
Frederico Santos c846f552bb
Merge pull request #3659 from pagefaultgames/main
[Localization] Portuguese hotfix of dialogue.ts and more (#3658)
2024-08-20 06:07:31 +01:00
José Ricardo Fleury Oliveira 7946382817
[Localization] Portuguese hotfix of dialogue.ts and more (#3658)
* [Localization] Portuguese hotfix of dialogue.ts and more

* menu fixes

* fix wrong message key of curse
2024-08-20 06:06:49 +01:00
damocleas e39ebb68f2
[Balance] Dark Void 80% Accurate (#1836)
* Dark Void 80% Accurate

* updated comment
2024-08-20 05:59:23 +01:00
Frederico Santos ae2ab120dc
Deleted phases.ts (#3618) 2024-08-19 03:23:52 +01:00
Frederico Santos 550974d5c3
Merge pull request #3636 from pagefaultgames/main
Main -> Beta sync
2024-08-19 02:22:40 +01:00
NightKev 098811c006
Main -> Beta (#3635)
* Fixed issue with falsy issue within condition to get a stat for IV scanner

* add fix setting code to prevent form/variant bug when default form/variant setting is wrong.
in addition, that fix code include gender fix, so i revert old gender fix.
update wrong log message.

* [Hotfix] Fix Memory Mushroom not showing relearner moves (#3619)

* Fix Memory Mushroom not showing relearner moves

* Fix rollout test

* Rewrite player faint logic in FaintPhase (#3614)

* 867 runerigus sprite (#3629)

cropped static frames, fixed cropped sprite
set runerigus exp to use the shiny exp's animation
verified all hex colors are unchanged

- fixed ultra necrozma exp front variant swapped arrays.
- xatu female eye color fix

* [Bug] Preventing the MBH from being stolen in Endless (#3630)

* Endless MBH Fix

* add import

* Revert "add import"

This reverts commit 814a4059c2.

* Revert "Endless MBH Fix"

This reverts commit 8eb4481301.

* removed newline

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
Co-authored-by: frutescens <info@laptop>

* [Bug] Fix type-hints for immunity (#3620)

* enable mock containers to be found by name

* enable mock text to be found by name

* add test coverage for type-hints

Only for "immunity" and "status moves"

* fix wrong message key of curse(ghost type) (#3631)

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>

* [Hotfix] Steal-able Mini Black Hole Pt 2  (#3632)

* Still have no idea where Eternatus is given the MBH....

* typedocs

---------

Co-authored-by: frutescens <info@laptop>

* [Hotfix] Abilities that prevent ATK drops no longer stop other stat drops (#3624)

* Abilities that prevent ATK drops no longer stop other stat drops

* Apply suggestions from code review

Co-authored-by: Mumble <kimjoanne@protonmail.com>

* Add `isNullOrUndefined()` utility function

---------

* Grip Claw now shows the proper pokemon nickname (#3634)

Co-authored-by: frutescens <info@laptop>

---------

Co-authored-by: Opaque02 <66582645+Opaque02@users.noreply.github.com>
Co-authored-by: KimJeongSun <leo@atlaslabs.ai>
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
Co-authored-by: cam <lrlrliwoo@gmail.com>
Co-authored-by: Mumble <kimjoanne@protonmail.com>
Co-authored-by: frutescens <info@laptop>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Mumble <171087428+frutescens@users.noreply.github.com>
2024-08-19 02:18:43 +01:00
Mumble bdde03b0d5
Grip Claw now shows the proper pokemon nickname (#3634)
Co-authored-by: frutescens <info@laptop>
2024-08-19 02:06:52 +01:00
NightKev 747e4f9360
[Hotfix] Abilities that prevent ATK drops no longer stop other stat drops (#3624)
* Abilities that prevent ATK drops no longer stop other stat drops

* Apply suggestions from code review

Co-authored-by: Mumble <kimjoanne@protonmail.com>

* Add `isNullOrUndefined()` utility function

---------
2024-08-19 01:05:53 +01:00
Mumble a46e35b8dd
[Hotfix] Steal-able Mini Black Hole Pt 2 (#3632)
* Still have no idea where Eternatus is given the MBH....

* typedocs

---------

Co-authored-by: frutescens <info@laptop>
2024-08-19 00:59:18 +01:00
Enoch 1db26dab96
fix wrong message key of curse(ghost type) (#3631)
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-08-19 00:50:31 +01:00
flx-sta a97803b99b
[Bug] Fix type-hints for immunity (#3620)
* enable mock containers to be found by name

* enable mock text to be found by name

* add test coverage for type-hints

Only for "immunity" and "status moves"
2024-08-18 22:27:38 +01:00
Mumble 65af7a5699
[Bug] Preventing the MBH from being stolen in Endless (#3630)
* Endless MBH Fix

* add import

* Revert "add import"

This reverts commit 814a4059c2.

* Revert "Endless MBH Fix"

This reverts commit 8eb4481301.

* removed newline

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
Co-authored-by: frutescens <info@laptop>
2024-08-18 21:51:08 +01:00
cam c8ed89e186
867 runerigus sprite (#3629)
cropped static frames, fixed cropped sprite
set runerigus exp to use the shiny exp's animation
verified all hex colors are unchanged

- fixed ultra necrozma exp front variant swapped arrays.
- xatu female eye color fix
2024-08-18 19:44:50 +01:00
innerthunder 67da795611
Rewrite player faint logic in FaintPhase (#3614) 2024-08-18 18:29:11 +01:00
NightKev 1b7a161934
[Hotfix] Fix Memory Mushroom not showing relearner moves (#3619)
* Fix Memory Mushroom not showing relearner moves

* Fix rollout test
2024-08-18 17:52:32 +01:00
Frederico Santos c2b79a803d
Merge pull request #3616 from Opaque02/iv-scanner-stats-fix
[Bug] Fixed issue with falsy issue within condition to get a stat for IV scanner
2024-08-18 17:46:47 +01:00
Frederico Santos c40717fd33
Merge pull request #3617 from KimJeongSun/fix-only-variant-form-bugs
[Hotfix] Fixed a bug occurring when only single rare/epic variant or a single rare form in Starter UI
2024-08-18 07:43:11 +01:00
KimJeongSun 69c1389ec4 add fix setting code to prevent form/variant bug when default form/variant setting is wrong.
in addition, that fix code include gender fix, so i revert old gender fix.
update wrong log message.
2024-08-18 15:12:20 +09:00
Frederico Santos d61c8f2870
Merge pull request #3613 from pagefaultgames/main
Merge main into beta
2024-08-18 06:50:45 +01:00
Opaque02 58bf18af88 Fixed issue with falsy issue within condition to get a stat for IV scanner 2024-08-18 15:39:08 +10:00
NightKev 0e6c2952ca
Make Disguise properly reset form on arena reset when fainted (#3612) 2024-08-18 05:05:04 +01:00
Mumble 192aa63635
[Bug][Hotfix] Final Boss MBH no longer transferrable (#3611)
* Should fix it.

* typedocs fixes

---------

Co-authored-by: Frutescens <info@laptop>
2024-08-18 04:28:06 +01:00
cam abced6cf02
[Sprite] Lumineon female spritesheet fix (#3608)
fix from Vari
2024-08-18 04:17:21 +01:00
cam 5f6cb6ce00
[Sprite] Floette animation fix - Xatu female variant fix (#3610)
* 177-178 icons, variant icons

* 178 icons

* [HotFix][Sprite] Xatu female variants added

* [HotFix][Sprite] Floette json: update to match images

* Xatu variant- reverted _masterlist

reverted _masterlist.json
added anim files for both female variants

* [fix] Xatu female: show variants, added back sprite anim

Edited _masterlist on correct keys
added anim json for back sprites
2024-08-18 04:14:25 +01:00
AJ Fontaine 0e92366cac
Fixed egg moves being relearnable in daily runs (#3604) 2024-08-18 02:23:02 +01:00
innerthunder 8704723c9c
Fix missing form change logic for Cramorant (#3603) 2024-08-18 02:22:21 +01:00
Mumble 5ede6a54c6
[Hotfix] End Biome Catch Problems (#3605)
* Needs more testing.

* removed debugging

---------

Co-authored-by: Frutescens <info@laptop>
2024-08-18 01:09:28 +01:00
innerthunder 2b853bae25
[Hotfix] Fix Pokemon info not fully appearing after switch-out (#3596)
* Add hideInfo param to leaveField

* Update docs for leaveField
2024-08-17 23:25:03 +01:00
Leo Kim b59cb128bf
fix female bug. refine variable name also (#3601) 2024-08-17 22:01:35 +01:00
Mumble 616219d17e
[Hotfix] Removed isFreshStartChallenge() check (#3599)
* Removed isFreshStartChallenge() check

* Better conditional

---------

Co-authored-by: Frutescens <info@laptop>
2024-08-18 05:50:50 +10:00
damocleas e192e57c63
[Balance] Balance Hotfixes for August 17 Update (#3594)
* [Balance] Balance Hotfixes for August 17 Update

* Eternatus Moveset fix

* fixed Cresselia passive

* fixed Jirachi Egg Moves

* fixed Doduo and Arctozolt egg moves
2024-08-17 20:48:16 +01:00
Leo Kim 15584f8f1e
fix typecast to BigInt (#3598) 2024-08-17 20:47:45 +01:00
Leo Kim 54460405b1
[Hotfix] Fixed the bug where Pokémon with only rare/epic shiny but no common shiny were unable to use cycle shiny (#3593)
* Fixed the bug where Pokémon with only rare/epic shiny but no common shiny were unable to use cycle shiny

* remove unecessary log

* fix condition
2024-08-17 19:36:25 +01:00
Frederico Santos 451a1a2c50
Merge pull request #3540 from pagefaultgames/beta
Beta #2
2024-08-17 17:59:59 +01:00
NightKev a8c9065d57
[Bug] Lock Capsule no longer treats common items as free (#3591)
* Fixed null check to actually check for null and not 0

* Add test and `startingModifier()` override helper function

* Add tsdoc
2024-08-17 17:49:42 +01:00
Frederico Santos a5cec9f144 Merge branch 'beta' of github.com:pagefaultgames/pokerogue into beta 2024-08-17 17:22:47 +01:00
Frederico Santos 193b074608 feat: update 2024-08-17 17:22:36 +01:00
Frederico Santos de29c1f02b
Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-08-17 05:36:54 +01:00
Frederico Santos 9f0036581c Merge branch 'beta' of github.com:pagefaultgames/pokerogue into beta 2024-08-17 05:33:46 +01:00
Frederico Santos 06c110e257 feat: Add August Variant Update event banner 2024-08-17 05:33:31 +01:00
damocleas 96302a9a55
W Event (Classic and Translations) (#3583)
* Update dialogue.ts

* Update dialogue.ts

* ca_ES

* DE

* ES

* FR

* IT

* JA

* KO

* pt_BR

* zh_CN

* zh_TW

* Update src/locales/zh_CN/dialogue.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_CN/dialogue.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_CN/dialogue.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/pt_BR/dialogue.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/dialogue.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/dialogue.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/dialogue.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/de/dialogue.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/dialogue.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/dialogue.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/dialogue.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update dialogue.ts

* fixed blank line

* Quick portuguese dialogue fix 

https://github.com/pagefaultgames/pokerogue/pull/3587

* Rival Items

* ) oops

* )) oops 2

* Update src/locales/fr/dialogue.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* HA my beloved

* Update src/locales/zh_CN/dialogue.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Update src/locales/ko/dialogue.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Update src/locales/ko/dialogue.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

---------

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
2024-08-17 04:58:32 +01:00
Frederico Santos f6e99f1f6c deactivating catalan temporarily 2024-08-17 02:02:03 +01:00
innerthunder e697a78fc5
Fix race condition in SwitchSummonPhase (#3588) 2024-08-17 01:02:05 +01:00
chaosgrimmon 0eb1262f40
[Sprite] Add variant icons for Beta 2 (#3586)
* [Sprite] Variant Icons for Beta 2

* [Sprite] Use INDEXED color mode
2024-08-16 22:21:33 +01:00