Commit Graph

3927 Commits

Author SHA1 Message Date
Lugiad
ca2150f950
Update src/locales/it/battler-tags.json
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-09-06 16:31:46 +02:00
Lugiad
99ab40f4e9
Update src/locales/it/battle.json
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-09-06 16:31:37 +02:00
Lugiad
b379fb1cd6
Merge branch 'beta' into move-disabling-effects-locales 2024-09-05 20:11:25 +02:00
Chapybara-jp
e2e5b2c349
[Localisation] [JA] Translated remaining JA text files (#3999)
* [Localisation] [JA] Begun translation on arena-flyout.json

* Added english names to bgm-name.json

* Translated common.json

* Added English dialogue-double-battle.json

To make translation easier

* Added English dialogue-final-boss.json

* Added english dialogue-misc.json

* Added English dialogue.json

* Translated fight-ui-handler.json

* Update filter-bar.json

Changed 飴 to アメ for consistency with its spelling in Pokemon GO

* Update game-stats-ui-handler.json

changed 孵化 to ふか

* Update growth.json

Added kanji

* Update menu-ui-handler.json

changed 孵化 to ふか

* Update modifier-type.json

Changed name of IV Scanner to match with other files, the rest of the item descriptions need to be changed to Kanji as well.

* Update modifier.json

* Changed move-trigger.json

Added kanji and new moves.

* Update party-ui-handler.json

Added kanji

* Update pokemon-info-container.json

Changed to Kanji

* Translated pokemon-summary.json

The metFragment formatting is taken from BW

* Update run-history.json

Corrected some misinterpretations.
Added correct original line of "Welcome to Hall of Fame!"

* Added english splash-messages.json

* Update move-trigger.json

* Update move-trigger.json

* Update move-trigger.json

* Update arena-flyout.json

* Update move-trigger.json

* Translated arena-flyout.json

* Update weather.json

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

changed wave to ラウンド

* Update game-stats-ui-handler.json

* Update challenges.json

* Update achv.json

Corrected some mistakes, misspelling

* Added some translations dialogue.json

Youngster translation done
Female rival dialogue done, needs check

* Update dialogue.json

* Update dialogue.json

* Update dialogue.json

* Update dialogue.json

* Update dialogue.json
2024-09-05 17:49:28 +00:00
Lugiad
8a856f92a9
Update src/locales/ko/battler-tags.json
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
2024-09-05 17:08:51 +02:00
Lugiad
915498b6e5
Update src/locales/ko/battle.json
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
2024-09-05 17:08:43 +02:00
Opaque02
01eb05469a
[QoL] Username finder (#4040)
* Added the ability to potentially get username from login screen

* Accidentally made dev login enforced :)

* Updated image
2024-09-05 14:00:19 +00:00
Lugiad
827c8c8cc4
Merge branch 'beta' into move-disabling-effects-locales 2024-09-05 14:42:54 +02:00
Lugiad
c902369eed
[Localization] Restoring "Safeguard" entries in arena-flyout.json of all locales where it existed (#4026)
* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-flyout.json
2024-09-05 12:39:10 +00:00
Lugiad
6d174195cd
Update battler-tags.json 2024-09-05 14:13:50 +02:00
Lugiad
101d034bc5
Update src/locales/de/battler-tags.json
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-09-05 14:13:31 +02:00
Lugiad
2111503a25
Update src/locales/de/battle.json
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-09-05 14:12:51 +02:00
Lugiad
d39b60381b
Update battle.json 2024-09-05 13:19:12 +02:00
Lugiad
7a4930db5b
Update battle.json 2024-09-05 13:18:55 +02:00
Lugiad
916a9ade25
Update battler-tags.json 2024-09-05 13:16:23 +02:00
Lugiad
51a3344442
Update battle.json 2024-09-05 13:16:05 +02:00
Lugiad
25a9781749
Update battle.json 2024-09-05 12:41:32 +02:00
Lugiad
6c6b232517
Update battle.json 2024-09-05 12:41:09 +02:00
Lugiad
4c91632198
Update battler-tags.json 2024-09-05 12:35:39 +02:00
Lugiad
1938b9f2d4
Update battle.json 2024-09-05 12:35:22 +02:00
Lugiad
fee480373a
Update battle.json 2024-09-05 12:34:58 +02:00
Lugiad
b09396523f
Update battler-tags.json 2024-09-05 12:34:43 +02:00
Lugiad
6ebcd142d1
Update battler-tags.json 2024-09-05 12:34:27 +02:00
Lugiad
65a7e5bf11
Update battle.json 2024-09-05 12:34:12 +02:00
Lugiad
7ecb2d47fc
Update battle.json 2024-09-05 12:33:42 +02:00
Lugiad
492e7185fc
Update battler-tags.json 2024-09-05 12:33:18 +02:00
Lugiad
21ab596bee
Update battler-tags.json 2024-09-05 12:32:58 +02:00
Lugiad
f6dae0cb99
Update battle.json 2024-09-05 12:32:48 +02:00
Lugiad
a0f485b3a0
Update battle.json 2024-09-05 12:32:23 +02:00
Lugiad
16b56e1715
Update battler-tags.json 2024-09-05 12:32:03 +02:00
Lugiad
e6c4cfa3bb
Update battler-tags.json 2024-09-05 12:31:52 +02:00
Lugiad
f280e14a78
Update battle.json 2024-09-05 12:31:41 +02:00
Lugiad
ac4f7a77a6
Update battler-tags.json 2024-09-05 12:30:42 +02:00
Lugiad
8ccc39adc0
Update battle.json 2024-09-05 12:30:29 +02:00
Lugiad
50253b9489
Update battle.json 2024-09-05 12:29:09 +02:00
Lugiad
44bace4c9d
Update battler-tags.json 2024-09-05 12:26:03 +02:00
Lugiad
12f0f4c90d
Update battle.json 2024-09-05 12:22:45 +02:00
Dmitriy K.
41bb12d0c0
skip pre-commit on merge and rebase, add pre-push (#1607) 2024-09-05 10:08:00 +00:00
Leo Kim
1968680104
[Enhancement] add font size option per language on registration UI (#3849)
* add language setting for register form ui

* remove button fontsize option

* fix tests

* remove deprecated comments

* update request changes

* update requested changes from es

* update requested changes from walker

* Update src/locales/es/menu.json

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

---------

Co-authored-by: Asdar <asdargmng@gmail.com>
2024-09-05 09:52:48 +00:00
Zach Day
13f38dce8d
[Move] Use BattlerTag for move-disabling effects (#2051)
* Use BattlerTag for move-disabling effects

* Fix RUN command causing freeze

* Improve documentation

* Clean up and document PokemonMove.isUsable

* Fix isMoveDisabled missing return

* Tags define the message shown when disabling interrupts a move

* Fix -1 duration on Disable effect

* Add tests for Disable

* En loc and fix message functions

* Fix Disable test

* Fix broken imports

* Fix test

* All disable tests passing

* Localize remaining strings

* Move cancellation logic out of lapse; use use TURN_END for lapse type

* Prevent disabling STRUGGLE

* Inline struggle check function

* Restore RechargingTag docs

* Move cancellation logic back to tag

Wanted to increase similarity to the existing code base to avoid that stupid hyper beam error but it's still happening here

* Fix hyper beam test

* Remove erroneous shit

* Fill movesets with SPLASH for disable test

* More robust condition for disable checking

* Remove DisabledTag lapse

* Simplify DisablingBattlerTag lapse

* Cancel disable-interrupted moves instead of failing them

* Avoid disabling virtual moves

* Consistent access modifiers across Disable tags

* Add abstract function for message when player tries to select the disabled move

* Fix syntax mistake

* Always disable last-used non-virtual move

* Overhaul tests + add tests

* Implement loadTag for DisabledTag

* Update translations

* Update translations

* Reimplement phase changes

* fix battlertag strings

* Fix disable test not running

* Update name of base class

* Rename "disabling" to "restriction"

* Fix sneaky string fuckup

* Fix test failure

* fix merge problems

* fix merge problems

* Update tests

* rerun RNG test

* Properly mock stats in test

* Document everything in battlertag

* More docs + typo fix

* Update tests

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-05 08:44:22 +00:00
innerthunder
1434a3edaf
Fix random failure in Parental Bond tests (#4036)
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-05 05:31:32 +00:00
Opaque02
61ab52c295
[Balance] Changed escape calculation (#3973)
* Changed escape calculation as per Mega

* Adding tests

* Updates some tests

* Updated all tests for bosses

* Removed console log lines

* Added some clarifying comments

* Fixed docs

* comment add

* comment add

* Convert comments into tsdoc comments

Convert `integer`/`IntegerHolder` to `number`/`NumberHolder`

Clean up tests a bit

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-05 05:29:39 +00:00
NightKev
237aad2184
[Misc] Clean up the Battle class a bit (#3995)
* Use default values in the `Battle` class

Turn a couple of comments into tsdoc comments

Replace a `!!` with `?? false`

* Replace `integer` with `number`
2024-09-05 05:29:02 +00:00
innerthunder
31d3bec55e
[Test] Fix Rage Powder test failing randomly (#4038)
* Fix random failure in Rage Powder test

* Remove redundant override
2024-09-05 04:54:51 +00:00
Tempoanon
834255447d
Fix mbh not using user's nickname (#4033) 2024-09-05 04:02:45 +00:00
innerthunder
f3ced7e814
[Bug] Fix inconsistencies with move type resolution for some ability triggers (#3988)
* Fix inconsistencies with ability triggers on variable-type moves

* Fix aura effects not accounting for the move user

* Fix Wonder Guard evaluating move type as if the defender used the move

* Some additional test coverage for move-type-changing effects
2024-09-05 00:49:01 +01:00
Mumble
cebd449335
I have a brain made of cheese!!! (#4028)
Co-authored-by: frutescens <info@laptop>
2024-09-04 23:16:47 +00:00
chaosgrimmon
8835ae0299
[Sprite] Index egg skip UI (#4027)
* [Sprite] Index egg skip UI

* [Sprite] Index egg skip legacy UI
2024-09-04 20:46:33 +00:00
NightKev
a537113c8f
Re-add lost i18n strings (#4024) 2024-09-04 20:45:56 +00:00
NightKev
fde32cea6c
[Misc][Bug] Add isBatonPassable property to BattlerTags (#3472)
* Add `isTransferrable` property to `BattlerTag`s

* Update Baton Pass to check `isTransferrable` for `BattlerTag`s

* Don't mark Salt Cure as transferrable

* Add Destiny Bond, remove `GroundedTag` and `ExposedTag`

* Fix daily mode test

* Add test

* Rename `isTransferrable` to `isBatonPassable`
2024-09-04 17:58:35 +00:00