Commit Graph

3763 Commits

Author SHA1 Message Date
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
cam 60b68c936a
[Sprite] Turtwig and Arceus icons (#3579)
fix from @Opaquer on discord
https://discord.com/channels/1125469663833370665/1273029028210671748/1273995744910639246
2024-08-16 22:18:20 +01:00
damocleas d0ed24c216
[Bug] Revert Map Item Table (#3566) 2024-08-16 00:44:42 +01:00
Frederico Santos 5983c77a67 chore: Remove beta cookie when removing main domain cookie 2024-08-16 00:29:25 +01:00
Madmadness65 3c4e56db2d
[Balance] Update egg moves (#3554)
* Update egg moves

* Update Arctozolt

* Update Arctovish
2024-08-15 17:39:55 -05:00
damocleas e109c84319
[Balance] Starter / Passive / Same-Species Egg Fixes for August Patch (#3542)
* [Balance] Various Fixes

* Readjusted Legendary same-species eggs back to 10 candy

* Updated some passives

* Changed Chien Pao Passive

* Eevee passive final adjustment

* Chi Yu and Chien Pao changed again

* Arcto passives
2024-08-15 17:38:35 -05:00
Steven Chan 88ecd69dd7
fix flyout freeze (#3550) 2024-08-15 22:47:05 +01:00
Madmadness65 4e74007af6 Remove unused duplicate ribbon sprites
I already excluded them from the item atlas in my previous commit.
2024-08-14 21:33:49 -05:00
Frederico Santos 0018650688
Revert "[Balance] [QoL] Allow Pirouette Meloetta to be selectable on starter …" (#3552)
This reverts commit 16b9df2d15.
2024-08-15 03:27:45 +01:00
Madmadness65 f6d9a11044 Compress item atlas
Also resized the Herb graphics to be 32x32 like the rest of the items.
2024-08-14 20:58:20 -05:00
Frederico Santos dff0e9179d
Merge branch 'main' into beta 2024-08-13 22:42:54 +01:00
Frederico Santos 70a21dfed8 Merge branch 'beta' of github.com:pagefaultgames/pokerogue into beta 2024-08-13 22:39:15 +01:00
Frederico Santos 0574e817d9 fix: reset mode chain in TitlePhase's loadSaveSlot method 2024-08-13 22:39:00 +01:00
Matthew 29b441facb
August 2024 Variant Update (#3470) 2024-08-13 22:30:29 +01:00
flx-sta b7d7d9bcf3
fix/update vite.config.ts (#3531)
- fix types
- update defintion to map `UserConfig` type
2024-08-13 22:24:49 +01:00
Blitzy bcca218777
Update pokemon-forms.ts (#3538) 2024-08-13 22:22:27 +01:00
José Ricardo Fleury Oliveira 1180fd0122
[Localization] Localized "Consent Preferences" in menu-ui-handler.ts (#3513)
* [Localization] Localized "Consent Preferences" in menu-ui-handler.ts

* Update src/locales/fr/menu-ui-handler.ts

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

* Update src/locales/de/menu-ui-handler.ts

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

* Update src/locales/it/menu-ui-handler.ts

Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>

* Update src/locales/fr/menu-ui-handler.ts

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

* Update src/locales/es/menu-ui-handler.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/zh_CN/menu-ui-handler.ts

Co-authored-by: RimKnight <rimknight852@gmail.com>

* Update src/locales/zh_TW/menu-ui-handler.ts

Co-authored-by: RimKnight <rimknight852@gmail.com>

* Update src/locales/ko/menu-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

---------

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: RimKnight <rimknight852@gmail.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-08-13 22:22:01 +01:00
Mumble 05fdac39ec
Fixed Export Game Data freeze (#3539)
Co-authored-by: Frutescens <info@laptop>
2024-08-13 22:21:45 +01:00
Blitzy 16b9df2d15
[Balance] [QoL] Allow Pirouette Meloetta to be selectable on starter screen (#3537)
* Update pokemon-forms.ts

* Add Data for Pirouette

* Update pokemon-form.ts

* Update Localization Names

* Update pokemon-form.ts
2024-08-13 22:20:37 +01:00
damocleas bf1c634f34
[Balance] Replaced Dragon Dance on Eternatus for Flamethrower (#3536) 2024-08-13 22:16:37 +01:00
NightKev 2b0b9fcb70
[Bug] Palafin should not swap to Hero form when switching due to faint (#3532)
* Palafin should not swap to Hero form when switching due to faint

Also add more tests for Zero to Hero

* Use `.isFainted()` instead of checking HP
2024-08-13 22:14:49 +01:00
flx-sta 5000a91348
resolve some open strict-null bangs TODOs (#3530) 2024-08-13 22:12:42 +01:00
AJ Fontaine 73372b424e
[QoL] [Balance] Adjust ether weights for lower-PP moves (#3483)
* Adjust ether weights

* Gt to gte

* Fix spacing
2024-08-13 22:10:19 +01:00
Mason S bbca34bfcd
[Feature] Updated Smeargle learnset to pre gen-9 implementation (#2986)
Updated Pokemon.getLevelMoves()
Now enforces uniqueness AFTER filtering moves within the given range. This allows a pokemon to learn the same move at two different levels.

Updated pokemon-level-moves.ts
Changed Smeargle to learn Sketch at levels 11, 21, 31, ..., 91, instead of only at level 1.
2024-08-13 22:09:21 +01:00
NightKev 39e7591d3b
[Ability] Heatproof now reduces burn damage by half (#3524)
* Heatproof now reduces burn damage by half

* Add tests

* Add comment to test
2024-08-13 22:00:19 +01:00
wnhlee 452fbbb345
refactor: improve typing (#2501) 2024-08-13 21:49:06 +01:00
NightKev 0d3fcd82bb
[Bug] Fix daily run generated movesets (#3519)
* Fix daily run generated movesets

* add unit-tests for `fix-daily-run` (#3)

* add `daily` and `classic` helper. split `runToSummon`

there is now a `classicMode.runToSummon` which represents the old one used.
There is now a `dailyMode.runToSummon` too

* add daily_mode.test.ts

covers the occured issue

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-08-13 21:48:56 +01:00
AJ Fontaine 39f617d58d
[Balance] Replaced some custom starting moves with equivalent canon moves (#3468)
* Replaced some custom moves with canon moves

* Just gave Turtwig Leafage

* Revert Vanillite change

* Psybeam Flutter Mane moved from 7 to 1
2024-08-13 21:48:40 +01:00
innerthunder a760022c77
[Move] Refactor Conditional Protection and Protect interactions (#2731)
* Refactor protection moves

* Revert Protected move result change

* Fix typo in documentation

* Fix merge conflicts in integration tests

* Improve readability of apply function

* Fix effects applying through Protect

* Fix typos in `src/data/egg.ts` comments

* [Localization(it)] Added Honey Gather translation (#2301)

* Update ability.ts [Localization(it)]

* Update ability.ts [Localization(it)]

Fixed capitalization

* Hitting into protect now records a move as failed

* Add check for move success before applying additional effects (Stone Axe)

* `Overrides` should be capitalized

* Add fail conditions for `RechargeAttr` and Jaw Lock

* Update protect test

* Add check for protect in Glaive Rush

* Update tests to use new overrides helpers

* Account for Mat Block and add protect test for Glaive Rush

---------

Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>

* Crafty Shield now blocks ALL protect-ignoring moves

* Crafty Shield test + Fix blocking ally-target moves

* ESLint

* Mat Block and Wide Guard integration tests

* Fix strict-null errors in integration tests

* Fix strict-null issue in arena-tag

* Fix strict-null in unrelated test :pikamad:

* Fix conflicting AbAttr

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-08-13 21:47:32 +01:00
innerthunder 161043ecd6
[Move] Implement Shell Trap (#3500)
* Implement Shell Trap

* Fix error in EN message

* Add ZH/KO translations

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Leo Kim <47556641+KimJeongSun@users.noreply.github.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Fix error in placeholder messages

* FR translation / KO translation fix

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Leo Kim <47556641+KimJeongSun@users.noreply.github.com>

* More translations (DE, ES, IT, PT-BR)

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/ja/move-trigger.ts

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

* Fix Shell Trap activating from ally attacks (+ test fixes)

* Remove todo + add test with shell trap as first move

---------

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Leo Kim <47556641+KimJeongSun@users.noreply.github.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-08-13 21:47:05 +01:00
AJ Fontaine afc391868b
Remove wild evo delays from time based level-up evos (#3521) 2024-08-13 21:45:09 +01:00
AJ Fontaine 704eab6c1a
Skip useless rewards in wave 199 (#3522) 2024-08-13 21:43:59 +01:00
prime 38ba0c089f
[Pokemon/Form/Item] Ultra Necrozma (#3514)
* Still attempting to merge ultra necrozma

* Added translations from Adri1

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

---------

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-08-13 21:40:16 +01:00
MokaStitcher 267772c043
[qol][ui] add cursor wrap around to option select menus (#3518) 2024-08-13 21:33:59 +01:00
Mumble e9c89b437b
[Enhancement] Target Selection also highlights target's held items (#3448)
* Target Pokemon's held items flash with the Pokemon during target selection

* Fixed typedocs issues and adjusted animation

* removed .js from imports

* removed .js from imports

* Slowed down animation + fixed bug

* Implemented Torranx's fixes + slightly widened the range for alpha values

* Apply suggestions from code review

Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>

* Additional suggestions from code review

* Update src/battle-scene.ts

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

---------

Co-authored-by: Frutescens <info@laptop>
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
2024-08-13 21:30:01 +01:00
Mumble 513adf779f
[Ability] Stall + Mycelium Might (#3484)
* Implemented Stall

* Fixed implementation

* AbAttr Name Change

* Wrote test for Stall

* Update src/test/abilities/stall.test.ts

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

* Update src/data/ability.ts

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

* Updated ability variables and test

* Apply suggestions from code review

Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>

* eslint fixes

* Update src/test/abilities/stall.test.ts

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

* added documentation and implemented mycelium might

* added note on quick claw

* Documentation + Quick Claw implementation

* This is where I would test quick claw-stall/m.m. if i could override modifierstacks

* Forgot to add edits oops

---------

Co-authored-by: Frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
2024-08-13 21:25:58 +01:00
Steven Chan 73d60f5e6e
[Bug] Display arena trap/shadow tag flyout at appropriate times (#3271)
* Show arena trap/shadow tag dialog immediately instead of as a message phase

* remove flyout that opponent cannot switch out due to opposing arena trap

* change applyAbAttrsInternal signature

* fix bug (no messages appeared) due to prev commit

* fix typedoc docs error

* removed empty message after switching trapped pokemon

* revert empty string argument to null
modified files to adopt null argument

* renamed variable
2024-08-13 21:19:00 +01:00
innerthunder c5c314eb53
Fix No Retreat failing when trapped by another effect (#3488) 2024-08-13 20:30:55 +01:00
NightKev 6c2c14cb1e
[Test] Fix Flash Fire tests to remove enemy ability RNG (#3523)
* Fix Flash Fire tests to remove enemy ability RNG

* Replace manual status application with override use
2024-08-12 21:21:51 -05:00
damocleas 6d515d58b5
[Balance] Egg and Starter Adjustments (increase HA chance, decrease candy costs) (#3419)
* [Balance] Egg Adjustments

* Reduced Cost of Same-Species Eggs

* Update egg.ts

* check errors

* Candy per Species-Egg Adjusted

* Set egg cost back to 10 for 9/10 cost mons

* 8-10 Legendaries made to 8 cost Eggs

* Updated some Passive Costs and Cost Reductions

* Change HA rate of eggs to 192

Also clean up the if to make it more readable

* Changed HA Rate from Same-Species Eggs up 1/4 -> 1/8

* Rename "voucher*" variables to "gacha*"

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-08-12 16:27:33 -04:00
Lugiad 9669735d4c
[Localization(it)] Update filter-bar.ts (#3517) 2024-08-12 13:58:25 -04:00
Mumble 897f0279ec
[BUG] Pokemon with the Levitate ability - Sand Attack Interaction Fix (#3442)
* Included a check for move category in TypeImmunityAbAttr

* Failure 1

* Created new attribute for Levitate - blame Game Freak

* renamed abattr to more descriptive attacktypeimmunityabattr

* need caffeine

* the documentation

---------

Co-authored-by: Frutescens <info@laptop>
2024-08-12 17:19:58 +01:00
Lugiad c32f195fe0
[Localization] French corrections/translations/adjustments tour (#3516)
* Update battler-tags.ts

* Update settings.ts

* Update filter-bar.ts

* Update modifier-type.ts

* Update achv.ts

* Update modifier-type.ts

* Update achv.ts

* Update starter-select-ui-handler.ts

* Update challenges.ts

* Update bgm-name.ts

* Update achv.ts

* Update bgm-name.ts
2024-08-12 11:44:05 -04:00
Lugiad 6a6b333fa1
[Localization(fr)] Update filter-bar.ts (#3515) 2024-08-12 10:21:43 -04:00