Zach Day
ae667d76eb
Implement loadTag for DisabledTag
2024-08-10 01:29:38 -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
Zach Day
837a19b7fb
Fix broken imports
2024-08-08 18:01:07 -04:00
Zach Day
80037e16d4
Merge branch 'beta' into disable_battlertag
2024-08-08 17:54:30 -04:00
ImperialSympathizer
b794662776
[Test] Fix final boss test ( #3444 )
...
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-08-08 17:06:57 -04:00
ImperialSympathizer
ba9378d1d8
disables final boss passive ( #3393 )
...
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-08-08 20:59:23 +01:00
Leo Kim
b54a255c15
[Enhancement] Add go filter shortcut ( #3345 )
...
* update goFilter shortcut
* fix filter instruction position
* remove unnecessary new lines
* update requested changes. add other language entries too
* remove unnecessary case code
* open dropdown when pressing goFilter shortcut
* add missing entry for `fr`
* Update src/locales/fr/starter-select-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/de/starter-select-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* update instruction container position and text offset for more longer instruction label. decrease size of fr instruction font
* fixed de info font size
* Update src/locales/pt_BR/starter-select-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/ko/starter-select-ui-handler.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/zh_TW/starter-select-ui-handler.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_CN/starter-select-ui-handler.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* update font size, starterInfoXPos and starterInfoYOffset in zh. update starterInfoXPos in de
* Update src/locales/es/starter-select-ui-handler.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-08-08 20:34:20 +01:00
Chapybara-jp
cff5a670b1
[Localization(ja)] First draft translated achv.ts ( #3408 )
...
* First draft translated achv.ts
* Update achv.ts
Added Earth Monotype challenge translation
じめんタイプチャレンジのギャグを加えました
Changed spacing size
空白を全角スペースに変えた
* Update src/locales/ja/achv.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update achv.ts
* Update achv.ts
---------
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-08-08 15:30:42 -04:00
Chapybara-jp
6ad32f3c40
[Localisation(ja)] Translate challenges.ts ( #3439 )
...
Discordでこの質問を聞きましたが、ここでも聞いて置きます:
"Starters" をどう翻訳しましょうか?一番合ってる公式の用語は「最初のパートナー」だと思いますが、ちょっと長いです。
2024-08-08 15:28:26 -04:00
innerthunder
2e823b1914
[Documentation] Add comments to MoveEffectPhase
(+ some style changes) ( #3392 )
...
* Document MoveEffectPhase
* Edits based on Temp's suggestions
2024-08-08 15:27:26 -04:00
innerthunder
7f5e873457
[Move] Fully Implement Gulp Missile ( #3438 )
...
* Fix Dive + Gulp Missile interaction
* Fix animation + remove tests for inaccurate behavior
* Fix strict-null issue in new test
2024-08-08 14:23:11 -04:00
Enoch
15106b83fb
[Localization(ja)] Translated ability-trigger.ts, status-effect.ts ( #3428 )
...
* Translated ability-trigger.ts, status-effect.ts
* Apply suggestions from code review
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
---------
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
2024-08-08 14:04:04 -04:00
innerthunder
b4a891cc71
[Move] Reimplement Beak Blast ( #3427 )
...
* Re-Implement Beak Blast
* Fix charge animation loading issues
2024-08-08 14:03:28 -04:00
Jannik Tappert
b5a40bfdfc
[Localization] German missing keys ( #3436 )
...
* Add all keys that are in english but missing in german
* useless change
* Revert "useless change"
This reverts commit 15cff42d8d
.
2024-08-08 14:02:26 -04:00
NightKev
f0d4dfa09e
[Test] Mock turn order in Miracle Eye test ( #3437 )
2024-08-08 14:02:02 -04:00
Opaque02
49bb681554
[Bug] Starter UI challenge form fix ( #3373 )
...
* First issue with soft attribute on challenges as well as incorrect sprites appearing on the starter select ui
* Updated logic to fix starter party icons, forms and shinies in starter selection area
* Fixed issue where some pokemon were being shown in challenges originally if the default form didn't meet the criteria
* Updated docs and tests to account for new behaviour
* Removed some debugging comments
* Fixed rotom form not counting as valid party
* Fixed a bug where the cursor's last known position would be used when pokemon forms were being changed when other forms were available when updated from your party directly
* Fixed issue with starter party icons' forms updating incorrectly when removing pokemon from party
* Fixed docs
* Updated code to allow for starter icons to remember their previous state after a reload
2024-08-08 09:16:27 -04:00