Commit Graph

3007 Commits

Author SHA1 Message Date
Niccolò
a44ab950ba
[Localization(it)] Update tutorial.ts (#2294) 2024-06-16 18:49:11 -04:00
chaosgrimmon
1396aaaa57
[Move] Sappy Seed shouldn't be Making Contact (#2303)
https://bulbapedia.bulbagarden.net/wiki/Sappy_Seed_(move)
2024-06-16 18:48:42 -04:00
Yonmaru40
29f95ef394
[Localization] zh_cn various translation fix and update (#2306)
* Update pokemon-info.ts

* Update trainers.ts

* Update ability-trigger.ts

* Update battle.ts

* Update ability-trigger.ts

* Update save-slot-select-ui-handler.ts

* 用→因为
2024-06-16 18:44:49 -04:00
Yonmaru40
0ed8c32e8a
[Localization(zh)] Update growth.ts (#2305) 2024-06-16 18:43:52 -04:00
Yonmaru40
f26a21c74b
[Localization(zh)] Update fight-ui-handler.ts (#2302) 2024-06-16 18:42:17 -04:00
chaosgrimmon
90f6ae7e6d
[Bug] Friendship-based moves have Base Power -1 when Pokemon is wild (#2291)
Affects RETURN, FRUSTRATION, PIKA_POW, and VEEVEE_VOLLEY.
2024-06-16 18:40:47 -04:00
Madmadness65
cc1b37c097 Correct Iron Jugulis' passive ability 2024-06-16 17:38:32 -05:00
José Ricardo Fleury Oliveira
5cdf148965
[Localization] Localized Daily Run Scoreboard (#2053)
* localized daily run scoreboard

* Update src/locales/de/menu.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* localized positionIcon

* Update src/locales/ko/menu.ts

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

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-06-16 21:23:18 +01:00
Niccolò
9d4425518f
Update pokemon-info.ts [Localization] (#2295) 2024-06-16 07:23:54 -05:00
Niccolò
62b82b92c8
Update voucher.ts [Localization] (#2293) 2024-06-16 07:21:47 -05:00
Matthew
8a1560bfa7
fix egg skip console error (#2284) 2024-06-16 00:48:09 -04:00
Devin Korb
e10d67858f
remove the duplicate document.fonts code (#2282) 2024-06-16 00:37:02 -04:00
Devin Korb
728ee3809a
Add dependency cruiser command (#2192)
* add dependency cruiser and fix all default errors

* create svg render of dependencies in command

* move configs to ts files, await font loading

* fix i18n

* fix dependencies...

* fix typedoc generation and tsconfig exclusions

* revert github-pages fix for another pr

* no-circular -> no-circular-at-runtime for type imports (future)
2024-06-16 00:26:37 -04:00
José Ricardo Fleury Oliveira
d9ae12ccc7
updated battle.ts and pokemon-info.ts (#2281) 2024-06-15 23:49:09 -04:00
José Ricardo Fleury Oliveira
4c708cd1aa
[Localization] [pt] Updated modifier-type (#2280)
* updated modifier-type

* fix
2024-06-15 22:30:07 -04:00
Arxalc
2d254bab96
[Move] Implemented Incinerate and Knock Off (#1671)
* Implemented Incinerate and Knock Off

* Ran linter

* Removed unnecessary code
2024-06-15 22:26:54 -04:00
Lee ByungHoon
9b8f6f312b
[Localization] Modification some code about battle stat for localization (#1985)
* [Localization] Modification some code about battle stat for localization.

* Corrections to failed generating typedoc docs.

* [Localization] Modification some code about battle stat for localization.

* Corrections to failed generating typedoc docs.

* Corrections to change localized key for battle stat and level change description.

* Deleted battle-stat.ts file in Deutsch locales.

* Fixed build failure

* Move unit test file into localisation folder from battle folder.

* Fixed localization key

* Fixed build failure

* Fix merge conflict

* Fix merge conflict again

---------

Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-15 22:25:18 -04:00
Philippe
bf7eb52f85
[Move] Implement poltergeist (#1726)
* implement poltergeist

* add comments

* use string interpolation
2024-06-15 22:24:38 -04:00
innerthunder
01435ed0e0
[Ability] Implement Unseen Fist (#1776)
* Implement Unseen Fist

* Add unit tests for Unseen Fist

* Fix unit test imports
2024-06-15 22:14:49 -04:00
Matthew Olker
17b103c447 hotfix victory save call 2024-06-15 22:06:40 -04:00
Niccolò
646c9018f2
[Localization(it)] Update pokeball.ts (#2270)
Fixed a wrong translation
2024-06-15 22:04:10 -04:00
Jannik Tappert
1a8c9d472a
[Localization] Localized the statname in the X Item description (#2264)
* Localized the statname in the X Item description

* Added french thanks to sangara42

* Changed french by Lugiadrien
2024-06-15 21:54:53 -04:00
_Megabyte
eea39843fb
[Bug] Issue #2260 Fix black screen on new game after exiting. (#2265) 2024-06-15 21:53:04 -04:00
Niccolò
0f001dfd14
[Localization(it)] Update party-ui-handler.ts (#2269)
Translated all of the party handler sentences
2024-06-15 21:52:24 -04:00
Niccolò
fd760f42bf
[Localization(it)] Update splash-messages.ts (#2273) 2024-06-15 21:51:55 -04:00
Niccolò
79367b81d1
[Localization(it)] Update starter-select-ui-handler.ts (#2274) 2024-06-15 21:51:34 -04:00
Niccolò
5a7d893812
[Localization(it)] Update trainers.ts (#2277) 2024-06-15 21:50:19 -04:00
Niccolò
b5ac756b2d
[Localization(it)] Update pokemon-info-container.ts (#2271) 2024-06-15 21:49:21 -04:00
Niccolò
2ba5f737da
[Localization(it)] Update save-slot-select-ui-handler.ts (#2272) 2024-06-15 21:47:49 -04:00
Frederico Santos
eec9963089
Fix API endpoints for saving and retrieving system and session data (#2279) 2024-06-15 21:24:50 -04:00
Matthew Olker
b42c3fac67 Revert "Fix API endpoints for saving and retrieving system and session data (#2278)"
This reverts commit 6172f3d574.
2024-06-15 21:09:32 -04:00
Frederico Santos
6172f3d574
Fix API endpoints for saving and retrieving system and session data (#2278) 2024-06-15 21:05:49 -04:00
José Ricardo Fleury Oliveira
ca112e10fb
[Localization] [pt] Updated dialogue.ts (#2262)
* reviewed/updated until black belt

* fixes

* more additions

* more fixes

* fix
2024-06-15 13:31:41 -04:00
Soyoka
b7bb862cdc
[Localization(ko)] Added Korean Translation for the dialogues of the Cilan, Chili, and Cress (#2256)
* chore: add translation for dialogue of cilan

* chore: add translation for dialogue of chili

* chore: add translation for dialogue of cress

* fix: fix spelling errors and make it compatible with eslint
2024-06-15 12:28:22 -04:00
Terrorforge
6917db7429
[Balance] give Goomy Regenerator (#2248) 2024-06-15 12:23:32 -04:00
Tempoanon
fdf139d529
[Bug] Add rest of trailblaze Pokemon (#2239) 2024-06-15 12:18:52 -04:00
Adrian T
dbecb72890
[Bug] add ability revelead for trace, refactor (#2258) 2024-06-15 12:13:59 -04:00
Adrian T
0b019d9823
[Ability] Implement Wonder Skin (#2231)
* implement wonder skin

* add unit tests

* fixes

* move applyPreDefendAbAttrs
2024-06-15 17:06:32 +01:00
Adam Clemons
422a561dfe
[Feature] Add Missing Champion Dialogue (#2120)
* Add Alder dialogue

* Add Kieran dialogue

* Add line breaks

* typo fix

* Add placeholder dialogue
2024-06-15 16:47:44 +01:00
Lugiad
523f818e12
[Localization] Many corrections of recent French translations (#2257)
* Update ability-trigger.ts

* Update achv.ts

* Update battle.ts

* Update challenges.ts

* Update battle.ts

* Update party-ui-handler.ts

* Update pokemon-info-container.ts

* Update trainers.ts

* Update achv.ts

* Update achv.ts

* Update achv.ts

* Update splash-messages.ts

* Update achv.ts

* Update achv.ts

* Update trainers.ts

* Update src/locales/fr/achv.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update challenges.ts

* Update src/locales/fr/battle.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update battle.ts

* Update battle.ts

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
2024-06-15 16:28:33 +01:00
Alexis Faizeau
8e5b454c87
[Localization] Fix french translations (#2253)
* Translate missing fr keys for acheviements

* Translate missing fr keys for ability triggers

* Translate missing fr keys for battle

* Translate missing fr keys for fight ui handler

* Translate missing fr keys for challenge

* Translate missing fr keys for party ui handler

* Translate missing fr keys for pokémon infos container

* Translate missing fr keys for trainers
2024-06-15 13:06:57 +02:00
Franck TROUILLEZ
a4b07158f9
[QoL] Add ALL option when transferring items to Pokemons (#1694)
* Add ALL option to transfer menu

It adds a new attribute to the PartyUiHandler to track whether the transfer is meant for all items of only for a particular one

It also introduces translations for PartyUiHandler, even though only the 'ALL' option can be translated for now.

* Use updated translation key for i18n for partyUiHandler:ALL

* Fix duplicated import

* Use optionCursor instead of optionCursorWithScroll to check if we need to transfer ALL
2024-06-15 12:32:15 +02:00
EmberCM
16084878c3
Remove random trailing commas (#2245) 2024-06-15 12:13:54 +02:00
José Ricardo Fleury Oliveira
9ebd85e7c8
[Localization] [pt] Fixed male achievements as well (#2240)
* fixed male achievements as well

* fix

* minor fix
2024-06-14 20:27:22 -04:00
Ei
465d95bbd4
[Bug] Fixed frisk not setting revealedAbility flag (#2238) 2024-06-14 20:18:20 -04:00
José Ricardo Fleury Oliveira
bd2d9d51a1
[Localization(pt)] fixed achievements (#2235) 2024-06-14 20:08:26 -04:00
Niccolò
6c4a4bf366
[Localization(it)] Update menu.ts (#2228)
Fully translated the elements in the menu.
2024-06-14 19:55:00 -04:00
José Ricardo Fleury Oliveira
f519b13b20
[Localization] [pt] Updated ability-trigger.ts (#2229)
* updated ability-trigger.ts

* fix order
2024-06-14 19:53:20 -04:00
José Ricardo Fleury Oliveira
bce4c91c42
[Localization] intentionally changed all achievements' names for merge conflict (#2230) 2024-06-14 19:51:35 -04:00
Adrian T
2f933d2865
[Enhancement] Unit tests for Ice Face (#2215)
* add ice face test

* complete unit tests

* fix imports
2024-06-15 00:38:30 +02:00
Madmadness65
df58da32aa
Update Egg Moves (#2227)
New changes to go along with the passive ability changes.
2024-06-14 17:30:36 -05:00
Blitzy
be20783524
[Balance] Give Slakoth, Archen, and Wimpod Line new hidden abilities like Regigigas (#2115)
* Give Archen line and Wimpod line new Hidden Abilities

* Add Hidden Ability to Slakoth Line
2024-06-14 17:05:39 -05:00
Madmadness65
069466b05f Revert Eternatus Passive Change
That wasn't supposed to go through.
2024-06-14 17:01:59 -05:00
damocleas
de4025b7d3
[Balance] Passive Changes (#2226)
* [Balance] Passive Changes

* ADAPTABILITY*
2024-06-14 16:59:02 -05:00
Niccolò
6af4ea96d1
[Localization(it)] Update biome.ts (#2216)
Fixed a couple of issues with biomes
2024-06-14 16:48:23 -04:00
Niccolò
75b1c62614
[Localization(it)] Update fight-ui-handler.ts [Localization] (#2222)
Translated things regarding "passive"
2024-06-14 16:45:37 -04:00
Niccolò
59263d797f
[Localization(it)] Update game-mode.ts [Localization] (#2224)
Translated game modes' names from EN to IT
2024-06-14 16:45:07 -04:00
Niccolò
ce2031b85d
[Localization(it)] Update game-stats-ui-handler.ts [Localization] (#2225)
Translated everything about game stats from EN to IT
2024-06-14 16:44:27 -04:00
Niccolò
1541b8501e
[Localization(it)] Update battle.ts (#2211)
Translated every sentence and fixed a few ones
2024-06-14 16:43:50 -04:00
Niccolò
cb1078e563
[Localization(it)] Update challenges.ts (#2218)
Translated everything regarding challenges
2024-06-14 16:43:08 -04:00
Niccolò
b018263b09
[Localization(it)] Update achv.ts (#2219)
Fixed a couple of achievements' names
2024-06-14 16:42:16 -04:00
Matthew Olker
c02bb9132f Update Date to UTC and Time to include days 2024-06-14 13:40:14 -04:00
Matthew Olker
f8062d95bb Freeze Hotfix Pt2 2024-06-14 13:16:32 -04:00
Matthew Olker
f9f69fb0e2 End Freeze Hotfix 2024-06-14 13:12:12 -04:00
Matthew Olker
02d5654be4 Pride Update 2024-06-14 12:42:37 -04:00
Teju Rajbabu
90d0a17b45
Variant Label Color Change [QOL] (#2198)
* Test changes to change variant label color based on Tint

* Implementedlabel color change on pokemon change
2024-06-14 10:01:11 -05:00
Niccolò
65f4933a1d
[Localization][it] Update achv.ts (#2199)
Changed most of the achievements' names, added the missing ones
2024-06-14 09:43:17 -04:00
sodam
3133dadbf4
[Localization] #1761 Korean trainer dialogue (Gym leader+@ in Galar region) (#2171)
* translated 8th named trainer's

* Update src/locales/ko/dialogue.ts

* Apply suggestions from code review

* add elite-5 and leon's dialouge(by Korean)

* Apply suggestions from code review

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-14 09:42:22 -04:00
MadridPawmot
c3c6b96487
[Localization][es] Spanish translations for splash messages (#1999)
* Spanish translations for splash messages

* Updated with requested changes

* Updated capitalization
2024-06-13 20:00:36 -04:00
Niccolò
68863ab9a4
[Localization][it] Update ability-trigger.ts (#2188)
Modified some captions to make them more correct in italian
2024-06-13 19:50:48 -04:00
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
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
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
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
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
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
GoldTra
965d8d33fb
[Localization][es] Update Spanish fainted localization (#2127) 2024-06-12 09:25:21 -04:00
José Ricardo Fleury Oliveira
e6ce85cd3f
[Localization][pt] fainted translation (#2125) 2024-06-12 09:24:18 -04:00
Seung Ho Jang
0e7498f9ef
[Bug] Fix move 'Hyperspace Fury' to non-contact (#2132) 2024-06-12 09:21:16 -04:00
Tempoanon
4cca68b323
[Bug] Metagross level up moveset changes (#2114)
Confusion and Metal Claw are level 1 moves, not on-evo moves
2024-06-11 21:12:10 -05:00
Lee ByungHoon
7fe5962d28
[Localization] Add localization of message when pokemon fainted in battle phase. (#1934)
* [Localization] Add localization of message when pokemon fainted in battle phase.

* Correction of Deutsch localization

* [Localization] Add localization of message when pokemon fainted in battle phase.

* Correction of Deutsch localization
2024-06-11 21:41:24 -04:00
Greenlamp2
f57798fd1d
[Bug Fix] Correct PostSummonPhase Timing for Abilities and Entry Hazards (#2108)
* added test for spikes + forceOpponentToSwitch

* added conditionalQueue && pushConditionalPhase to fix entry hasard and abilities at post summon

* reduce timeout time to default
2024-06-12 00:55:16 +02:00
tommy030314
6d1fbf92cc
[Localization][ko] fix concert typo (#2109) 2024-06-11 18:54:52 -04:00
Lugiad
fb8cf781a5
[Localization] Correction to French ability.ts (#2102) 2024-06-11 16:22:08 -04:00
Tempoanon
64c0f2edb9
[Bug] Fix base stat totals of G-max Alcremie and Hisui mons (#2097) 2024-06-11 14:59:08 -04:00
Greenlamp2
a2d0a9ece3
[CI] Add GitHub Action to Run Silent Tests on PRs to Main (#2100)
* github action to run tests in PR

* fix the CI name

* fix comment

* fix divergent tests + cut some useless long test + fix versions
2024-06-11 19:13:02 +02:00
Xavion3
2aa6ec5031
Fix english names of monotype achievements (#2078) 2024-06-12 02:59:15 +10:00
Ei
a0a42ed2ec
[Localization] Added zh_TW translations for things that already have zh_CN translations (Dialogues, Challenges, Trainers) (#2099)
* Added a newer version of zh_TW dialogue translations

* Fixed several double battle dialogues in zh_TW

* Added missing trainers.ts zh_TW translations

* Added missing challenge.ts zh_TW translations
2024-06-11 12:40:55 -04:00
Opaque02
576bcf7bdb
[Bug] Fixed a bug where genderless and non shiny pokemon could show the new gender or shiny indicator (#2090) 2024-06-11 11:34:11 -04:00
sodam
00aaeb5947
[Localization][ko] #1761 Korean trainer dialogue (villain) (#2091)
* localized villain's dialogue

* Apply suggestions from code review

* Update src/locales/ko/dialogue.ts

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-11 11:15:37 -04:00
Greenlamp2
1263ff3af2
fix opponent triggering abilities each turn (#2094) 2024-06-11 17:13:40 +02:00
Ei
80eb86a76c
[Localization][zh_tw] Fixed mistranslation of 只 in traditional chinese (#2092) 2024-06-11 10:20:24 -04:00
Greenlamp2
0faccad49e
[Bug Fix] Corrected PostSummonPhase Trigger Timing for Accurate Stat Changes (#2057)
* fix postSummonPhase when opponent does not summon and fix the statsChange from push to unshift

* added switch pokemon helper method

* added on switch tests for intimidate

* fix test by overriding passive in tests

* remove a test not needed

* cleanup imports
2024-06-11 16:12:46 +02:00
innerthunder
670ea01cb4
[Ability] Implement Treasures of Ruin Abilities (#1637)
* Implement Treasures of Ruin abilities

* Reformat documentation

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-11 09:37:10 -04:00
sodam
1a6b411987
[Localization] #1761 Korean trainer dialogue (the other unnamed trainers) (#2084)
* translated the other (by @malloc3141)

* Apply suggestions from code review

* Update src/locales/ko/dialogue.ts

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-11 09:34:53 -04:00
Satanemme
ac69baff3a
[Localization][it] naive typo fix (was ingenuaa is now ingenua) (#2088) 2024-06-11 09:29:01 -04:00
Yonmaru40
dbd9908974
[Localization] new proofread zh_cn achv names updated (#2082)
* Update achv.ts

* mega → 超级 according to offical chinese texts

* fix details
2024-06-11 09:20:05 -04:00
EmberCM
4c5e0ccc15
[QoL] Remove Map item from being the shop on waves 180-200 (#2012)
* Remove Map item from being the shop on waves 190-200

* Remove Map from wave 180+
2024-06-11 12:42:23 +02:00
SnowCharm
2a6ef08cff
[Localization] Improve zh_CN Localization Content (#2075)
* fix zh_CN modifier-type locales

* update zh_CN/achv.ts
2024-06-11 01:32:56 -04:00
40chyan
f45ad124b2
[Localization] translation of zh_cn dialogues (#1903)
* Update dialogue.ts

* Update text.ts

* Update dialogue.ts

* Update dialogue.ts

* ignore linting in zh_cn

* try renaming the .eslintrc

* ignoring lint did not work

* lint fix by replacing ` with "

* change eternaus dialogue string back to ` to prevent error

* indentation fixed

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-11 01:06:39 -04:00
snnh
40e342d806
[Localization] Improve Simplified Chinese Localization Content ( achv.ts ) (#2071)
* Update achv.ts

* Update achv.ts
2024-06-11 00:49:55 -04:00
40chyan
689ec47bde
[Localization] fixing typo in zh_cn challenge.ts (#2070)
* Update challenges.ts fixing typo

* another typo
2024-06-11 00:45:00 -04:00
Matthew Olker
8c596c6f33 update zh font to unicode to fit both 2024-06-10 23:21:19 -04:00
Matthew Olker
073c8aaf01 censor glitch hotfix 2024-06-10 22:51:54 -04:00
Greenlamp2
725df33600
[Bug] Restrict Menu Access to Specific Game Modes + Gamepad Start Button in Select-Starter Menu (#2064)
* fix softlock + start run on button menu for gamepad on starter_select

* chop chop even more mode to the menu whitelist
2024-06-10 21:18:07 -05:00
Matthew
8d75670a81
[UI] egg and starter formatting (#2043)
* egg and starter formatting

* localization update

* localization update

* fix local voucher test

* pr comments

* pr comments

* account for new font
2024-06-10 21:58:01 -04:00
snnh
f6a6c2da1b
[Localization] Improve Simplified Chinese Localization Content (#2067)
* Update modifier-type.ts

* Update save-slot-select-ui-handler.ts

* Update party-ui-handler.ts

* Update party-ui-handler.ts
2024-06-10 21:55:03 -04:00
Matthew
5248160112
add zh localization font (#2066) 2024-06-10 21:36:09 -04:00
returntoice
b9e809b685
[Localization][ko] Some localization updates for Korean (#2046)
* localization

* localization2

* local3
2024-06-10 21:32:57 -04:00
Adrian T
5d358fc57f
[Enhancement] Refactor egg counter (#1996)
* refactor egg counter

* add documentation
2024-06-10 20:20:00 -05:00
Adrian T
65ddd49d64
[Enhancement] Move event files to a central directory (#1918)
* Move events to a central directory

* Update modifier import

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* remove old battle-scene-events

* Move to field events

* Update battle-scene.ts

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-06-10 20:19:07 -05:00
Zach Day
5762409b17
[Move] Implement Core Enforcer (#2024)
* [Move] Implement Core Enforcer

* Documentation

* Documentation
2024-06-10 21:17:28 -04:00
Xavion3
dc6c8f22ac
Make speed ties seed based on current turn (#2044) 2024-06-11 09:42:39 +10:00
Madmadness65
8a0b5c52d3 [Bugfix] Fix Rival battles not playing correct music
The Rival fights were playing the incorrect battle music on the Mixed music preference. This has been fixed.
2024-06-10 16:53:14 -05:00
Dmitriy K
ee4d130ebb
[Test(refactor)]: Refactor tests game manager (#2062)
* refactor tests game manager

* add setPosition to Mock Text class
2024-06-10 23:35:24 +02:00
whatanoob
942c119814
[Bug] Fix toxic damage increment not resetting upon switching (#1844)
* Update phases.ts

Add reset toxic turn counter in PostSummonPhase

* Update phases.ts

Fix linting
2024-06-10 16:33:34 -04:00
SquillWall
a97933fe4c
[Bug] Fix inputs being annoying in the corner of the screen again (#2054) 2024-06-10 16:19:06 -04:00
Adrian T
bcfeaf0639
[Bug] add move effectiveness text color check to ignore ability (#2042) 2024-06-10 13:40:00 -04:00
José Ricardo Fleury Oliveira
36f3cc6b47
[Localization] Localizing "Loading..." text (#1822)
* localized "Loading..." texts

* fixes
2024-06-10 13:33:48 -04:00
Dakurei
c2375a0f5d
[Enhancement] Fix - Adjusts the color of the remaining PPs correctly to the theme (#2045)
+ Choose colors adapted to provide a contrast that facilitates reading (ratio of 3.0 or more)
    Tool used: https://webaim.org/resources/contrastchecker/
  + Refactoring of the condition to avoid unnecessarily assigning variable several times depending on the contents of 'ppPercentLeft'
2024-06-10 13:30:02 -04:00
SquillWall
f672ecc8ed
[Bug] resolve issue with input text persisting in top left of game screen in certain cases (#1982)
* resolve issue with input text persisting in top left of game screen in certain cases

* Clean up ui logic for fix
2024-06-10 11:41:01 -05:00
José Ricardo Fleury Oliveira
29d9ac7038
[Localization][pt] move pokemon-info-container label 1 pixel to the right (#2041) 2024-06-10 10:55:10 -04:00
Adrian T
7d55c165df
[QoL] add dynamic default pp color (#2039) 2024-06-10 10:46:08 -04:00
Greenlamp2
e29c08ba1f
[Test] Add Tests for Zen Mode Ability (#1978)
* added tests for zen mode - change form in battle

* added tests to run some battle against trainer/rival & boss

* added a test with a method to kill a pokemon

* added an override in the clock mocked to reduce the time of fainting pokemon and thus reducing test time from 5s to less than 1s

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper + fix some tests
2024-06-10 10:10:23 -04:00
Madmadness65
32d222c9cd
Implement Arceus Plates and Silvally Memories (#1195)
* Implement Arceus Plates and Silvally Memories

* German localization for items

* Run linter on changes, add items to zh_TW localization

* linter cleanup

* Finish localization for other languages

Names for items sourced from Bulbapedia. Names for the items in Portuguese could not be reliably sourced, so they were as directly translated as possible.

* Add custom Blank Memory item

Currently does nothing, but the idea is that it would be used if the all-in-one form change item idea is followed through.

* Update item atlas

* Use move.type instead of type.value

The type effectiveness now works again.

* Update comments

* Fix type changing affecting only Silvally

* Condense switch cases down to a single line

As per Brain Frog's suggestion.
2024-06-10 09:58:34 -04:00
Opaque02
5de0185c0a
[Bug] Fixed bug where pokemon info container shows form of pokemon that doesn't have it if the previously caught pokemon has a form (#2029)
* Fixed bug where pokemon info container will show form of a pokemon that doesn't have it if the previously caught pokemon has a form

* Updated pokemonFormText to also disable interactive section if there was one
2024-06-10 01:41:06 -04:00
Opaque02
91abddb693
[QOL] Updating pokemon-info-container to show what is new when you catch/hatch a pokemon (#1754)
* Adding UI elements for new gender, ability and nature

* Added new indicators for shiny, gender, ability and nature

* Changed position of gender icon to top left

* Changes with logging and old (+) indicators for nature, form and ability

* Updated to remove old code and comments, as well as various console logs

* Updated commented code

* Addressing PR feedback

* Updated form to have a label and form name, along with cutting off the form name if it's too long

* Updated stats container to move some labels around so there's less text clumped together

* Removed some old commented code

* Fixed some issues with typing and naming

* Accidentally pushed my overrides.ts before :). Sorry!

* Updated the form name's hover over section to only work when the text is truncated

* Updating the gender check to work off DexAttr instead of a weird 2

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 23:44:38 -04:00
Munbin-Lee
54aabceb29
[Localization][ko] Fix minor typo in hiker dialogue (#2009) 2024-06-09 21:26:33 -04:00
MadridPawmot
5cb8bb7fda
[Localization][es] Translated Ice Face text to Spanish (#2000)
* Translated Ice Face text to Spanish

* Added affix
2024-06-09 21:15:39 -04:00
layharu0
033c966f1b
[Localization][ko] Challenges gen4 desc typo fix (#2017) 2024-06-09 21:02:05 -04:00
Greenlamp2
d03c75c2f9
[QoL] Improve Input Accuracy by Refactoring Button Handling (#1936)
* refactored inputs-controller for better hold button management

* refactored the touch controls file to use a class and add holding button system

* added a method to deactivate pressed key for touch on focus lost

* better lost focus management
2024-06-09 19:15:37 -04:00
Tempoanon
f6ad30b58f
[Feature] Add evil teams assets (#1577)
* Fix tinted caught icon false positive

* Remove unused import

* Rename and optimize

* Block comment

* Draft of evil team grunt pokemon pools

* Add graphics and music

* Add grunt spawn logic

* Add Giovanni

* Add team leader graphics

Giovanni and Ghetsis already have sprites, so they do not need added.

* Add teams for other evil team bosses

* Fix some typos and change hp bars to 2/2/2

* Fix sprites and add random team boss

* Add forced grunt encounter and update dialogue

* Update locales

* also lint en trainers

* More merge conflicts

* Deleted some duplicate images

* Correctly renamed the grunt files

* Forgot about team rocket

* New Magma Sprites

* Adjusted the trimming. Now they dont have as huge of a shadow bbelow them

* Fix grunt sprites

* Add real dialogue

* German Localization of the Dialogue

* Changes

* Tweak waves grunts spawn on

* Fix some typos in dialogue

* Y is canon

* Disable evil team spawns

* Fix another merge conflict

---------

Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Jannik Tappert <tappertjannik@googlemail.com>
2024-06-09 19:02:29 -04:00
Dakurei
7ce209dd02
[Localization][fr] Fix FR typo 'Desert' instead of 'Désert' (#2021) 2024-06-09 17:26:03 -04:00
José Ricardo Fleury Oliveira
0d7af746ff
[Localization][pt] female achievements (#2013) 2024-06-09 16:23:20 -04:00
Jannik Tappert
ede56987f9
[Localization] Added german localization for challenges (#1943)
* Added german localization for challenges

* Update src/locales/de/challenges.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-06-09 16:11:51 -04:00
Charlie Giang
c746d0723f
[Move] fix for sparkly swirl apply check (#1059)
fix for sparkly swirl apply check

Update move.ts

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 16:08:33 -04:00
kvngrnr
aba9310ddf
[Enhancement] Color code for used PP in fight UI (#2014)
* Colorcode pp in fight ui if only half/quarter of maxPP is left

* Use three-level color coding for remaining pp

* use if/else for calculating pp color

---------

Co-authored-by: Kevin Greiner <greiner@infai.org>
2024-06-09 15:30:33 -04:00
José Ricardo Fleury Oliveira
8807efe002
[Localization][pt] Fixed ace trainer name typo (#2015) 2024-06-09 15:27:55 -04:00
ReneGV
fdc2d1cd02
[enhacement] Show Egg tier icon on starter UI (#1933)
* Show Egg tier on starter UI

* Use CamelCase on method name

* Remove egg if evolved

* Adding ts-doc
2024-06-09 12:45:21 -04:00
Jannik Tappert
a99bcbce3d
[Localization] Achievements are now based on Player Gender (because some languages differ based on that). (#1721)
* Achivments(localization of name and description) now depend on the player gender

* Fixed Name in ptBr config

* Now the achivments are also shown with a gender specific title

* Changed it so it checks if PlayerGender is undefined first

* Update src/locales/de/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/en/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/es/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/fr/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/it/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/ko/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/pt_BR/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/voucher.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/zh_CN/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/locales/zh_TW/config.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achv-bar.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/achv.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/ui/achvs-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* instantiate player gender on in AchvBar constructor

* Reverted the change made only for the tests. And adjusted the import to use the new enum file

* Changed a import to make vite build it again correctly

* Again some changes to the imports for the github docs that was complaining

* The new challenges are also now localized and gender based

* Readded getDescription

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-06-09 12:40:23 -04:00
Ei
c77508aef3
[Bug] Fixed getAttackMoveEffectiveness (#2006) 2024-06-09 12:37:50 -04:00
sodam
10ffe04274
[Localization][ko] #1761 Korean trainer dialogue (other unnamed trainers) (#1987)
* localized other unnamed trainers's dialogue

* Update src/locales/ko/dialogue.ts

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>

* Update src/locales/ko/dialogue.ts

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>

* Update src/locales/ko/dialogue.ts

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

---------

Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-09 12:29:15 -04:00
José Ricardo Fleury Oliveira
6e599de870
[Localizatoin][ptBR] achievements (#1981) 2024-06-09 12:22:18 -04:00
Tempoanon
04bad2e15d
[Feature] Update E4 teams (#1851)
* Update E4s

* Accidentally made double Poliwrath

* Fixed some typos in the champ part

* Update based on Fontbane's comments
2024-06-09 12:20:00 -04:00
InnocentGameDev
81431c9ad5
[Localization] Locales punctuation fix in descriptions in (en/es/de/it/fr/ko/pt/zh) modifier-type.ts, and other German locales punctuation fixes (#1696)
* Fix locales punctuations

  In: en, es, fr, it, pt_BR, zh_CN, zh_TW, de, ko

  + Fix somes locales

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/ko/modifier-type.ts

Shiny/Ability charm punctuation fix by MrWaterT

Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
2024-06-09 11:57:53 -04:00
Greenlamp2
67cb79a435
revert changes in trainer.ts to fix an issue induced by #1986 (#2005) 2024-06-09 10:54:15 -04:00
Xavion3
d06e5d2fc6
Fix doubles battles bugs with challenges (#1986)
* Fix doubles battles bugs with challenges

* Make a fully illegal party gameover instead of error
2024-06-09 14:37:33 +02:00
Madmadness65
c1405c7fd6
[Hotfix] Add Mixed Battle BGM entries for the Gen 1-5 trainers (#1988)
* Add Mixed Battle BGM entries for the Gen 1-5 trainers

* Also fix regular trainers
2024-06-09 01:48:32 -05:00
td76099
8a0eaa0009
[Bug] Fixing multi-hit drain moves so they heal based on individual hit and not total turn damage (#1974) 2024-06-08 23:53:03 -04:00
Madmadness65
67a0ae49b3
Add new Gym Leader, Elite Four, and Champion music (#1971) 2024-06-08 20:51:37 -05:00
SquillWall
a1171eceb9
[QoL] Show currently bound controls on starter menu for last active device (#1859)
* show currently bound controls on starter menu for last active device

* add special handling for touch controls

* remove hardcoded controls for all locales
2024-06-09 03:35:11 +02:00
Xavion3
07f0a67c78
Make getTypes ignore transform when ignoring overrides (#1976) 2024-06-08 21:08:30 -04:00
Xavion3
f0a826b8f4
[Bug] Fix Victini's generation for challenges. (#1973)
* Make victini count as gen 5 challenge instead of 4

* Add comment
2024-06-08 21:06:36 -04:00
Pancakes
ae02943b16
Use secure cookies 2024-06-08 21:03:33 -04:00
40chyan
60a3edb918
[Localization] challenge.ts zh_cn translation (#1958)
* Update challenges.ts

* Update challenges.ts
2024-06-08 19:06:27 -05:00
Xavion3
8e0e8952da
Fix switching moves in challenge mode (#1972) 2024-06-09 01:05:18 +02:00
Greenlamp2
dd40c8caa2
added silent option to run tests and added a missing properties in the MockText (#1967) 2024-06-08 21:24:57 +01:00
Greenlamp2
c301a54039
[Improvement] Refactored Test Phase Management with Error Handling (#1962)
* better phase management in tests

* cleanup runFrom/to

* first step of async error handling

* second step of async error handling, halt await, still an issue with select-starter test

* added back whenAboutToRun

* added back full run suite for starter-select.test.ts
2024-06-08 20:54:20 +01:00
SeafoamQueen
0af0ad5b49
[Bug] Fix run away ability (#1890)
* Added fix for Run Away ability being trapped by trapping abilities.
Added fix for ghost type pokemon not having a 100% chance to run from battles.

* Removed log statement

* Removed commented out code

* Removed ghost type run away mechanics
2024-06-08 15:46:16 -04:00
Yentis
3f9eaf4a5d
Add setting for showing type effectiveness hints (#1061)
* type hints

* fix overwritten change

* don't set color to white, just leave it unchanged

* remove unrelated code

* don't show hints if no opponents, use type effectiveness instead of move effectiveness

* fix color not going back to white when new opponent is sent

* move effectiveness to move info container

* add effectiveness overlay, partial hints only show move effectiveness, improve colors

* lint

* docs

* remove full hints, move container to right of enemy info box

* hide effectiveness while flyout is visible

* move setting to display, use default style color instead of white
2024-06-08 15:33:13 -04:00
Adrian T
5e5ece868c
[Localization][es] Add missing curly brace (#1965) 2024-06-08 15:04:50 -04:00
MadridPawmot
281f0df220
[Localization][es] Update menu.ts (#1964) 2024-06-08 14:47:01 -04:00
Lugiad
751e28d2fc
[Localization][fr] French update the menu.ts (#1955)
* Update French menu.ts

* Update French menu.ts
2024-06-08 14:38:52 -04:00
MadridPawmot
66734c396b
[Localization][es] Spanish translation (#1963)
* Translated challenges.ts to Spanish

* Added Spanish translation

* Added Spanish translation

* Translated Pokerogue exclusive items to Spanish
2024-06-08 14:35:51 -04:00
José Ricardo Fleury Oliveira
40727bdc16
[Localization] Localize "Loading asset:" text (#1961)
* localized "Loading..." texts

* fixes

* localized loading asset

* fix
2024-06-08 14:34:05 -04:00
José Ricardo Fleury Oliveira
480a2568a9
[Localization] Fixed the localization of getModeName and "Wave" text (#1953)
* localized getModeName

* wave fix
2024-06-08 11:28:45 -04:00
José Ricardo Fleury Oliveira
7cee16cee2
[Localization] Localized game-mode and save-slot-select-ui-handler (#1728)
* localized game-mode and save-slot-select-ui-handler

* Update src/locales/de/game-mode.ts

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

* Update src/locales/de/save-slot-select-ui-handler.ts

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

* Update French save-slot-select-ui-handler.ts

* Update French game-mode.ts

* Update French game-mode.ts

* Update Spanish game-mode.ts and save-slot-select-ui-handler.ts

* fixes

* fix 2

* Update src/locales/ko/game-mode.ts

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

* Update src/locales/ko/save-slot-select-ui-handler.ts

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

* fix 3

---------

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: GoldTra <ericpazos02@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-08 11:03:01 -04:00
José Ricardo Fleury Oliveira
3c94d5aa83
[ptBR Localization] Added many translations (#1951)
* translations

* english parity
2024-06-08 10:53:25 -04:00
dorri-riddo
1fdfc6256f
[Localization] #1761 Korean trainer dialogue (blueberry academy) (#1950)
* [Localization] #1761 Korean trainer dialogue (blueberry academy)

* 오타 수정
2024-06-08 10:29:59 -04:00
Lee ByungHoon
a4cb75aaf0
[Bug] Fix to show current locale in setting (#1942)
* [Bug] Fix to show current locale in setting

* Add default value of lauguage option
2024-06-08 10:15:53 -04:00
Lugiad
bd5d16802a
[Localization] Added French localization for challenges (#1945)
* Update challenges.ts

* Update French challenges.ts

* Update French challenges.ts

* Update French challenges.ts

* Update French challenges.ts
2024-06-08 09:51:29 -04:00
sodam
64d36c9864
[Localization] Added Korean localization for challenges (#1946)
* traslated challenge mode script

* modified my mistake

Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>

* deleted unnecessary word

---------

Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>
2024-06-08 09:49:17 -04:00
Seonghyeon Cho
2d9f05030b
[Localization] Fix typo in skill name (비검천충파 -> 비검천중파) (#1937) 2024-06-08 09:47:35 -04:00
hayuna
b4cf80a984
[Bug] Override battles into single only if not fighting with trainers (#1949) 2024-06-08 09:41:56 -04:00
Jannik Tappert
3ef495c126
Fixed Spelling mistake in Tate & Lizas Double Dialogue (#1944) 2024-06-08 19:59:49 +10:00
Xavion3
8142f26833
Fix endless starter points (#1941) 2024-06-08 15:31:31 +10:00
Xavion3
696ff6eae3
Add Challenges (#1459)
* Initial challenge framework

* Add type localisation

* Change how challenges are tracked

Also fixes the difficulty total text

* MVP

Renames challenge types, temporarily hides difficulty, and implements challenge saving.

* Attempt to fix one legal pokemon in a double battle

* Make monotype ignore type changing effects

* Make isOfType correctly detect normal types

* Try to fix double battles again

* Make challenge function more like classic

* Add helper function for fainted or not allowed

* Add framework for fresh start challenge and improve comments

* Try to fix evolution issues

* Make form changing items only usable from rewards screen

* Update localisation

* Additional localisation change

* Add achievements for completing challenges

* Fix initialisation bug with challenge achievements

* Add support for gamemode specific fixed battles

Also make monogen challenges face the e4 of their generation

* Add better support for mobile in challenges

* Localise illegal evolution/form change message

* Update achievement names

* Make alternate forms count for monogen

* Update monotype achievement icons

* Add more comments

* Improve comments

* Fix mid battle form changes

* Reorder mode list

* Remove currently unused localisation entry

* Add type overrides for monotype challenges

Meloetta always counts for psychic and castform always counts for normal

* Change how form changes are handled

Now attempts a switch at the start of each turn instead of immediately

* Add start button to challenge select screen

* Make starter select back out to challenge screen if using challenges

* Fix daily runs

* Update tests to new game mode logic
2024-06-08 01:07:23 -04:00
Matthew
9c97e37c27
initVouchers correctly (#1940) 2024-06-07 23:50:07 -04:00
Madmadness65
bf5b6e3f6b
[Enhancement] Add more legendary battle music; add music preference setting (#1753)
* Add more legendary battle music; add music preference setting

* Replace BDSP tracks

"Souless", they say. Naysayers, I say.

* Update for settings menu refactor

* Remove unnecessary Reshiram/Zekrom music calls

The default legendary battle music is the Reshiram & Zekrom battle theme anyways, so removing these lines make it functionally identical.

* Update for settings menu refactor AGAIN
2024-06-07 21:52:14 -05:00
sodam
aa7c354be8
[Localization] #1761 Korean trainer dialogue (Gym leader in Johto region with Elite-4) (#1878)
* [Localization] #1761 Korean trainer dialogue(Gym leader in Johto with Elite-4)

* [Localization] #1761 Korean trainer dialogue(Gym leader in Johto with Elite-4)

* fixed word (by korean grammer)

* made chuck's dialogue clear

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

* made lorelei's dialogue clear

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

* fixed the spacing at dialogue.ts

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

* fixed the spacing at dialogue.ts (with GINK-SS)

* Modified Karen's dialouge more characteristic

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-07 22:32:30 -04:00
NightKev
ff7429f240
[Bug] Update Sweet Scent to reduce evasion by 2 (#1910)
cf https://bulbapedia.bulbagarden.net/wiki/Sweet_Scent_(move)
2024-06-07 21:42:17 -04:00
Matthew
3022aabc32
Cleanup format, show correct value for money rewards (#1926) 2024-06-08 02:09:12 +01:00
Matthew Olker
7422ebdb28 Walker asked me to commit to main 2024-06-07 19:43:21 -04:00
Greenlamp2
1a149bfa04
[Testing] Flexible Testing Wrapper for Phaser-Based Battle-Scenes (#1908)
* refactor executed code while importing and initializing all of these in loading-scene

* reset to main

* fix server url

* added rule no-trailing-spaces

* made progress

* test somme data from a session save is working

* trying to launch a battle

* added fetch wrapper to load data locally

* trying to mockAllSettled

* pushPhase & shiftPhase

* check integrity of exported session

* set toke + loggedInUser in tests

* progress on starting new battle

* tring to test phase but it's async

* mocking fetch

* working mock fetch

* need to handle pile of data

* attempt to use real phaser classes

* reorder overrides

* refactored to use some real classes from phaser

* removed useless things

* started to work on some container mock

* finished the mockContainer time to add some logic

* some more mock containers

* removed addMethods since there is the mock classes now

* commented issues

* attempt to create mockTextureManager

* fix tests

* mockSprite & mockText

* yes but not really

* yes but not really

* fix tutorial callback

* reached mode title

* added achievement tests

* fix test achievements with current state of mock

* correct sequence loading for BattleScene with mockLoader !

* deep dive into next step

* working wait until starter selection screen

* added newGame method into wrapper

* expect to save_slot

* trying to manage pokemon sprite for getAll without success yet

* added test for egg output

* fixed egg test for June

* fix tests + locate next issue to fix

* we are in battle baby

* added new game in one-line

* export is working but export only what's in the fetch

* fix start game as guest

* refactored how we start a battle + cleanup

* overrided mewtwo but issue with currentBattle

* refactor: rename InitAchievements to initAchievements

* added missing mock method

* override level and pokemon forms working as intended

* bringToTop Obj

* remove launch battle in achivement test

* fix getIndex when same pokemon

* can run all tests

* first attack, faint, and shop modifiers, MockClock

* on method for container

* added doAttack one-liner

* one-line export data

* removed throw error

* feat: Make `scenes` property of `GameWrapper` class public

The `scenes` property of the `GameWrapper` class was changed from private to public. This change allows external access to the `scenes` map, which is used to store Phaser scenes. This modification was made to enable easier manipulation and interaction with the scenes in the game.

* correction

* removed CanvasRenderer

* added a param to remove console.log and added a param to preven scene create call

* fix encounter wave 30 when it's a trainer

* test double-battle

* test fight without KO

* test double fight no ko

* fix crashing texture + added Text wrapper to log fight

* fix tests on boss - trainer - rival

* chore: Refactor BattleScene initialization and add new phases

Refactor the BattleScene initialization code to remove unnecessary delay and improve performance. Also, add new phases for the title and unavailable states to enhance the game experience.

* rework of Game tests

* skipFn is working

* added onNextPrompt and restore Og Start

* better newGame

* added skipFN in remove

* not yet working test but updated interceptors

* do attack work but not on PostSummonPhase phase when there is mention of silcoon and wurmple

* error located, it's just a double fight, i was not there yet

* single OHKO & double no OHKO

* added expirationFn into next prompt

* all tests are passing

* working test on non damaging move from opponent

* cleaned a bit

* removed phaser initialisation on every tests

* renamed test file

* added load system data

* added some ability support

* added onKill & onSummon abilities test

* removed useless test + cleanup

* removed useless test + cleanup

* fixed tests after merge main

* added itemHeld endTurn trigger test (toxic orb)

* added runFrom..To

* added mustRun to assert currentPhase

* added no-miss move to test things

* cleaner restore mock

* fix test

* fix moxie test + game speed

* improve test speed

* added onOurself and onOpponent mvoe test

* added onDamage test for tackle

* removed timeout in intervals to run tests faster

* cleanup

* added never crit override + separate file per test + remove randomness in randBattleSeedInt

* move folders

* better org

* renamed itemHeld folder to items

* fix deploy.yml

* cleanup

* simplified the gameManager start battle and allow single pokemon in party

* remove the need of mode development

* added input handler to test inputs + remove time from phaser into inputController

* added keyboard support

* added fakeMobile support

* added details

* removed a console.log + added logUp

* move test to folder

* fixed canvas issue

* added starter select tests

* added some more test on starter-select

* added battle-order tests

* added battle-order tests

* fixing Phaser RNG

* ordering stats for better reading

* fix tests for main

* adapt battle-order test to be more readable

* fix merge

* fix some errors and silent all errors from gameWrapper since it's not possible to avoid them

* fix mocks to manage childs & stuffs

* added some docs

* fix achievement test

* removed an unused file

* separate misc tests to clean battle.test file

* added a basic french lokalization test

* added i18n where it needs to be used only

* revers extracted method

* removed unused method

* removed handler fetch since we do not test anything server related

* fix test with handlers removed

* added intrepid sword test

* fix enum exp party

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-06-07 18:33:45 -04:00
Madmadness65
3d87e86e58 Fix minor typo in Surskit's German name 2024-06-07 16:57:26 -05:00
Jannik Tappert
ece7c9f2d5
Added missing german dialogue for sailor and firebreather (#1883) 2024-06-07 22:51:49 +01:00
AJ Fontaine
f3898dbabd
[Bug] Fix female trainer names on male Backpackers/Hikers (#1919)
* Fix female trainer names on male Backpackers/Hikers

* Remove duplicate Backpacker Ruth
2024-06-07 17:44:35 -04:00
AJ Fontaine
eb058d7eb7
[Bug] Fix Harvest not checking stack limits for berries (#1920) 2024-06-07 17:42:48 -04:00
Madmadness65
83c11a0865 Allow Partner Pikachu & Eevee to Gigantamax
Note that they will revert back to regular Pikachus and Eevees if deactivated due to an existing bug with the form changes.
2024-06-07 16:21:18 -05:00
Matthew Olker
63d98fe70e Hotfix: types breaking gh-pages action 2024-06-07 17:05:44 -04:00
td76099
0a17c2495a
Bugfix: Abilities check final move type instead of default move type (#1440)
* Added check for move changing type before determining if defending is immune to it because of an ability

* Remove duplicate Ability change class and added getType() function under a move

* Reworking how moves get passed into hit calc

* Fixing exceptions and overreaching changes

* reverting forwarn and dancing move back to original since they are not being changed

* fixing some small move related bugs

* Fixing file permissions after testing

* Fixing move type not resetting after individual MoveEffectPhase

* Fixing move.ts permissions (again)

* Addressing some MR feedback and adding some documentation for PokemonMove class
2024-06-07 16:57:57 -04:00
sodam
636cb9c8f2
[Localization] #1761 Korean trainer dialogue (some unnamed trainers) (#1911)
* localized to korean (some unnamed trainers)

* fixed dialogue's meaning clear

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

* fixed spacing right

Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: Sangmin Lee <66083363+GINK-SS@users.noreply.github.com>
2024-06-07 21:52:31 +01:00
prime
f5f98ec537
[Bug] fixed wrong stacking of move info overlay issues (#1888)
* fixed wrongly stacking overlay issues

- starter selection
 - IVs are now behind the overlay
 - the overlay should clear when exiting it via controller (requires tests as i don't have a controller)
- TM
 - will prevent C/Shift from showing the overlay until the next item selection, when selecting a TM as item reward.
 - will prevent C/Shift from showing the overlay when canceling item selection

* removed reference to previously deleted resource

* fixed override
2024-06-07 16:45:49 -04:00
Jannik Tappert
97dde2d1f3
[QoL] Added https and server url is read from the env now (#1764)
* Added https and server url is read from the env now

* Added the new key to the vite.env.d.ts
2024-06-07 21:43:32 +01:00
Arxalc
7c3ace7204
[Bug] Fixed primal weather interaction. (#1744)
* Fixed primal weather interaction.

* Made adjustments

* Improved code readability
2024-06-07 15:22:06 -04:00
Corrade
c177f3c1fb
[Bug] Ignored strong winds for stealth rock and anticipation (#1682) 2024-06-07 15:15:24 -04:00
Lee ByungHoon
d592187f2c
[Localization] Add localization in party-ui-handler (#1712)
* [Localization] Add localization in party-ui-handler

* [Localization] Add "Release", "Apply", "Teach" localization, changed translation of Korean

* [Localization] Translated party-ui-handler's localization to Deutsch
2024-06-07 15:08:34 -04:00
Madmadness65
a224f5e822 Add Partner Pikachu & Eevee party icons
This also necessitated giving them unique front & back sprites too, even if they are currently just duplicates of the normal forms. This change will help players identify when they are using/have encountered a Partner Pikachu or Eevee.
2024-06-07 13:58:48 -05:00
Adam Clemons
fb21caa769
[Bug] Fix ability Download switch in (1669) (#1679)
* Update ability Dowbload

* Remove whitespace

* Update ability.ts
2024-06-07 14:17:22 -04:00
hayuna
bb1dde5b0c
[Refactor] Move enum ExpNotification into separated file (#1909)
* Move enum ExpNotification into separated file

* Update phases.ts

* Change type of this.scene.expParty into enum
2024-06-07 13:14:52 -04:00
雪霁
19712e0d43
fix language auto detect (#1784) 2024-06-07 11:27:42 -05:00
Matthew Olker
20a3a4f60f added a few more gameobject names for debug 2024-06-07 10:27:36 -04:00
MutenYoshii
f17a4ff3f2
[Move] Implemented Court Change (#1799)
* [Move] Implemented Court Change

* Returned overides to normal

* Added recommended changes

* Removed an unnecessary if statement for swaparenatagsattr

* Move the swaptags array to the call as well as changes to the quiet boolean

---------

Co-authored-by: Juan <jmora279@fiu.edu>
2024-06-07 09:27:11 -05:00
MadridPawmot
4745b591c2
[Localization] Spanish dialogues (#1892)
* Update dialogue.ts

* Fixed typo
2024-06-07 15:02:24 +01:00
Sangmin Lee
50bf717c5c
[Localization] #1761 Korean trainer dialogue (roark, gardenia, maylene, fantina) (#1905)
* [Localization] #1761 Korean trainer dialogue (roark, gardenia)

* [Localization] #1761 Korean trainer dialogue (maylene, fantina)

* Modified Roark's dialogue more natural

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-07 09:57:14 -04:00
DustinLin
ffdbdc1139
fix sleep talk targeting (#1813) 2024-06-07 13:38:22 +01:00
José Ricardo Fleury Oliveira
132d01776e
[ptBR Localization] Updated dialogue.ts, Tera Shards and trainer.ts (#1881)
* updated sailor dialogue

* tera fix

* trainers

* ice face
2024-06-07 12:57:10 +01:00
Cycrum
cc2e31dbe0
[Localization] Corrected capitalization on Quick Claw activation text (#1894)
* Update pokemon-species.ts

Updated Pokemon genders to canonical rates

* Corrected capitalization of Quick Claw activation
2024-06-07 00:45:36 -04:00
MrWaterT
a852106a9d
[Localization] Correct and apply updates to Korean (#1863)
* [Localization] Apply Korean to update

ability-trigeer.ts
  windPowerCharged: Wind Power/Wind Rider #1566
  Perish Body #1554
  Poison Heal #1245
menu.ts
  Loading screen disclaimer 7c9e5e9
modifier-type.ts
  TM description with overlay key notice #1585

* Correct wrong text and align text width

change RV
remove space from FGEN

* Edit wrong space

* Use special color(official) rather than unofficial shiny

* Translate iceFaceAvoidedDamage
2024-06-07 00:19:45 -04:00
Xavion3
9013921523
[Bug] Fix speed tie code (#1895)
* Fix speed tie code

* Fix off by one error

* Shuffle before sorting to make code cleaner
2024-06-06 23:01:13 -04:00
DustinLin
a815b73d96
[Documentation] documentation of move.ts (#1828)
* starting documentation of move.ts

* more docs

* fixing comments

* updating comments
2024-06-06 20:11:14 -05:00
Raidette
209a69d098
[Move] Rototiller implementation (#1885)
* rototiller implementation

* attack now fails if no eligible grass type pokémon is fielded
2024-06-06 17:22:04 -04:00
Greenlamp2
9c1a13eb54
Fix - double inputs (#1842)
* fix an issue where the input repeated itself too fast

* remove remnant code
2024-06-06 22:55:01 +02:00
returntoice
a18d796e2e
[Localization] Fix Korean multi lens description (#1891) 2024-06-06 16:43:25 -04:00
Cycrum
4fcc3ef9ff
[Feature] Update Gardevoir, Glalie, and Meloetta genders (#1864)
Updated Pokemon genders to canonical rates
2024-06-06 16:19:41 -04:00
Jannik Tappert
1312d4f825
[Qol] The title will now be displayed in the voucher overview (and flyout) (#1886)
* The title will now be displayed in the voucher overview

* Update src/system/voucher.ts

* Intend
2024-06-06 15:01:21 -04:00
Tempoanon
ac8ae6c724
Thunderclap should not let the AI read your inputs (#1884) 2024-06-06 12:59:22 -05:00
Tempoanon
609efb0cf9
Fix typo in healing charm for Chinese localization (#1874) 2024-06-06 12:58:02 -05:00
Matthew Olker
1276006de3 Money shouldn't cover full screen even if its funny 2024-06-06 13:30:43 -04:00
HighMans
17edaeb708
[QoL] Sort items on summary screen (#1880) 2024-06-06 13:13:14 -04:00
MadridPawmot
f3de114d2b
[enhancement] Added Sailor trainer class (#1411)
* Add files via upload

* Update trainer-type.ts

* Update biomes.ts

* Update trainer-config.ts

* Update trainer-names.ts

* Update trainer-names.ts

* Update trainers.ts

* Update trainers.ts

* Added German translation

Thanks to CodeTappert

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts to resolve conflicts

* Fixed syntax error

* Update biomes.ts

* Re-added possible biomes for the Sailor trainer class

* Added data for dialogue lines for the sailor class

* Added dialogue from FRLG

* Added locale

* Added locale

* Added locale

* Update trainers.ts

* Added locale

* Added locale

* Added Korean translation

* Added locale

* Added Portuguese translation

* Added locale

* Added locale

* Added Mandarin Chinese translation

* Added Cantonese Chinese translation

* Added images

* Recentered sprite

* Added Spanish translation for the dialogue

* Delete duplicate

* Delete duplicate

* Updated dialogue with requested changes

* Update Spanish translation to reflect the changes

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts
2024-06-06 11:55:32 -05:00
Noor Q
14b5d141c1
[QoL] Added an indicator when money changes. (#1772)
* added an animation and color shift when adding/removing money

* eslint fix

* The animation is now vertically centered, larger and faster.
2024-06-06 11:50:02 -05:00
Lee ByungHoon
90aa9b4209
[Localization] #1761 Korean trainer dialogue (#1853)
* [Localization] #1761 Translation to Korean about some trainers

### trainer list
- ace_trainer
- parasol_lady
- twins
- cyclist
- black_belt

* fixed the grammar of some sentences. and changed Korean about ace trainer.

* Modify translation dialogue with parasol lday and cyclist
2024-06-06 12:22:31 -04:00
HighMans
a221a46220
Attempt to sort items on summary & battle screen for user's party. (#1188)
* Sort items in summary screen by type then name.

* Use modifierSortFunc from modifier.ts

* Implement proper sort function which also applies to the battle scene.

* Implement proper sort function which also applies to the battle scene.

* Run linter.

* Fix type assertions.
2024-06-06 11:10:38 -05:00
Dmitriy K
223d8a731d
[Feature] Implement Full Heal/Lum/Full Restore to heal Confusion #1658 (#1876)
* Added Confusion to be healed with Full Heals and Full Restores

* Semi-Colon oversight

* Changed resetStatus to have a condition whether to include confusion or not, defaults to false so you manually have to add

* Fixed spacing and semicolon

* Refactored the Lum Berry case

* Fix berry conflicts

* Update {}

* Fix PP Conflict

* Build fix?

* Fix Modifier

* Build Fix

* Fix

* Fix StatuHeal from eslint

* Fix revive (will show testing through everything again)

* Update documentation

---------

Co-authored-by: Ethan <hensley.ethan64@gmail.com>
Co-authored-by: Ethan <71776311+EvasiveAce@users.noreply.github.com>
2024-06-06 12:04:16 -04:00
Adrian T
8d6a0bb0a1
[Ability] Implement Ice Face (#1755)
* implement ice face ability

* remove showing ability bar

* fixes

* add documentations

* move code out of phases.ts

* add hardcoded eiscue check, localization

* add KO locale

* remove unnecessary constructor

* use && instead of || to specify ice form on eiscue
2024-06-06 11:49:50 -04:00
SeafoamQueen
3fea384dc1
[Feature] Added Battle Style setting (#1872)
* Added Battle Style setting with Shift and Set options

* Changed 'Shift' option to 'Switch' to match the Gen 8 setting.
2024-06-06 11:26:04 -04:00
José Ricardo Fleury Oliveira
cb27fc2b06
[Localization] ptBR removing capital letters in battle.ts (#1873) 2024-06-06 11:19:38 -04:00
h44451890
94099e0fba
Fix all ability name and description of zh_tw (#1478) 2024-06-06 10:17:53 -05:00
Lee ByungHoon
081d813540
[Feature] Move to start button when you can't add party anymore (#1673)
* [Feature] Move to start button when you can't add party anymore

* Add comment about #1673

* Update starter-select-ui-handler.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-06-06 10:12:19 -05:00
c4vv
e0401a93aa
[Bug] Fix generateVariant to account for forms (#1783)
* Add form check to generateVaraint

* Add index check

* Fix for typedoc
2024-06-06 10:55:50 -04:00
SeafoamQueen
5ac1b7245f
[Feature] Refactored Game Settings UI navigation menu and sorting (#1860)
* Refactored settings UI menu options and added the battle style setting

* Removed the new Battle Style setting. It will be added in a seperate PR.

* Fixed typo and spacing
2024-06-06 10:38:54 -04:00
dorri-riddo
63ce24afb2
[Localization] #1761 Korean trainer dialogue (ramos, viola) (#1868) 2024-06-06 10:22:46 -04:00
José Ricardo Fleury Oliveira
9c4c4005ae
[Localization] ptBr battle.ts translations (#1870) 2024-06-06 10:12:40 -04:00
Laeticia PIERRE
f53dce432b
useMove + pokemon affix localization (#1276)
* useMove + pokemonPrefix localization

* Rename prefix to affix + line break fr

* getPokemonAffix to getPokemonNameWithAffix + remove space + replace

* Better getPokemonNameWithAffix switch

* Ko locale + fix es locale

* Doc getPokemonNameWithAffix + getPokemonMessage + fix

* Ko translate / missing weather changes

* Fix conflicts getPokemonPrefix

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-06-06 08:36:12 -05:00
Frede
40328d5712
[BUG] Fix Move Info Overlay Scroll Bug (#1856)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* correctly reset move description scrolling when changing move

* override fix

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-06 08:22:37 -05:00
José Ricardo Fleury Oliveira
0e9bcfb4fd
[Bug] Minor ptBR mint fix (#1852) 2024-06-06 01:23:44 -04:00
flx-sta
a8489cc707
[Bug] Revert start-label text to translation (#1855) 2024-06-06 01:18:54 -04:00
Benjamin Odom
5e52be676f
[QoL] Add Time of Day Widget to Arena Flyout (#1846)
* Time of Day Sample

* Add Proper Time of Day Tracking

* Add Settings
2024-06-05 22:57:55 -05:00
AJ Fontaine
daa9e1ef0f
[BUG] Fix fullheal, burn/poison, and endure tokens in existing saves not updating after rebalance (#1848)
* Fix tokens not actually updating

* Remove changes to getArgs

* Added parentheses around conditional for safety

* Laid a space betwixt the two and its respective one at the behest of Temp
2024-06-05 23:07:47 -04:00
José Ricardo Fleury Oliveira
c1b4be83d0
translations (#1850) 2024-06-05 21:52:59 -05:00
returntoice
6b31db0bc5
[Localization] Paldean gym leaders and elite 4 dialogue Korean translation (#1838)
* Your commit message

* localization
2024-06-05 21:54:08 -04:00
sodam
19114e4fd3
[Localization] #1761 Korean trainer dialogue (Gym leader in Hoenn region) (#1830)
* localized to korean (Gym leader's dialouge in Houenn region)

* modified the spacing

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

* modified the spacing

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

* modified the spelling

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-05 21:52:30 -04:00
prime
1c98106642
[QoL] Move Info Overlay (#1585)
* move info implemented for starter selection

a move info box is displayed when editing the starter moveset.

also menus have now onHover triggers.

todo:
- show ui when selecting TMs
- show ui when selecting moves to remember (memory mushroom)

* More Move Info Overlays

Added overlays during Memory Mushroom use and when viewing TMs.
Furthermore a settings option can enable/disable those overlays.

* Added missing ko language entry

... though translation still remains necessary

* updated ui

also added overrides for item rewards

* minor ui update

moved values to the right in the tm move info box

* fixed typedoc issues

* removed settings in to prepare for merge

* updated settings option

added settings option to new settings implementation

* minor changes

removed unused graphic
moved settings option to accessibility
2024-06-05 20:28:12 -05:00
Matthew
c5689dfc96
dont make api calls when no server is connected in local (#1847)
* dont make api calls in local without a server connected and fix fusionLuck not set by default
2024-06-05 21:24:47 -04:00
Tempoanon
6d35399c31
[Bug] Change confuse chance from 2/3 to 1/3 (#1827) 2024-06-05 20:05:44 -05:00
flx-sta
283714bd0f
[Refactor] Move enums from game-data into their respective files in src/data/enums (#1837)
* move PlayerGender enum into src/data/enums/player-gender.ts

this is necessary to avoid circular dependencies which did crash tests in the past (in PRs)

* Update settings.ts

* Update game-data.ts

* Update summary-ui-handler.ts

* Update ui.ts

* move Passive & GameDataType enums into own files
2024-06-05 19:11:07 -05:00
Blitzy
46dc7e9b01
[Balance] Give Partner Pikachu its Signature Moves and change Cosplay's stats (#1737)
* Update Cosplay Pikachu stats

* Give Partner Pikachu its signature moves in its learnset

* Added a "custom" note next to stats

* Spread out signatures per Brain Frog's request
2024-06-05 16:56:31 -05:00
Xavion3
4b36d38acb
Hotfix for NaN luck (#1840)
Makes luck default to 0 if false-y
2024-06-05 20:42:15 +01:00
Matthew Olker
3855b92237 fix weird luck when catching a fused mon 2024-06-05 15:41:04 -04:00
José Ricardo Fleury Oliveira
4a9fe763a5
[ptBR] Translated text (#1821)
* translated disclaimer

* minor fix
2024-06-05 12:44:48 -05:00
YounesM
e614aec8ca
[Bug] Fix for Dancer activating when enemy in not on field / using a 2 steps charging move (#1708)
* Fixes !1686 and !1450

* Added forbidden tags

* Restored original import indentations

* Restored missing import
2024-06-05 13:10:24 -04:00
Matthew Olker
b532a6b2d0 okay not that lucky 2024-06-05 11:21:47 -04:00
Matthew Olker
6d71db0f13 luck based encounter 2024-06-05 11:02:58 -04:00
NightKev
395fa6e33d
[Bug] Allow second mon of a fusion to learn/remember on-evo moves (#1778)
Fixes #520
2024-06-05 10:36:42 -04:00
GoldTra
dce4518b93
Updated Spanish translations (#1825) 2024-06-05 09:24:33 -05:00
Frede
fe732bbbe6
[QoL] Pokemon Info Container hides Enemy Modifier Bar (#1820)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* pokemonInfoContainer always on top of battle UI when shown

* removed setDepth and rather hide enemyModifierBar

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-05 10:09:06 -04:00
Lee ByungHoon
e599931ff3
[Localization] Add Korean trainer dialogue (youngster, lass) (#1809)
* [Localization] #1761 Korean trainer dialogue (youngster, lass)

* changed ellipsis character that used 3 character to used 1 character.

* Update src/locales/ko/dialogue.ts

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

* Update src/locales/ko/dialogue.ts

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

* Update src/locales/ko/dialogue.ts

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-05 10:00:43 -04:00
Adrian T
bd34fc0b47
[Bug] Fix quick claw message showing if command is not fight (#1819) 2024-06-05 09:38:43 -04:00
Madmadness65
219f227cab Remove basic Voucher from Ultra item pool
It should only be in the Great item pool now.
2024-06-04 21:53:22 -05:00
sodam
7cc5ca1839
[Localization] Korean Kanto gym leader dialogue ( (#1794)
* localized to korean (Gym leader's dialouge at Kanto region)

* modified Brock's dialogue clearly

* Add missed word to lt_surge's dialogue
2024-06-04 22:17:49 -04:00
Madmadness65
1dd7a792d4 Fix Wide Lens being accidentally added to Rogue pool 2024-06-04 21:15:10 -05:00
damocleas
dd3ffb4315
Voucher Item tier changes/addition (#1516)
* Voucher Item tier changes/addition

- Voucher moved from Ultra -> Great Tier, given a weight of 1 and disappears after first reroll, should still appear more often with a healthy team than in ultra tier at all.
- Voucher Plus moved from Master -> Rogue Tier, with weight starting at 9 -> 5 and decreasing with each reroll with 3 -> 2
Should appear just a bit more often than before.
- Voucher Premium added to Master (based on suggestion from Madmadness) with same weight as new Voucher Plus, and disabled in Endless / Endless Spliced
Should appear ~20% of the time with *perfect luck* in a whole average classic run.

Overall would be a 40-45% increase in total eggs in perfect conditions (luck, healthy team, etc.)

* fixed an extra spacebar at the end of 1303

* fixed an extra spacebar at the end of 1360

* fixed to account for Wide Lens being added
2024-06-04 22:05:29 -04:00
Matthew Olker
7eb0e8e77d revert pokemon info container depth change 2024-06-04 21:45:36 -04:00
Matthew Olker
7c9e5e9f52 loading screen disclaimer 2024-06-04 21:41:36 -04:00
Matthew Olker
5464f964c9 add more gameobject names for debugging 2024-06-04 21:06:46 -04:00
Frede
cfe9b3303a
[QoL] Pokemon Info Container always on top of Battle UI (#1782)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* pokemonInfoContainer always on top of battle UI when shown

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-04 21:05:25 -04:00
Adrian T
48f60a5b50
[QoL] add message when quick claw is triggered (#1684) 2024-06-04 18:11:30 -04:00
Benjamin Odom
d04010226d
[Bug] Fix Leppa Berries not Updating Flyout PP (#1806)
* Fix Leppa Berries not Updating Flyout PP

* Code Cleanup

* Update battle-flyout.ts
2024-06-04 16:59:39 -05:00
AJ Fontaine
eecad0fdc4
Balance endless tokens (#1733)
* Balanced tokens

* Remove existing tokens, all 10 stack limit

* Linter complained

* Sorry Mr. Lint I’ll do better next time

* Removed redundant min

* Used a version system to update tokens

* The linter has peculiar tastes

* See if this works

* I'm at my limit omg wtf Sam

* Call me Swoobat the way I keep it Simple

* Clean up some log statements

* Adjust token weights to make up for removal of sleep and freeze

* Be so fr GitHub that’s not a real merge conflict
2024-06-04 16:39:22 -05:00
Jannik Tappert
a8205ae819
[Bug] Handle if the browser gives a long form of a language (like "de-DE") … (#1795)
* Handle if the browser gives a long form of a language (like "de-DE") for cases where we only have the short form "de".

* Changed it so that now resolved Language is now used anywhere. This is basically what i orignally did manually but provided from i18next directly
2024-06-04 15:11:02 -05:00
Tempoanon
809c86599d
[Feature] Updated Champion teams (#1676)
* Updated champion teams

* Forgot Alder's legendary

* Give Alder Genesect

* Merge and update

* Update teams a bit more

* Red now leads with Pikachu, fixed Iris dialogue

* Add champ leads
2024-06-04 14:37:04 -04:00
Benjamin Odom
6dbf99cc72
[Bug] Fix Circular Dependency with BerryType (#1802)
* Fix Potential Circular Dependency with BerryType

* remove .js
2024-06-04 19:03:02 +01:00
Tempoanon
1c73b3b084
Revert "[Feature] Add possibility to override whole user party (#1643)" (#1796)
This reverts commit ef8b6aa4f9.
2024-06-04 16:39:02 +01:00
hayuna
ef8b6aa4f9
[Feature] Add possibility to override whole user party (#1643)
* Add possibility to override whole user party

* Update species overriding

* Replace SPARTER_SPECIES_OVERRIDE with array

* Replace SPARTER_SPECIES_OVERRIDE with array

* Add possibility to override species forms

* Add possibility to override species forms

* Fix eslint styling

* Add possibility to override Abilities for party

* Override status, gender, moveset

* Add possibility to override shinies

* Fix CI
2024-06-04 11:29:38 -04:00
chaosgrimmon
38f533276f
[Bug] Lustrous Globe named Lustrous Orb (#1781)
* [Bug] Lustrous Globe, not Orb for Palkia Origin

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://www.pokewiki.de/Wei%C3%9Fkristall

* [Bug] Lustrous Globe named Lustrous Orb

* [Bug] Lustrous Globe named Lustrous Orb

Prior translation appears correct, cross-referenced with https://www.wikidex.net/wiki/Gran_lustresfera

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://www.pokepedia.fr/Globe_Perl%C3%A9

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://wiki.pokemoncentral.it/Splendisferoide

* [Bug] Lustrous Globe named Lustrous Orb

Prior translation seems correct, cross-referenced with https://pokemon.fandom.com/ko/wiki/%ED%81%B0%EB%B0%B1%EC%98%A5

* [Bug] Lustrous Globe named Lustrous Orb

No source found. Brilhante take from canonical translation of https://bulbapedia.bulbagarden.net/wiki/Lustrous_Orb

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://bulbapedia.bulbagarden.net/wiki/Lustrous_Globe

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://bulbapedia.bulbagarden.net/wiki/Lustrous_Globe
2024-06-04 01:53:58 -04:00
Madmadness65
a01cb96de6 Allow Pumpkaboo & Gourgeist forms to be caught
They do not have sprite differences currently, so they won't be able to be identified at a glance, but they do have the canon stat differences between "sizes".
2024-06-04 00:33:57 -05:00
Tempoanon
c499f351d1
[Bug] Add missing snowscape TM mons (#1742) 2024-06-03 23:51:36 -05:00
returntoice
041519a78f
[Localization] #1761 Korean double trainer dialogue (#1765)
* Your commit message

* localization
2024-06-03 23:46:42 -04:00
Tempoanon
f503080167
[Bug] Curse should do at least 1 damage (#1740)
* [Bug] Curse should do at least 1 damage

* Used the wrong math function lol
2024-06-03 22:33:26 -04:00
Benjamin Odom
98cff12fd1
[QoL] Add Arena Info Flyout for Weather, Terrain, etc. (#1734)
* Initial Commit

* Add Time of Day Icons and Remove Fight UI Dependancy

* Rename to Match

* Update battle-scene.ts

* Add Settings

* Add Comments
2024-06-03 21:18:09 -05:00
Yurical
e0fd11746f
[Localization] Use proper postpositional particle for Korean (#1759)
In Korean, postpositional particles vary depending on whether the
preceding syllable ends in a consonant or a vowel. Currently there
is no ability differentiate between the two types of particles, so both
forms are being used at the same time.
To remedy this problem, I added the relevant i18next processor to
properly select and print the correct form of the particle.
2024-06-03 21:38:52 -04:00
Matthew
69da96d543
Settings Refactor (#1771) 2024-06-03 19:57:47 -04:00
Philippe
763d2bfeeb
[Move] Implement pollen puff (#1732) 2024-06-03 16:26:15 -04:00
Xavion3
ff0e4fbdf0
Implement Pity System (#1752)
* Implement Pity System

* Add comments and optimised worst case slightly
2024-06-03 15:43:52 -04:00
sodam
145a79f8ef
[Localization] Fixed typo in Korean tutorial (#1757) 2024-06-03 11:38:37 -04:00
José Ricardo Fleury Oliveira
1abc591318
[ptBR Translations] Dialogue, game-stats and more (#1559)
* fixed translations and started dialogues

* ptBR translations

* fixes

* minor fix

* minor fixes 2

* firebreather

* minor translations

* minor translations
2024-06-03 15:30:27 +01:00
Frede
12bd22f2ca
Added "Skip Seen Dialogues" option (#1431)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-03 11:49:13 +01:00
GoldTra
50c1f8aee4
[Localization] ES Weather and Achievements (#1722) 2024-06-02 20:13:54 -04:00
José Ricardo Fleury Oliveira
655e3ba24c
fix first voucher description (#1710) 2024-06-02 03:30:22 +01:00
damocleas
902d4df1a8
Wide Lens to Ultra item tier, Berry Count limits, and small Berry Pouch % chance reduction (#1472)
* Voucher and Wide Lens item table Changes

- Wide Lens moved from Rogue -> Ultra Tier, same weight
- Voucher moved from Ultra -> Great Tier, same weight
- Voucher Plus moved from Master -> Rogue Tier, with weight starting at 9 -> 6 and decreasing with each reroll with 3 -> 2
- Voucher Premium added to Master (based on suggestion from Madmadness) with same weight as new Voucher Plus, and disabled in Endless / Endless Spliced

* Added Berry Count limiter

2 count for Lum, Leppa, Sitrus, Enigma

3 count for all else

* fix test 1

* fix test 2

I blame browser coding for this

* fix test  3

I BLAME BROWSER CODING

* Changed Berry Pouch to 30% > 33*%, max stack 90% > 100%

* fix test 4!!!!

oops

* english.

* german.

* spanish.

* french.

* italian

* portugese.

* simplified chinese.

* traditional chinese.

* Removed voucher changes, making separate PR for them to be discussed.

* Swapped switch statement to .includes statement

* Update modifier-type.ts

* thank you cheek pouch pr
2024-06-02 03:10:58 +01:00
MrWaterT
dcbe479001
[Localization] Fix wrong sentence in ko rival dialogue (#1704) 2024-06-01 20:33:40 -04:00
José Ricardo Fleury Oliveira
c7de17a46e
Achievements localization, organized some locales files and ptBR translations (#1150)
* organizing, translations and achv localization

* localized for all languages

* minor fix

* minor fix 2

* minor fix 3

* Fixed Achivment Localization, Added german localization and fixes some issues with german localization at other parts

* fix pickup description

* Update French achv.ts

* French typo correction achv.ts

* eslint fixes

* added zhTW

* minor fix

* Achivment Bar is localized and gets bigger when using german

* Changed some things to make it not as Big

* The Achivment Bar now grows with the context

* Updated Achivment Names in german

* Update French achv.ts

* Vouchers now will show the correct descrption again

* minor fix

* minor fixes

* "sub" to "semi"

* minor fix

* fixes warning and organizes some files

* forgot about english

* korean translations

* test fix

---------

Co-authored-by: Jannik Tappert <tappertjannik@googlemail.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-06-02 00:53:13 +01:00
Jannik Tappert
7ee6c979cf
Disables all unique double battles but tate and Liza. And those two will now always have lunatone and the other one (solrock?) as their first pokemon (#1654) 2024-06-02 09:15:17 +10:00
td76099
06ba63dd7d
[Bug] Liquid Ooze hurts move user instead of one with ability (#1301)
* Fixing Liquid Ooze to turn move user and not one with the ability as well as converted strength sap to use same logic instead of making it a separate class

* Replaced "undefined" with "null"

* Updated based on feedback + fix file permissions

* Fixing file permission on battler-tags

* Adding localization for drain message

* Apparently this file is 755 unlike the others

* Removed ability for custom message in exchange for getting to pass Pokemon name

* Once again changing moves from 644 to 755 like it is in repo right now :)

* putting ability back to 755 (why are file permissions all over the place)
2024-06-01 15:53:32 -04:00
InnocentGameDev
b7ecebbc6e
[Localization] Toxic and Flame Orb (en, de, es, fr, it) Localisations (only missing pt_BR, zh) (#1668)
* toxic and flame orb odds tweak and localisation

* Update modifier-type.ts

German name, but English description

* Update modifier-type.ts

Spanish done, in this regard!

* Update src/locales/fr/modifier-type.ts

French translation, thanks @Dakurei

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/modifier-type.ts

French translation, thanks @Dakurei

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update modifier-type.ts

Missed eliminating the "."

* Update modifier-type.ts

* Update modifier-type.ts

"it" gets proper English description, waiting on an Italian localisation

* Update modifier-type.ts

fixed the english desc.

* Update src/locales/it/modifier-type.ts

it localisation

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/it/modifier-type.ts

GoaTed translator

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update modifier-type.ts

English in pt

* Update modifier-type.ts

English everywhere zzz

* Update modifier-type.ts

Final English, ready for translation by whoever sees it fit!

* Update src/locales/pt_BR/modifier-type.ts

Fixed a mixup

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/pt_BR/modifier-type.ts

Fixed a mixup

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update modifier-type.ts

Added DerTapp translations without the "Ein Item zum Tragen." part for consistency throughout the file and with the rest of the locales, and according to what was briefly discussed in the Discord last night.

* Update modifier-type.ts

Missed taking out the "." in the /de, to keep it consistent with all other descriptions

* Delete src/locales/ko/modifier-type.ts

Korean localisation is already done

* Add back ko modifier-type

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-01 11:25:46 -04:00
Greenlamp2
060b1b2ccc
Menu - Controls Rebind - Gamepad & Keyboard (Cleaner git log) (#1666)
* squased merge rebind_menu

* azerty to qwerty

* add a check to preven a crash in firefox

* reset navigation menu on quit

* removed dual lock mekanism

* navigation display update icons on new bind

* added submit binding

* removed attribute no longer used

* change protected to abstract

* remove last bind protection since action and cancel are protected + renamed default controller to controller

* removed default alt qwerty keys in config

* fix some errors for doc

* fix tests

* fix some more errors for docs

* fix some more errors for docs final ?

* added alt bind for menu navigation + update icons on delete/home
2024-06-01 13:56:32 +01:00
returntoice
5cf9a98ee0
[Localization] Minor Korean modifications (#1665) 2024-06-01 01:27:21 -04:00
Xavion3
e7fed48f8e
[Balance] Simplify and fix flame/toxic orb weight (#1670) 2024-06-01 12:10:10 +10:00
Dmitriy K
d052d444b6
[QoL] Add type inference to getAttrs methods and refactor accordingly (#1633)
* add type inference to getAttrs methods and refactor accordingly

* Tests/infer types for get attrs methods (#1)

* #1633: add spec/tests for coverage

* move ability/move tests into /src/tests and rename to *.test.ts to match common naming patterns

* use None in test cases to remove ambiguity

* revert back to before test cases were merged

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-05-31 19:50:30 -05:00
Benjamin Odom
19885e0558
Add Arena Events (#1627)
* Add Arena Events

* Update arena-events.ts
2024-05-31 17:52:16 -05:00
karl-police
f2a6fe5c6a
Autocomplete for modifiers in overrides (#1057)
* Autocomplete for modifiers

* Update overrides.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-31 17:41:09 -05:00
Jaime
7f1e94e8ca
[Bug] Fix status abilities not considering Comatose (fixes #1639) (#1641) 2024-05-31 16:50:03 -05:00
Tempoanon
cf9992f9b8
Add code (#1661) 2024-05-31 16:42:38 -05:00
innerthunder
2dff35c407
Fix Neutralizing Gas self-suppression (#1662) 2024-05-31 16:35:52 -05:00
Tempoanon
ff5b227a6b
[Documentation] Add documentation to egg-hatch-phase.ts (#1650)
* Add documentation

* Ben has made me take more sanity damage
2024-05-31 16:34:02 -05:00
Amani H
e0bc1d8781
[Item] Add Toxic Orb and Flame Orb (#1574)
* Add Toxic Orb and Flame Orb

* Change Weighting Logic & Functions

* Adjust Party Filter during Weighting

* Add Dynamic Weight Ceilings

* Refactor for Performance/Cleanliness

* Adjust Party Filter to Check Status Applicability

* Cover Same & Different Status Cases

* Adjust Full Heal & Restore Weighting

* Cover Unwanted Status Case

* Fix Wrong Status Effect on Reload
2024-05-31 14:31:11 -05:00
MadridPawmot
63a416a65b
[enhancement] Added Firebreather trainer class (#1409)
* Add files via upload

* Update trainer-type.ts

* Update biomes.ts

* Update trainer-config.ts

* Update trainer-names.ts

* Add Spanish localization

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Finished adding placeholder strings for each language

* Updated German translation

Thanks to CodeTappert

* Updated trainer.ts to resolve conflicts

* Update trainers.ts to resolve conflicts

* Update trainers.ts

* Fixed syntax error

* Update dialogue.ts

* Re-added dialogue back

* Added firebreather name string to Korean locale

* Added dialogue string to locale

* Added dialogue string to locale

* Update dialogue.ts

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added requested changes

* Added requested changes

* Added requested changes

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Finished adding requested changes to locales

* Added requested changes
2024-05-31 14:05:04 -05:00
Madmadness65
99e17c94eb Fix Zacian & Zamazenta form changes breaking
Forgot to update this, oops.
2024-05-31 11:33:16 -05:00
Madmadness65
fc61489d59 Hero Palafin, 10% PC Zygarde cries corrected for real this time
Also made sure Zacian and Zamazenta don't crash this time.
2024-05-31 11:14:55 -05:00
Tempoanon
0c862839d3
Revert "[Bug] Full Heals and Full Restore cure confusion (#1112)" (#1653)
This reverts commit 6c4b60a2fa.
2024-05-31 15:56:39 +01:00
Tempoanon
5eab016903
Revert "[Localization] modifier-select-ui-handler Locales (#1567)" (#1652)
This reverts commit 5c79e6258b.
2024-05-31 10:48:26 -04:00