Felix Staud
96d0df42fc
chore: jsdoc formatting
2024-07-17 15:11:17 -07:00
Felix Staud
7003d74d1f
remove redundance from Pokemon.isAllowedInBattle()
2024-07-17 15:10:50 -07:00
Felix Staud
918320079a
fix typo in CanLearnMoveRequirementOptions
2024-07-17 15:09:17 -07:00
Felix Staud
fe2888be4b
mystery encounters: resolve review comments:
...
Lost at Sea:
-fix typo in handlePokemonGuidingYouPhase function
Mysterious Chest:
- remove obsolete commented code
mystery-encounter.ts
- remove unused `onDone` field from MysteryEncounterBuilder
2024-07-17 15:08:16 -07:00
Felix Staud
fd80036dac
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-17 15:02:01 -07:00
flx-sta
23a3bd506c
Merge pull request #99 from flx-sta/feature/mysyery-events-workflows
...
update mystery-event.yml
2024-07-17 15:01:33 -07:00
Felix Staud
ad222513cb
update mystery-event.yml
2024-07-17 14:57:04 -07:00
Felix Staud
2c9dd28675
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-17 14:54:12 -07:00
flx-sta
36307be42c
Merge pull request #98 from flx-sta/feature/mysyery-events-workflows
...
add .github/workflows/mystery-event.yml
2024-07-17 14:53:24 -07:00
Felix Staud
09808887b7
add .github/workflows/mystery-event.yml
2024-07-17 14:51:20 -07:00
Felix Staud
ada6eee884
lost-at-sea-encounter: remove fainted msg code
...
this is automatically handled in the encounter-phase-utils now
2024-07-17 14:45:49 -07:00
Felix Staud
35ede48153
encounter-phase-utils: update applyHpChangeToPokemon method family
...
- now automatically queues a battle:fainted msg on KO
2024-07-17 14:45:12 -07:00
flx-sta
de4d0f7d79
Update src/locales/en/mystery-encounters/lost-at-sea.ts
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 10:57:26 -07:00
flx-sta
2b47cd2a56
Update src/locales/en/mystery-encounters/lost-at-sea.ts
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 10:55:43 -07:00
flx-sta
36dd3798e6
Update src/locales/en/mystery-encounters/lost-at-sea.ts
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 10:55:29 -07:00
flx-sta
ebd8eedd1e
Update src/locales/en/mystery-encounters/lost-at-sea.ts
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 10:55:14 -07:00
Felix Staud
ad259c9e8f
MysteriousChestEncounter: revert debugging change (whops)
2024-07-17 10:36:09 -07:00
Felix Staud
78cbc22693
myst. chest enc.: remove manual game-over check
2024-07-17 10:11:34 -07:00
Felix Staud
a862dabcd1
optimize handleMysteryEncounterVictory
2024-07-17 10:10:40 -07:00
Felix Staud
6451eb8049
lost-at-sea enc.: add fainted
msg display
2024-07-17 09:54:02 -07:00
Felix Staud
274ff21943
add game-over handling to encounter-phase.-utils
...
it now checks initially if all allowed pokemon are fainted
2024-07-17 09:53:27 -07:00
Felix Staud
cd1bed3ab1
lost at sea enc.: add outro. add fainted msgs
2024-07-17 08:52:43 -07:00
Felix Staud
beb13c8361
fix types in myster-encounter-phase.ts
2024-07-17 08:43:55 -07:00
flx-sta
c978e348b7
Apply suggestions from code review
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 08:06:36 -07:00
Felix Staud
7653cffb5f
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-16 21:40:48 -07:00
Felix Staud
4452356555
fix buoy sprite placement
2024-07-16 21:36:56 -07:00
Felix Staud
613c13c419
use buoy sprite in lost-at-sea encounter
2024-07-16 21:34:05 -07:00
Felix Staud
04da4516b4
finish lost-at-sea-encounter.test.ts (for now)
2024-07-16 21:27:35 -07:00
Felix Staud
b26cffc49e
WIP: working on lost-at-sea-encounter tests
2024-07-16 19:45:24 -07:00
Felix Staud
5cded35e36
minor changes to encounterTestUtils.ts
2024-07-16 17:04:29 -07:00
Felix Staud
233f6072d6
chore: remove .js from imports
2024-07-16 16:42:53 -07:00
Felix Staud
fa02f84448
use encounterTestUtils.ts
2024-07-16 16:41:53 -07:00
Felix Staud
94e43e633c
add encounterTestUtils.ts
2024-07-16 16:41:47 -07:00
Felix Staud
391054c8e0
extend overridesHelper
2024-07-16 16:41:30 -07:00
Felix Staud
944197330c
fix can-learn-move-requirement getAllPokemonMoves
2024-07-16 15:31:42 -07:00
Felix Staud
7a15a0f81e
add lost-at-sea option 3 phase check full test
2024-07-16 15:17:48 -07:00
Felix Staud
af989fdaa6
add testUtils.workaround_reInitSceneWithOverrides()
2024-07-16 15:17:26 -07:00
Felix Staud
cb4162252c
add overrides helper to gameManager
2024-07-16 15:17:04 -07:00
Felix Staud
75bf80cbad
WIP: add lost-at-sea-encounter.test.ts
...
added a couple of easy tests and 1 int/e2e for option3
2024-07-16 11:36:45 -07:00
Felix Staud
5aceff6d6c
chore: format can-learn-move-requirement.ts
2024-07-16 10:46:39 -07:00
Felix Staud
d967ac52b6
add buoy sprite
2024-07-16 10:46:19 -07:00
Felix Staud
a7eb972d9e
ui.getHandler() add generic type with default
...
https://www.typescriptlang.org/docs/handbook/2/generics.html#generic-parameter-defaults
2024-07-16 10:46:07 -07:00
Asdar
e3abab1e17
Merge pull request #91 from AsdarDevelops/Asdar
...
included art request in the form and made some more minor changes
2024-07-16 18:11:48 +02:00
InnocentGameDev
c685d3b738
template formatting
2024-07-16 02:16:39 +02:00
Felix Staud
d73bf1e81d
remove ".js" in imports
2024-07-15 15:16:23 -07:00
Felix Staud
8cd5f34b0c
lost at sea enc.: reduce dmg to 25%
2024-07-15 13:59:04 -07:00
Felix Staud
6ac54def30
re-add lost utiltiy methods:
...
- applyHpChangeToPokemon
- applyDamageToPokemon
- applyHealToPokemon
- koPlayerPokemon
2024-07-15 13:45:25 -07:00
InnocentGameDev
87f7408117
template modifications
2024-07-15 22:02:36 +02:00
InnocentGameDev
543cb70323
included art request in the form and made some more minor changes
2024-07-15 21:51:38 +02:00
Asdar
9e3af91a7d
Merge pull request #90 from AsdarDevelops/yml-review
...
Update mystery_event.yml
2024-07-15 20:32:58 +02:00