Commit Graph

3122 Commits

Author SHA1 Message Date
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
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
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
ImperialSympathizer
1a95f06795 implement max spawns per run for individual encounters, tweak spawn rates 2024-07-15 14:01:47 -04:00
Felix Staud
f2031c78e9 Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea 2024-07-15 10:31:43 -07:00
ImperialSympathizer
23f6fb17a4 add art issues form and remove some leftover beta branch poison 2024-07-15 12:56:58 -04:00
ImperialSympathizer
e1bb1e2481 clean up safari code and utils 2024-07-15 12:36:10 -04:00
Felix Staud
e2c431b913 polish lost at sea encounter
- fix guide pokemon not receiving exp
2024-07-14 21:32:22 -07:00
Felix Staud
9208fd226b RESET OVERRIDES.TS!! 2024-07-14 21:31:43 -07:00
ImperialSympathizer
da0aea0d1e safari encounter and sprite offset positioning updates 2024-07-14 17:37:03 -04:00
ImperialSympathizer
43ebff59a4 Merge branch 'mystery-battle-events' of https://github.com/InnocentGameDev/PokeRogue-Events into multiple-query-encounter 2024-07-12 21:11:26 -04:00
Felix Staud
7b55811b84 apply surf & fly condition (not water & flying) 2024-07-12 14:55:52 -07:00
Felix Staud
0cb4e53861 undo some MysterEncounterOptionBuilder changes 2024-07-12 14:50:32 -07:00
Felix Staud
b23664cb9e extend MysteryEncounterOptionBuilder 2024-07-12 14:40:47 -07:00
Felix Staud
c4e3a28585 Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea 2024-07-12 14:38:40 -07:00
ImperialSympathizer
4097d49adc add an optional disabled button label 2024-07-12 17:36:59 -04:00
ImperialSympathizer
a72e76b6fd safari zone 2024-07-12 17:33:55 -04:00
Felix Staud
0a212b3f81 minor changes to CanLearnMoveRequirement 2024-07-12 14:24:37 -07:00
Felix Staud
53f178fde2 replace @ec with i18n variables 2024-07-12 14:10:19 -07:00
Felix Staud
b95e9cbfa4 Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea 2024-07-12 14:08:52 -07:00
Felix Staud
c9cbdd7d44 lost-at-sea encounter - further progress 2024-07-12 14:07:33 -07:00
Felix Staud
7164b0afe4 add CanLearnMoveRequirement 2024-07-12 13:23:48 -07:00