Commit Graph

2834 Commits

Author SHA1 Message Date
Matthew dc30dd33b2
[QoL] Reorganize Enum Locations (#2185)
* moving enums

* import updates

* fix tsconfig paths importing (#2184)

* reverse index.ts addition

---------

Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
sirzento 0adddc4aea
Fixes manaphy egg rate back to 1/256 (#2182) 2024-06-13 17:06:29 -05:00
Tempoanon f0072082b5
[Localization] Fix bouncy bubble description for es fr it ko zh (#2175)
* Fix bouncy bubble description for es fr it ko zh

* Updated fr according to greenlamp

* Remove Evoli
2024-06-13 16:24:50 -04:00
schmidtc1 fd3261d8ce
[Move] Partial implementation of Stuff Cheeks (#2183)
* Partially implements stuff cheeks

* Comment for clarity on partial implementation

Explains why the move is still partially implemented.
2024-06-13 16:24:32 -04:00
Tempoanon 49cb79b754
[Bug] Fix mythical pokemon hatched stat (#2181) 2024-06-13 15:47:47 -04:00
Zach Day f8c8605710
[Move] Fix multi-hit moves activating type-immunity abilities multiple times (#2165)
* Force multi-hit moves to hit once if they are against an immune type

* Add test for multi-hit attacks against immune types

* Document MultiHitAttr

* Tiny change

* Wording fix

* Use shortcut methods in unit tests

* Fix leftover modifications from METRONOME testing

* Reorganize SAP SIPPER tests

* Fix extra imports
2024-06-13 14:23:13 -04:00
Ei 7b0ec0faf2
[QoL] Fixed language settings cursor (#2179) 2024-06-13 12:06:01 -04:00
Adrian T 8728442657
fix audio settings (#2176) 2024-06-13 18:02:37 +02:00
Tempoanon 855ceda192
Revert "[QoL] Add red color to the quantity if the item is at it's held limit…" (#2178)
This reverts commit 048993b2c2.
2024-06-13 11:57:39 -04:00
Adrian T 0e794fe2fc
[Bug] Fix Berserk and Anger Shell from crashing the game when pokemon is forced to switch out (#1699)
* fix PostDefendHpGatedStatChangeAbAttr crashing the game

* remove new line

* refactor condition

* refactor condition
2024-06-13 11:37:15 -04:00
Matthew Olker e6c24dceab Revert "[QoL] Reorganize Enum Locations (#2142)"
This reverts commit cf06ff3b8d.
2024-06-13 11:30:47 -04:00
Matthew Olker 35eb4c36a2 Revert "add sourcemap to html"
This reverts commit 85a118efdb.
2024-06-13 11:30:28 -04:00
Matthew Olker 85a118efdb add sourcemap to html 2024-06-13 11:25:45 -04:00
Matthew cf06ff3b8d
[QoL] Reorganize Enum Locations (#2142)
* moving enums
2024-06-13 11:11:12 -04:00
Dmitriy K 819fe9b4a1
[Ability] Implement Protean and Libero abilities (#1309)
* Add generic to util holders to reduce manual type casting

* implement protean and libero abilities

* remove use only once per turn trigger

* Revert Attack Attribute Conditions back to requiring unused vars

* Remove conditional before invoking type change ability

* update protean to properly trigger and skip certain moves

* remove some dangerous typecasts

* revert autoformatting changes

* not all autoformatting changes were reverted

* Revert "Add generic to util holders to reduce manual type casting"

This reverts commit 3ee7f1d5ff.

* change some variable names

* remove incorrect comment

* update abilities so they use gen 9 logic

* fix typescript error from missing Terrain type

* update gameManager switchPokemon to match other menu utilities

* add test cases for protean and libero
2024-06-13 10:54:23 -04:00
EmberCM 048993b2c2
[QoL] Add red color to the quantity if the item is at it's held limit (#2117)
* Add red color to the quantity if the item is at it's held limit

* Add shadow back to option text
2024-06-13 10:38:13 -04:00
hayuna c929bbd23a
[Refactor] Move enum BattleStyle into separated file (#1906)
* Move enum BattleStyle into separated file

* Move enum BattleStyle into separated file

* Move enum BattleStyle into separated file

* Update battle-style.ts

* Replace shift into switch
2024-06-13 10:10:31 -04:00
Zach Day a85a2a9b8b
[Bug] Fix type-immunity abilities activating on self-targeted status moves (#2168)
* Fix type immunity given by abilities only applying to attacking moves

* Add tests for type immunity granted by abilities

* Use Sap Sipper as base for testing

* Fix type-immunity abilities activating on self-targeted status moves

* Add tests for self-targeted moves on mons with type-immunity abilitiies

* Volt absorb tests
2024-06-13 09:49:40 -04:00
José Ricardo Fleury Oliveira e0d3279a0b
[Localization] [pt] Fixed Bouncy Bubble description and updated achievements (#2174)
* updated pt achievements

* minor fix

* fixed bouncy bubble translation
2024-06-13 09:39:47 -04:00
Greenlamp2 c908153761
[Bug] Fix PostSummonPhase Logic to Support Single Pokémon Teams (#2153)
* added test for spikes + forceOpponentToSwitch

* fix conditional for intimidate in a double if there is only 1 pokemon available on our side

* fix variable naming and ternary condition

* added a fallback to clear the conditionalQueue if it's a new turn

* speed up tests by skipping LoginPhase
2024-06-13 08:42:25 -04:00
Dmitriy K 0970c2cd4e
[Refactor] Replace forceBypass with bypassFaint flag (#1839)
* replace forceBypass with bypassFaint flag

* add another path alias for src/test

* make form override work for the whole party instead of the first pokemon

* add tests for all abilities that are touched by this change

* remove unnecessary overrides from tests

* move SpeciesFormChangeTimeOfDayTrigger outside arena reset logic

* remove alll resetMock calls, rename it to test
2024-06-13 11:36:12 +02:00
Jannik Tappert 16e14376c6
[Localization] Changed description of BouncyBubble to reflect … (#2166)
* [Localization] Changed german description of BouncyBubble to reflect that is heals 100% of the damage and made it not eveee specific

* Also EN
2024-06-13 03:36:09 -05:00
Blitzy 6be46ec0de
Add Magic Guard to the list (#2076) 2024-06-13 03:32:22 -05:00
sodam 78ce5e77d9
[Localization][ko] Modified item description and fix Koga typo (#2139)
* fix some sentences

* Update src/locales/ko/modifier-type.ts
2024-06-13 00:10:48 -04:00
MrWaterT 2b848b83e6
[Localization][Bug] Korean Font update and expand coverage (#1823)
* update i18n.ts : add fontFace

* Update PokePT_Wansung.ttf with size adjustment

https://github.com/MrWaterT/PokePT_Wansung v2.3

* Enlarge font size

* Bypass Typedoc

* Cleanup i18n.ts

consist spaces in {}
remove hangul jamo unicodeRange

* Update PokePT_Wansug.ttf to fix 'f'

https://github.com/MrWaterT/PokePT_Wansung v2.4

* Adjust hangul glyphs size

* Remove double loading

maybe from 073c8aa and #2066
2024-06-13 00:00:36 -04:00
Matthew Olker b950af9bac hotfix zh language shadows 2024-06-12 22:19:30 -04:00
flx-sta 3b21f80043
potentially fix PokePT_Wansung font lower f (remove that abomination above it) (#2158) 2024-06-12 19:38:10 -04:00
Xavion3 448096db33
Add secondary update to biome pool loading (#2157) 2024-06-13 09:37:07 +10:00
Tempoanon f18dcde490
[Bug] Dipplin should be Erratic instead of Slow (#2155) 2024-06-13 09:26:15 +10:00
Ei e336466cc9
[Bug] Fixed the extra pixels in plains_bg (#2154) 2024-06-12 19:19:38 -04:00
Ei 589d06c15e
[Bug] Fixed reviving while transformed not resetting the sprite (#2152)
* Fixed reviving while transformed not resetting the sprite

* Made reload assets in resetStatus optional
2024-06-12 18:08:15 -04:00
Bastien da37069457
[Localization] [FR] Update Lass dialogue.ts (#2133)
* [Localization] [FR] Update dialogue.ts

* Changes and correct typo

* Correct typo

* Typo

* Typo

* type again

* correct typo
2024-06-12 16:05:23 -04:00
Adrian T 8e8b006c49
[Bug] add condition before applying IgnoreTypeImmunityAbAttr (#2150) 2024-06-12 16:02:28 -04:00
Dmitriy K 777a8ad9ea
update gameManager switchPokemon to match other menu utilities (#2147) 2024-06-12 20:49:07 +02:00
Zach Day 31406b35fd
[Move] Fix type immunities granted by abilities only applying to attacks (#2145)
* Fix type immunity given by abilities only applying to attacking moves

* Add tests for type immunity granted by abilities

* Use Sap Sipper as base for testing
2024-06-12 14:46:45 -04:00
Adrian T 23caea1766
[Bug] hotfix type hint (#2146) 2024-06-12 14:39:37 -04:00
Dakurei 85c77b7445
[UI] Fix the display size of inputs, which is MUCH too small, and should be dependent on screen size rather than a fixed value (#2143) 2024-06-12 13:49:19 -04:00
Adrian T fe7ed72afa
[Enhancement] add revealed ability flag (#2105) 2024-06-12 13:30:10 -04:00
José Ricardo Fleury Oliveira a2638e4a79
[Localization][pt] updated passive pop up (#2141) 2024-06-12 13:14:21 -04:00
flx-sta ed495673f3
[Bug] prevent iOS input-auto zoom by adding font-size: 16px to inputs (#2137) 2024-06-12 13:11:30 -04:00
Bastien 4139e11b11
[Localization] [FR] Update swimmer dialogue.ts (#2134) 2024-06-12 13:04:02 -04:00
José Ricardo Fleury Oliveira 1b19e35e60
[Localization][pt] Updated trainers (#2048) 2024-06-12 12:56:22 -04:00
GoldTra 03a635610b
[Localization] Update Spanish abilty bar and fix fainted localization (#2136) 2024-06-12 11:43:33 -04:00
Satanemme 92c4f2d9ab
[Localization] Italian achievements (achv.ts) (#2135)
* loc_it src/locales/it/ability-trigger.ts update windPowerCharged iceFaceAvoidedDamage

* loc_it src/locales/it/achv.ts translated to italian

* fixup wrong voices reverted ability-trigger.ts outside scope

* capitalization
	modified:   src/locales/it/achv.ts
2024-06-12 10:23:48 -04:00
DustinLin e5d9cfd10f
[Bug] Fixing Baton Pass passing (#2058)
* skip yawn and infatuation for baton pass, and some docs along the way

* update yawn condition readability
2024-06-12 10:19:50 -04:00
ysh4296 c71d794d97
[Bug] remove playing tween with clear in form modal ui (#2122) 2024-06-12 10:03:26 -04:00
prime 0c85823645
[Enhancement] Golden IVs Chart when all IVs are perfect (#2019)
* golden chart for perfect IVs

The IVs chart is now golden in case all IVs are perfect.

A few overrides have also been added to make testing easier:
- the opponents IVs can be overridden
- the color can be modded via the window.perfectIVsChartColor variable.

* added perfectIVsChartColor to window

* added changes as requested

- removed global variable
- removed chart versatility
- changed color
2024-06-12 09:56:23 -04:00
Jannik Tappert 6e52bc7980
[Localization] Ability Bar can now be localized. In a way that pokemonName abilityNa… (#1921)
* Ability Bar can now be localized. In a way that pokemonName abilityName and passive string can be ordered freely

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

Co-authored-by: returntoice <dieandbecome@gmail.com>

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

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-12 09:45:20 -04:00
Bastien 124ef7065f
[Localization][fr] Update battle.ts (#2130)
Add French translation for "regainHealth" and "fainted" that was still in english
2024-06-12 09:28:10 -04:00
José Ricardo Fleury Oliveira d6a8394503
[Localization] [pt] Updated pt-br achievements (#2129)
* updated pt achievements

* minor fix
2024-06-12 09:25:41 -04:00