Commit Graph

3520 Commits

Author SHA1 Message Date
flx-sta
2b8246e2f4
Update mystery-events.yml 2024-07-17 22:38:33 -07:00
flx-sta
0c397db686
Update and rename mystery-event.yml to mystery-events.yml 2024-07-17 22:36:14 -07:00
ImperialSympathizer
c928445f5e pull latest MEs 2024-07-17 23:01:56 -04:00
ImperialSympathizer
06684e06a2 clean up battle animation logic 2024-07-17 22:58:34 -04:00
flx-sta
7a24f68769
Merge pull request #37 from flx-sta/event/getting-lost-at-the-sea
Implement `Lost at sea` (Common)
2024-07-17 17:56:17 -07:00
Felix Staud
a98dbfdc93 fix lost-at-sea-encounter tests 2024-07-17 17:05:08 -07:00
Felix Staud
6cbf73281c add retries to quick-draw tests 2024-07-17 16:38:25 -07:00
Felix Staud
3e6183cd50 move "battle:fainted" into koPlayerPokemon 2024-07-17 16:24:34 -07:00
Felix Staud
41cacde623 lost-at-sea-encounter: fix and extend tests 2024-07-17 16:23:31 -07:00
Felix Staud
3fd79984cd add fallback for biomeMysteryEncounters if empty 2024-07-17 16:06:08 -07:00
Felix Staud
6e97bca0ad fix lost-at-sea tests 2024-07-17 15:31:12 -07:00
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
ImperialSympathizer
09a3167bac add fiery storm animation for fiery fallout 2024-07-16 22:51:40 -04: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