Commit Graph

4018 Commits

Author SHA1 Message Date
Brandon Bay
9317093044
[Enhancement] [UI/UX] Add ability and passive tooltips to starter select screen (#4023)
* Add ability and passive tooltips to starter select screen

* Remove explicit casts to BattleScene

* Increase tooltip size, reverse y when necessary, and always show passive tooltip

* Add ability name to tooltip title and persist tooltips between Pokemon

* Use vi function mocks
2024-09-09 15:07:00 -04:00
Adrian T.
9afab182e9
[Test] Remove obsolete splash_only (#4139) 2024-09-09 15:02:11 -04:00
Lugiad
27e4870a8c
Update fight-ui-handler.json 2024-09-09 20:59:58 +02:00
Lugiad
179e2f1dda
Update fight-ui-handler.json 2024-09-09 20:59:38 +02:00
Lugiad
65e411874e
Update fight-ui-handler.json 2024-09-09 20:59:21 +02:00
Lugiad
b7744fb039
Update fight-ui-handler.json 2024-09-09 20:59:06 +02:00
Lugiad
91b1cb862c
Update fight-ui-handler.json 2024-09-09 20:58:48 +02:00
Lugiad
dd25152c52
Update fight-ui-handler.json 2024-09-09 20:58:30 +02:00
Lugiad
521e5dfc65
Update fight-ui-handler.json 2024-09-09 20:58:02 +02:00
Lugiad
d50d5d19c3
Update fight-ui-handler.json 2024-09-09 20:57:34 +02:00
Lugiad
72f530f0d2
Update dialogue.json 2024-09-09 19:21:15 +02:00
Lugiad
01c455dbb1
Update dialogue.json 2024-09-09 19:18:39 +02:00
Lugiad
009df3edc2
Update dialogue.json 2024-09-09 19:12:37 +02:00
Lugiad
ba59c27a94
Merge branch 'beta' into localization-batch 2024-09-09 19:02:12 +02:00
Adrian T.
401568609b
[Dev] Add imports, Handle kebab-case fileName argument in test boilerplate script (#4072)
* add imports, handle kebab-case fileName argument

* fix spacing
2024-09-09 13:00:26 -04:00
Taylor Le Lievre
8df7422e8f
[Bug] Primal weather no longer persists if last mon dies to indirect damage (#3492)
* Fixed Delta Stream remaining active when last mon dies to indirect damage

* Rebasing changes

* Linting fix

* Combined if statements

* Changed params to optional

* Added unit test

* Apply suggestions from code review

* Fix test and remove `.js` from import

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-09 12:59:58 -04:00
NightKev
11d912bad8
[Dev] Make OPP_MOVESET_OVERRIDE fully override the enemy's moveset (#4062)
* Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset

* Update tests with new override behavior

* Fix tests

* Fix another test

* Move overrides no longer required to be arrays

* Remove `SPLASH_ONLY` test utility variable

* Update moveset override helper functions

* Missed some tests
2024-09-09 12:55:11 -04:00
Adrian T.
c59f6edf36
[Move] Implement Power Shift (#4083)
* fully implement power shift

* cleanup
2024-09-09 12:54:31 -04:00
Leo Kim
80e347840d
[Bug] Fix line spacing in level up stats and move info in Japanese (#4095) 2024-09-09 12:54:17 -04:00
NightKev
89b33466a9
[Test] Fix Safeguard test that relied on a now-fixed bug (#4098) 2024-09-09 12:53:45 -04:00
Lugiad
3d01e905df
[Localization][UI/UX] Clean up of unused localized images (#4110)
* Delete public/images/ui/legacy/summary_moves_effect_de.png

* Delete public/images/ui/legacy/summary_moves_effect_es.png

* Delete public/images/ui/legacy/summary_moves_effect_fr.png

* Delete public/images/ui/legacy/summary_moves_effect_it.png

* Delete public/images/ui/legacy/summary_moves_effect_pt-BR.png

* Delete public/images/ui/legacy/summary_moves_effect_zh-CN.png
2024-09-09 12:53:22 -04:00
Adrian T.
3c05237b2e
[Move] Fully implement Throat Chop (#4115)
* fully implement throat chop

* add linkcode in docs

* address comments

* update test
2024-09-09 12:52:20 -04:00
José Ricardo
a88b989939
[Localization] [pt_BR] Updated some translations (#4131) 2024-09-09 12:50:47 -04:00
Chapybara-jp
e84fe8c24e
[Localisation] [JA] Translated/updated spacing in several files, fixed Ice Face bug (#4129)
* Update ability-trigger.json

* Update ability.json

* Update arena-flyout.json

* Update arena-tag.json

* Update battle.json

* Update fight-ui-handler.json

* Update berry.json

* Update menu.json

* Update party-ui-handler.json

* Update starter-select-ui-handler.json

* Update tutorial.json

* Update move.json

* Update battle.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-tag.json

* Update party-ui-handler.json

* Update settings.json
2024-09-09 12:50:30 -04:00
Lugiad
abdffc11ea
Merge branch 'beta' into localization-batch 2024-09-09 18:22:17 +02:00
Mumble
26eb63cf67
[Refactor] Cleaning up Learn move phase (#3672)
* Learn Move Phase rewrite

* Typedocs

* messages with confirm do not need an extra button press no more

* Added Documentation

* This does not work

* so sad

* Some updates

* Eslint issues + clean up

* Additions to handle learning during evolution + test fixes

* some more checks

* Update src/overrides.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/test/phases/learn-move-phase.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Added new function and updated tests

* Fixed bracketing and added parameter types

* Added Sketch to the conditional

* Added some fixes. Weird stuff going on.

* Whoops

* async implementation done

* Update src/phases/learn-move-phase.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Made showText=> summary a promise

* adapt learn-move-phase to `async-await`

* await add

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-09 09:11:46 -07:00
Jannik Tappert
963384951b
Update src/locales/de/battler-tags.json 2024-09-09 15:29:17 +02:00
Niccolò
6ca0cb5888
Update src/locales/it/battler-tags.json 2024-09-09 15:27:25 +02:00
Lugiad
685975f44b
Update move-trigger.json 2024-09-09 15:11:47 +02:00
Lugiad
dfab0e05cd
Update src/locales/es/battler-tags.json
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-09-09 15:00:49 +02:00
Lugiad
e5995ce63c
Update src/locales/ja/battler-tags.json
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
2024-09-09 13:47:26 +02:00
Lugiad
c8a505319c
Update src/locales/pt_BR/battler-tags.json
Co-authored-by: José Ricardo <josefleury@discente.ufg.br>
2024-09-09 13:47:21 +02:00
Lugiad
b2ad128a08
Update battler-tags.json 2024-09-09 13:47:07 +02:00
Lugiad
346860d0a8
Update src/locales/ko/battler-tags.json
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
2024-09-09 13:16:18 +02:00
Lugiad
fccfa07b3a
Update battler-tags.json 2024-09-09 12:56:17 +02:00
Lugiad
1da366c6bb
Update battler-tags.json 2024-09-09 12:54:55 +02:00
Lugiad
624a115126
Update battler-tags.json 2024-09-09 12:54:39 +02:00
Lugiad
b8acbc9402
Update battler-tags.json 2024-09-09 12:54:15 +02:00
Lugiad
43241ffdb7
Update battler-tags.json 2024-09-09 12:53:41 +02:00
Lugiad
1459db5b46
Update battler-tags.json 2024-09-09 12:51:53 +02:00
Lugiad
24e3afc47d
Update arena-tag.json 2024-09-09 12:51:33 +02:00
Lugiad
e29384916c
Update arena-tag.json 2024-09-09 12:51:13 +02:00
Lugiad
1947554678
Update battler-tags.json 2024-09-09 12:50:38 +02:00
Lugiad
dd2a53b5e8
Update battler-tags.json 2024-09-09 12:50:24 +02:00
Lugiad
027b29b2c7
Update battler-tags.json 2024-09-09 12:50:09 +02:00
Lugiad
013091fae0
Update battler-tags.json 2024-09-09 12:49:45 +02:00
Lugiad
880131a534
Update move-trigger.json 2024-09-09 12:46:43 +02:00
Adrian T.
f5bf766ff7
[Move] Fully implement Tar Shot (#4043) 2024-09-09 00:42:53 -07:00
innerthunder
c710f85fd3
Fix Pokemon.isTrapped only checking enemy Pokemon for trapping abilities (#4124) 2024-09-09 14:19:59 +08:00
flx-sta
39b6a72517
[Bug] Fix #762: All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted (#4025)
* fix #762 by using slotIndex to add to party

for now the new pokemon was ALWAYS just pushed to the party array. Now it's put into the slot that was also previously selected as the mon to release

* add docs for `Pokemon.addToParty()`

* add simple tests for addToParty

* update `isBetween` docs. Remove `.js` imports
2024-09-09 01:10:47 -04:00