Add winter title BGM loop point & play during winter season
The winter title BGM will play during the entirety of December and the first half of January, regardless of if an event is happening or not.
* Reset hit-related turn data inside `MoveEndPhase`
and remove `extraTurns` field
* Fixed FS edge case
* Fixed test hit count checks going past move end phase
* fixed PB tests
* Put `default` switch case last again
* [UI/UX] Split login and register into separate menus
* Resize the container for the "Login" and "Register" buttons
* Make container width dynamic
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
* Make logo position dynamic
* Apply suggestions
- Consolidate code in `LoginPhase`
- Use `truncateString` utility function in `form-modal-ui-handler.ts`
- Move login form to match location of register form
- Swap `x` values of username and download buttons
* Apply suggestions
---------
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
* [Test] Improve error message on `toHaveUsedMove`
* Fixed typing on test stuff + added caching on `toHaveArenaTagOptions`
* Fixed matcher breaking with single move arguments
* Fixed typing errors in `vitest.d.ts`
* Fixed typing importing from the wrong file
* Fixed wish test type errors
* Reverted type changes to battler tag matchers by request
- Removed Chatter, Revival Blessing, and Tera Starstorm from being invalid moves to be gained with the move Sketch
This seems to have been an oversight when implementing the list to work with the game, as there is no reason to restrict these with the game systems here.
* [Balance] The cost of buying same-species eggs can be reduced
After hatching a certain number of eggs for a starter,
the cost of buying same-species eggs
for that starter will be reduced (up to 50%)
* Add test to validate array lengths for egg costs
* [Ability] Poison Puppeteer now applies for abilities
When a target is poisoned due to an ability of a Pokemon that also
has Poison Puppeteer, Poison Puppeteer will now apply its effect
* Add tests for Poison Puppeteer
* Remove parameter properties from `ObtainStatusEffectPhase`
* [Github] Improved test workflow to merge blobs into 1 big test
* fixed workflow not checking out + test failure behavior
* fixed the thingy to still merge reports when a shard fails
* Fixed workflow being skipped
* Fixed inverted conditional
* Removed failing test demo
* updated workflow to hopefully not clone entire repo
* Add .nvmrc to sparse-checkout configuration
* fail workflow output test
* Include custom reporters, vite/vitest config in sparse checkout selection
* Add src/plugins/vite to sparse checkout
* Revert to checking out full repo and remove change to instruct test
Unfortunately using sparse checkout won't work
* Remove redundant comment
* Try not using recursive submodules when cloning locales
* re-addede recurse submoudules
* actually disabled it
* Remove extra newline
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
* [Dev] Add lefthook command to update packages on checkout/merge
* Modify post-checkout to only run on branch checkout
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
---------
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>