Wlowscha
1977c3e6b8
Merge branch 'beta' into test-matchers-v2
2025-07-28 20:51:42 +02:00
Bertie690
c92b895946
[Dev] Add workflow-dispatch
trigger to tests github workflow ( #6152 )
...
Add `workflow-dispatch` trigger to github workflow
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-07-28 20:43:36 +02:00
Bertie690
7fc96aa8c4
Fixed tests and such
2025-07-28 12:06:05 -04:00
Bertie690
0a3e4f9615
Fixed up tests
2025-07-28 11:37:47 -04:00
Bertie690
447bc59b40
Added option to check for all PP used in pp matcher + cleaned up grudge tests
2025-07-28 11:37:47 -04:00
Bertie690
4b447073a7
Fixed log message to not be overly verbose
2025-07-28 11:37:46 -04:00
AJ Fontaine
903fad89d9
[Balance][Challenge] Added expanded Fresh Start options ( #6162 )
2025-07-27 22:46:11 -07:00
Sirz Benjie
d41e6055e7
Merge pull request #5873 from SirzBenjie/refactor-command-phase
...
[Refactor] Refactor command phase
2025-07-27 23:32:30 -06:00
Sirz Benjie
0c82b3f514
Improve documentation
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-07-27 22:24:07 -06:00
Sirz Benjie
ed915dcb58
Apply kev's suggestions from code review
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-07-27 22:24:06 -06:00
NightKev
c0a42985bf
Fix imports
2025-07-27 22:24:06 -06:00
Sirz Benjie
26cbf2db8c
Update with Bertie's comments
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-07-27 22:24:05 -06:00
Sirz Benjie
1df3ac0962
Explicitly check against Moves.NONE
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-07-27 22:24:05 -06:00
Sirz Benjie
e1e7287919
Improve canUse
computation
2025-07-27 22:24:04 -06:00
Sirz Benjie
adb5900497
Fix improperly named computeMoveId method
2025-07-27 22:24:04 -06:00
Sirz Benjie
9218d35938
Add overload for handle command
2025-07-27 22:24:03 -06:00
Sirz Benjie
22d2b4a436
Minor touchups
2025-07-27 22:24:03 -06:00
Sirz Benjie
958eb00566
Breakup commandPhase#start
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-07-27 22:24:02 -06:00
Sirz Benjie
22b9a19ba6
Breakup run and pokemon commands
2025-07-27 22:24:01 -06:00
Sirz Benjie
0935d817e9
breakup fight and ball commands into their own methods
2025-07-27 22:24:01 -06:00
NightKev
462b423cb8
[Dev] Change target
to ES2023
in tsconfig.json
( #6160 )
2025-07-28 00:20:02 -04:00
NightKev
3a6a16f3ff
Update src/typings/i18next.d.ts comment
2025-07-27 20:43:44 -07:00
Bertie690
b26124501e
Reverted biome breaking i18next
2025-07-27 23:42:08 -04:00
NightKev
9b4b286409
Apply Biome
2025-07-27 20:39:38 -07:00
Bertie690
0449b3f2ea
Ran biome
2025-07-27 23:33:15 -04:00
Bertie690
a9e66e43ad
Fixed spite test
2025-07-27 23:33:15 -04:00
Bertie690
77f6e5b36e
Fixed up docs and tests
2025-07-27 23:33:15 -04:00
Bertie690
b384535188
Added toHaveUsedPP
matcher
2025-07-27 23:33:14 -04:00
Bertie690
39230e1864
Added wip spite test
2025-07-27 23:33:14 -04:00
Bertie690
ccc8890362
Merge branch 'beta' into test-matchers-v2
2025-07-27 23:29:33 -04:00
Bertie690
157b662f9e
[Bug] Fix camel case bug in strings.ts
( #6161 )
2025-07-27 20:17:46 -07:00
Bertie690
82fc39b2e5
Removed the word "matcher" from the pkty matcher functions
...
If we want them back we can always undo this commit and convert the other custom ones
2025-07-27 21:19:55 -04:00
Bertie690
83392d7e86
Fixed up remaining matchers
2025-07-27 21:14:45 -04:00
NightKev
3434078329
[Docs] Add @module
modifier tag to tsdoc.json
2025-07-27 18:03:34 -07:00
Sirz Benjie
c0e755c3c3
[Refactor] Prevent serialization of full species in pokemon summon data
...
https://github.com/pagefaultgames/pokerogue/pull/6145
* Prevent serialization of entire species form in pokemon summon data
* Apply suggestions from code review
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Apply Kev's suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-07-27 18:01:44 -07:00
Bertie690
a0de157246
Fiexd up matchers
2025-07-27 20:17:29 -04:00
Bertie690
c28eacf256
Merge remote-tracking branch 'upstream/beta' into test-matchers-v2
2025-07-27 20:02:00 -04:00
Bertie690
6c54695a73
ddd
2025-07-27 20:01:37 -04:00
Bertie690
3a6026d637
Cleaned up some more matchers
2025-07-27 19:13:05 -04:00
Bertie690
917fb596b4
Partially ported over pkty matchers (WIP)
2025-07-27 18:44:14 -04:00
Bertie690
19730f9cf0
[Misc] Moved + cleaned up string manipulation functions ( #6112 )
...
* Added string utility package to replace util functions
* Changed string manipulation functions fully over to `change-case`
* Fixed missing comma in package.json
trailing commas when :(
* fixed lockfile
* Hopefully re-added all the string utils
* fixed package json
* Fixed remaining cases of regex + code dupliation
* Fixed more bugs and errors
* Moved around functions and hopefully fixed the regex issues
* Minor renaming
* Fixed incorrect casing on setting strings
pascal snake case 💀
* ran biome
2025-07-27 13:59:03 -07:00
Bertie690
29d9bb6e7b
[Dev] Turned on checkJs
in TSConfig; fixed script type errors ( #6115 )
2025-07-27 20:42:57 +00:00
NightKev
7cb2c560ab
[Misc] Fix import in vitest.d.ts
2025-07-27 13:32:47 -07:00
Bertie690
f3854abc16
[Test] Added custom equality matchers ( #6157 )
...
* Added rudimentary test matchers for `toEqualArrayUnsorted` and `toHaveTypes`
Might port the rest at a later date
* Actually run the effing setup matchers file + fixed ls lint to not be angy
* added dev dep
* Update .ls-lint.yml
* Update .ls-lint.yml
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
2025-07-27 20:16:04 +00:00
Sirz Benjie
1b8082a177
[Refactor] Refactor UI text ts ( #5946 )
...
* Add destroy method to pokemon-sprite-sparkle-handler
* Move TextStyle to enums, convert into const object
* Cleanup text.ts file
* Add necessary explicit types for TextStyle let vars
* Fix locales submodule commit
* Fix merge issue
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-07-27 17:46:56 +00:00
Sirz Benjie
ed8858e07d
[Bug][Beta] Make bounce delay use fixed int ( #6156 )
...
Make bounce delay use fixed int
2025-07-26 21:58:06 -05:00
Sirz Benjie
2f1cf2fc13
[Beta] [Bug] Fix shiny display issues ( #6154 )
...
Fix shininess check
2025-07-27 02:35:39 +00:00
damocleas
a117ff9bc8
[i18n] Update Locales
2025-07-26 22:31:55 -04:00
NightKev
30a6f47081
[Dev] Add dist/
to ls-lint
ignore list
2025-07-26 19:23:18 -07:00
SmhMyHead
08d7216424
[UI/UX] Added "Hide Username" Setting ( #6105 )
...
* [UI/UX] Added "Hide Username" Setting
* Mask tid with asterisk instead of hiding completely
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-07-26 22:34:21 +00:00