Enoch
0c64b01f3f
[Refactor] move and change localization key of battler-tags ( #3498 )
...
* move locale messages of battler tags : battle.ts -> battler-tags.ts
* Change message key name to simple
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-08-12 01:02:44 -04:00
Chapybara-jp
0028ae8a6d
[Localization(ja)] Translate starter-select-ui-handler.ts ( #3481 )
...
* [JA] [Localization] Translate starter-select-ui-handler.ts
Unsure about "Enable/Disbale Passive", need some advice.
* Update starter-select-ui-handler.ts
2024-08-12 01:02:06 -04:00
protimita
097d43feaf
[Localization(ja)] Translated modifier.ts, arena-tag.ts ( #3487 )
...
* [Localization][JA] translated modifier.ts
translation for modifier.ts
* Update src/locales/ja/modifier.ts
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
* Update src/locales/ja/modifier.ts
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
* [Localization][JA] Translated arena-tag.ts
Translation for arena-tag.ts
---------
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
2024-08-12 01:00:54 -04:00
Chapybara-jp
d19caf6650
[Localisation(ja)] Translated save-slot-select-ui-handler.ts ( #3475 )
...
* Translated save-slot-select-ui-handler.ts
"Wave" needs special coding to look correct.
* Update save-slot-select-ui-handler.ts
missed a space, punctuation
* Update save-slot-select-ui-handler.ts
* Update save-slot-select-ui-handler.ts
2024-08-12 00:57:47 -04:00
AJ Fontaine
77a9a2306b
[Item] Skip Ability Charm reward after wave 189 in classic ( #3477 )
2024-08-12 00:57:19 -04:00
Adrian T.
4b16b64eed
[Test] move util func to gameManager.ts ( #3494 )
2024-08-12 00:56:31 -04:00
NightKev
0e0ed10ce0
[Test] Fix test names that weren't changed from copy/pasting ( #3502 )
2024-08-12 00:54:42 -04:00
Leo Kim
53e54df9ee
[Enhancement] Add Passive / Cost Reduction - Can Unlock option and Egg purchasable filter ( #3478 )
...
* add unlockable state in passive/cost reduction filter. add egg purchasable filter
* update placeholders
* update option order of UNLOCKABLE between ON and EXCLUDE
* remove egg restriction when buying eggs
2024-08-12 00:44:15 -04:00
MokaStitcher
f8b9397d06
[UI] add open filter button for mobile touch pad ( #3480 )
2024-08-12 00:44:00 -04:00
Leo Kim
0f09893091
Immediately update the passive background upon unlocking ( #3479 )
2024-08-12 03:03:20 +01:00
ImperialSympathizer
988ec664e9
Disable endless boss passives ( #3451 )
...
* fix strict null broken
* disable endless boss passives
* jsdocs on mock objects and move helper function to gameManager.ts
* Apply suggestions from flx's review
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* fix broken test
* fix lint
---------
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-08-11 19:40:47 +01:00
Chapybara-jp
b20314b45f
[Localization(jp)] Translate voucher.ts ( #3476 )
...
Need to be consistent with names of vouchers in modifiers.ts.
2024-08-10 12:25:25 -04:00
Tim Perdok
566cd80522
[Feature] Move touch controls configuration (Reopened) ( #3256 )
...
* [Hotfix] Fix interactions of some moves not changing types (#3183 )
* [Hotfix] Fix wild spawns not having their HA (#3190 )
* [Hotfix] Allow to hatch pokemon with Hidden Ability again (#3222 )
* chore: Update TNC links layout and position in index.html
* chore: Update TNC links font size in index.css (#3230 )
* Move Touch Controls
* ConfigToolbar alignment
* Insert config toolbar on open, camel-case classes, hidden setting
* Better toolbar styling, fixed double configToolbar bug
* Fixed typedocs
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-08-10 14:17:04 +01:00
Zach Day
ae667d76eb
Implement loadTag for DisabledTag
2024-08-10 01:29:38 -04:00
DustinLin
638a0a66b5
[Bug] removing destroy() calls on enemy pokemon after BattleEndPhase and breaks endless %50 waves ( #3461 )
2024-08-10 01:27:22 -04:00
Zach Day
c6757d0996
Overhaul tests + add tests
2024-08-10 01:24:09 -04:00
Zach Day
570074c041
Always disable last-used non-virtual move
2024-08-10 00:09:15 -04:00
Zach Day
88d3054bf1
Fix syntax mistake
2024-08-09 21:55:10 -04:00
Zach Day
63d244790f
Add abstract function for message when player tries to select the disabled move
2024-08-09 21:41:43 -04:00
Zach Day
ba50b4b093
Consistent access modifiers across Disable tags
2024-08-09 21:20:43 -04:00
Zach Day
8923720cda
Avoid disabling virtual moves
2024-08-09 20:48:01 -04:00
Zach Day
14de49e8be
Cancel disable-interrupted moves instead of failing them
2024-08-09 20:44:51 -04:00
Zach Day
3fe58ac5db
Simplify DisablingBattlerTag lapse
2024-08-09 20:42:51 -04:00
Zach Day
daf063be19
Remove DisabledTag lapse
2024-08-09 20:40:29 -04:00
Zach Day
777511cb4c
More robust condition for disable checking
2024-08-09 20:37:21 -04:00
Zach Day
f293e33654
Fill movesets with SPLASH for disable test
2024-08-09 20:29:32 -04:00
Zach Day
4d9fda723b
Remove erroneous shit
2024-08-09 20:04:33 -04:00
Zach Day
94200ff040
Fix hyper beam test
2024-08-09 19:54:54 -04:00
Zach Day
f6b41e33f1
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
2024-08-09 19:50:32 -04:00
Zach Day
b6a5f29873
Merge branch 'beta' into disable_battlertag
2024-08-09 19:20:53 -04:00
Zach Day
00d3c76008
Restore RechargingTag docs
2024-08-09 19:08:49 -04:00
NightKev
e820163505
[Misc] Update Pull Request template ( #3467 )
2024-08-09 16:58:15 -04:00
Blitzy
d127773a89
[Balance] Change Some Mainline Starter's Early Learnset ( #3445 )
...
* Update pokemon-level-moves.ts
* Change Poipole's Early Move
* Add notes
2024-08-09 18:48:10 +01:00
Zach Day
4d89b76d34
Inline struggle check function
2024-08-09 12:53:13 -04:00
Zach Day
534ebceabb
Prevent disabling STRUGGLE
2024-08-09 12:38:49 -04:00
Zach Day
a628f77547
Move cancellation logic out of lapse; use use TURN_END for lapse type
2024-08-09 12:27:09 -04:00
flx-sta
762feea332
[Bug][Localhost] fix Json parse issue when trying to load battle-anim ( #3455 )
...
* add content-type check for loading battle-anims
* add missing `headers` to response mocks
2024-08-09 11:17:34 -04:00
Adrian T.
bfdcd4fc1e
[Dev] Move function from testUtils.ts to gameManager.ts (2/3) ( #3432 )
...
* move mockTurnOrder to gameManager
* change name
* fix test failing
* fix purify test
* fix typo
2024-08-09 11:07:55 -04:00
Leo Kim
dcbdc511cf
[Localization] update korean translation of filter for costReduction ( #3464 )
2024-08-09 11:06:57 -04:00
Adrian T.
2b12326280
[Dev] Move function from testUtils.ts to gameManager.ts (1/3) ( #3430 )
...
* move mockHitCheck to gameManager
* add abstract base class and move helper class
* add param for single target miss
2024-08-09 10:37:10 -04:00
Leo Kim
14b3907b11
[Enhancement] Add favorite filter in Starter UI ( #3431 )
...
* add favorite filter. add favorite starter attribute
* add error handling for undefined favorite attribute
* add placeholders in each locales
* add favorite icon from great art team
* update favorite icon to code
* update korean translation
* align icons
* initialize the starter preferences if they don't exist
* update requested changes
2024-08-09 10:32:30 -04:00
Leo Kim
d2eea96777
[Enhancement] Allow nickname assignment in the starter select UI. ( #3456 )
...
* add rename nickname in starter UI
* update requested changes
2024-08-09 10:17:18 -04:00
schmidtc1
57a4e1cc47
[Bug] Fixes bug with freezy frost not eliminating all Pokemon's stat changes ( #3362 )
...
* Cherrypick due to beta roll back
* Adds corrected stat eliminated message to move trigger, removes from battle.ts
* Adds check for Clear Smog vs Haze/Freezy Frost for targetting purposes
* Adds translations for fr, de, and pt_br
* Update src/locales/ko/move-trigger.ts with translation
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Update korean move-trigger.ts with proper translation
* Update src/locales/zh_CN/move-trigger.ts with translation
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_TW/move-trigger.ts with translation
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Adds locales to ja and ca-ES
* Creates unit test for Haze
* Removes repeats option on Haze test left from testing
* Updates title of haze tests, creates freezy frost tests
* Update src/locales/es/move-trigger.ts with translation
Co-authored-by: Asdar <asdargmng@gmail.com>
* Fixes freezy_frost.test.ts copy errors from Haze test
---------
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-08-09 10:16:38 -04:00
NightKev
fe429d0c8c
[Test] Fix hyper beam and purify test rng ( #3449 )
2024-08-09 09:40:00 -04:00
Chapybara-jp
750d9051c4
[Localization(ja)] Added kanji to battle.ts ( #3446 )
...
Added kanji
漢字に変更しました
Changed spacing to full width
スペースを全角スペースに変更しました
2024-08-09 09:38:51 -04:00
José Ricardo Fleury Oliveira
3dfe4570de
[Localization] Update Portuguese translations for achievements, trainers and dialogues ( #3452 )
2024-08-09 09:33:46 -04:00
flx-sta
30cc6aba89
[Bug] Fix DNA splicers broken from the strictnull check ( #3454 )
...
This makes DNA-splicer work again
2024-08-09 09:33:31 -04:00
Zach Day
49723228b6
Localize remaining strings
2024-08-08 19:49:27 -04:00
Zach Day
48f2e2e518
All disable tests passing
2024-08-08 18:48:09 -04:00
Zach Day
d67937e35c
Fix test
2024-08-08 18:05:19 -04:00