Commit Graph

3577 Commits

Author SHA1 Message Date
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
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