Commit Graph

3425 Commits

Author SHA1 Message Date
Amani H.
aeafe0fddd
[Refactor/Bug] Use Bit Shifting & Masking (#3278) 2024-08-01 22:20:27 -04:00
flx-sta
89d38a3b6b
[Bug] fixed switch out bug when fainted single -> double (#3288)
Mirror of PR #1333. Thanks to 0zuzu (https://github.com/0zuzu) for providing the original fix.

Co-authored-by: 0zuzu <63069680+0zuzu@users.noreply.github.com>
2024-08-01 22:10:43 -04:00
cam
17cc8b5c5e
[Sprite] Victreebil's stem not connected to the head (#3292)
* [Fix][Sprite] 4083 Galarian Farfetch'd exp

Fixed cropped feet on exp for default & shiny.
Rearranged spritesheet to fit new size.
Both sritesheets have identical sprite framing.
Both json are identical.

* [Sprite] 71- Fixed  missing stem

fixed missing stem segment on victreebil's head
default and shiny
png positions are identical
json are identical
2024-08-01 22:01:09 -04:00
Leo Kim
69e4ed9284
[Bug] Fix bug of remaining pokerus and starter cursor on scrolling (#3293) 2024-08-01 21:57:36 -04:00
Mumble
9b103d3ee7
Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-08-01 10:15:33 -07:00
allen925
c1595bf2b7
[Bug] fix stuck/sprite issue with double battle player pokemon both died same turn then wins battle with one bench pokemon only (#3266) 2024-08-01 12:35:11 -04:00
Mumble
fa480219d4
Update src/locales/it/run-history-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-08-01 07:52:46 -07:00
Mumble
78b78dd78a
Update src/locales/it/menu-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-08-01 07:52:35 -07:00
chaosgrimmon
b0f8f0e901
[Sprite] Add female Ursaring variant palettes (#3282)
* [Sprite] Female Ursaring variant fronts

Taken from male counterpart

* [Sprite] Female Ursaring variant backs

Taken from male counterpart

* [Sprite] Female Ursaring variants
2024-08-01 10:25:50 -04:00
José Ricardo Fleury Oliveira
7dda6f5cc2
[Localization] Update pt_br arena-tag.ts and fixed typo in modifier.ts (#3277) 2024-07-31 21:57:20 -04:00
Lugiad
1d616d0756
[Localization] Some missing French translations in menu-ui-handler and achv (#3276)
* Update menu-ui-handler.ts

* Update achv.ts
2024-07-31 21:52:11 -04:00
Opaque02
fdbdb862bc
[QoL] Making the transfer button show which pokemon can have items be transferred to them (#2503)
* Basic version of code for updating party ui name to be red when at max stack

* Updated text to be red when pokemon is at max stack

* Removed some comments and fixed a private property issue

* Fixed a const instead of a let statement, and added some comments on the logic

* Accidentally broke last commit. Intentionally fixed this commit

* Updated the code to not have red text for pokemon name as that was too confusing with fainted pokemon. Now the party slot has a descriptor label which can be used to set the text to show if the pokemon is able/not able to receive the transfer items

* Updated transfer logic to use new isTransferrable property instead of getTransferrable method and merged with latest
2024-07-31 21:50:47 -04:00
Mumble
daa37f0b51
Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-07-31 18:38:42 -07:00
Mumble
24ee15a881
Update src/locales/fr/menu-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-07-31 18:38:35 -07:00
Mumble
f8aa15e452
Update src/locales/zh_CN/run-history-ui-handler.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-07-31 18:38:21 -07:00
Mumble
e7ac37a7e3
Update src/locales/zh_CN/menu-ui-handler.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-07-31 18:38:08 -07:00
Mumble
f4cf72ecab
Update src/locales/ko/menu-ui-handler.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-07-31 18:37:59 -07:00
Mumble
4dab13eb83
Update src/locales/pt_BR/run-history-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-07-31 16:03:59 -07:00
Mumble
e410036792
Update src/locales/pt_BR/menu-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-07-31 16:03:49 -07:00
NightKev
e30b9607c5
[Misc] Removes the temporary save-fix code that swaps abilities (#3274) 2024-07-31 16:56:01 -04:00
Frutescens
f00b84951c Commenting out network functionality pt2 2024-07-31 13:22:24 -07:00
Frutescens
ba44238f8f Commented out networking functionality 2024-07-31 13:16:06 -07:00
Frutescens
4e94621da4 Fixed Run-Entry Def 2024-07-31 12:14:59 -07:00
Frutescens
990cbc1aae The German name for Squirtle is silly 2024-07-31 12:12:22 -07:00
Mumble
5bccedce91
Update src/locales/de/menu-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-07-31 11:54:04 -07:00
Mumble
c4be01699a
Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-07-31 11:53:55 -07:00
Tempoanon
bfc44ea35e
[Bug] Make mbh transferrable again 2024-07-31 12:06:49 -04:00
Leo Kim
9531e64c0d
[Enhancement] Optimize updateScroll function in starter select UI (#3268)
* optimize updateScroll function to update only the container within the screen

* fix eslint
2024-07-31 12:00:46 -04:00
Enoch
7f8ddb514d
[Localization] Localize prevent berry ability phase and translate (#3231)
* localization prevent berry phase (unnerve)

* Update src/locales/fr/ability-trigger.ts

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

* Update src/locales/de/ability-trigger.ts

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

* Update src/locales/zh_CN/ability-trigger.ts

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

* Update src/locales/zh_TW/ability-trigger.ts

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

* Update src/locales/pt_BR/ability-trigger.ts

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

* Update src/locales/de/ability-trigger.ts

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

* Update src/locales/it/ability-trigger.ts

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

* Update src/locales/es/ability-trigger.ts

---------

Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-07-31 09:00:24 -04:00
Adrian T.
e416a26cfc
add missing changes from Sweet Veil PR part 2 (#3267) 2024-07-31 11:44:12 +01:00
Adrian T.
59a4546a3f
add missing changes to sweet veil(#3265) 2024-07-31 09:52:01 +01:00
NightKev
495284ad47
[Refactor] Consolidate the switch cases in IvyCudgelTypeAttr (#3261) 2024-07-31 00:11:43 -04:00
NightKev
54ee2f3f10
[Refactor] Remove single-use EndureAttr (#3260) 2024-07-31 00:09:50 -04:00
Mumble
232ee0f2bf
Update src/locales/ko/run-history-ui-handler.ts
Thank you!

Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-07-30 20:44:35 -07:00
Frutescens
cf3397126e menu-ui-handler.ts localizations 2024-07-30 15:19:27 -07:00
Frutescens
eaee12e3dc Very barebones implementation of 'favorite' runs - not planning to implement any time soon though 2024-07-30 15:15:16 -07:00
Frutescens
72314f88dd Localization Updates 2024-07-30 15:11:42 -07:00
drew9696
78c3906088
[Bug] Fix Toxic Chain applying for non-damaging moves (#1814)
* Fix Toxic Chain applying for non-damaging moves

* Addressing code review to change a boolean to a PokemonAttackCondition

* Adding comments to introduced methods

* Update src/data/ability.ts

---------

Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
2024-07-30 17:44:40 -04:00
Carson
64ca6dd827
[Move] Psycho Shift treats Comatose as Sleep (#1780)
* comotose + psycho_shift

* condensed conditional for psycho shift

---------

Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
2024-07-30 17:24:01 -04:00
Amani H.
2900f22289
[Enhancement] Add Fee Waiving Overrides (#2266) 2024-07-30 17:15:08 -04:00
MadridPawmot
49f4e5fc2e
[Localization] Added some Spanish translation (#2004) 2024-07-30 17:06:25 -04:00
Frutescens
358101774a So many commits for so little 2024-07-30 10:21:11 -07:00
Jannik Tappert
74064d03d8
[Localization] Add missing curly braces in localization strings (#3258)
* Add missing } in the german localization strings

* Checked all languages
2024-07-30 13:19:11 -04:00
Frutescens
df967c2682 More fixes 2024-07-30 10:17:31 -07:00
scott
3fbab84642
[Bug] block input while waiting for transition to prevent changing starter during move select and in nature menu (#2342)
* block input while waiting for transition

* block input while waiting for the nature menu
2024-07-30 13:12:50 -04:00
Frutescens
f1df00ef58 Manual merge 2024-07-30 10:10:53 -07:00
Frutescens
b8f4174d3f Fixed relevant typedoc issues 2024-07-30 10:06:42 -07:00
flx-sta
d3dba2ebe2
[Bug] Fix blinds animation (#3254)
so the blinds animation is not broken when using Save & Quit
2024-07-30 12:33:13 -04:00
Mumble
ebbdc334e9
[Tests] Test for Ability Magic Guard (#3253)
* Drafted testable conditions for Magic Guard

* Weather Test

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

InnerThunder

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* Implemented checks for poison/toxic/burn

* Added tests for recoil moves and volatile status

* Added tests for entry hazards

* Moved overrides to top

* Gave player Pokemon the passive Unnerve to prevent random berry interference

* Added tests for ability interactions

* Added reference link

---------

Co-authored-by: Frutescens <info@laptop>
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-07-30 12:16:04 -04:00
Leo Kim
0ad4986fa5
[Enhancement] improve passive and win filters by applying new Tri-state toggle dropdown in the starter select UI (#3252)
* split unlocks filter into shiny and passive

* update tri state dropdown. apply it to passive and win dropdown
2024-07-30 12:13:17 -04:00