pokerogue/src/test/utils/helpers
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
..
challengeModeHelper.ts [Challenge] Inverse battle challenge (#3525) 2024-08-29 19:59:33 +01:00
classicModeHelper.ts Create the appropriate startBattle() functions in the helper classes (#3855) 2024-08-27 17:47:09 -07:00
dailyModeHelper.ts Create the appropriate startBattle() functions in the helper classes (#3855) 2024-08-27 17:47:09 -07:00
gameManagerHelper.ts [Bug] Fix daily run generated movesets (#3519) 2024-08-13 21:48:56 +01:00
moveHelper.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
overridesHelper.ts [Refactor] Cleaning up Learn move phase (#3672) 2024-09-09 09:11:46 -07:00
reloadHelper.ts [Bug] Fix reloads causing RNG inconsistencies, Moody and Acupressure use seeded RNG now (#3952) 2024-09-03 09:14:45 -04:00
settingsHelper.ts [Test] Tests now default to using "Set" battle style (#3728) 2024-09-01 23:32:31 -04:00