Commit Graph

5817 Commits

Author SHA1 Message Date
Sirz Benjie
d6d2870f02
Drop readonly on timingModifier 2025-09-21 10:55:20 -05:00
Sirz Benjie
f743dc7648
Remove latent isNullOrUndefined 2025-09-16 19:07:51 -05:00
Sirz Benjie
2561b7ea67
chore: fix merge conflicts from Biome update 2025-09-08 12:08:52 -05:00
Sirz Benjie
ec34c975bb
chore: apply biome 2025-09-06 17:22:50 -05:00
Sirz Benjie
0281751fa8
fix: type for InferKeys 2025-09-06 17:20:21 -05:00
Sirz Benjie
015d4780fc
Remove optional chaining 2025-09-06 14:35:27 -05:00
Sirz Benjie
c378f2af1f
Minor adjustments from code review
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-09-06 13:52:40 -05:00
Sirz Benjie
826bf1fd33
Address kev's review comments
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-06 13:40:22 -05:00
NightKev
9e49162012
PR review changes
Fix type hints test name

Update Dig/Dive test name

Separate TSDoc imports in `pokemon-utils.ts`

Add missing `@returns` in `move-phase.ts`

Fix comment typos

Separate TSDoc imports in `move-phase.ts`

Add return hints to `trySelectMove`

Minor formatting

Remove duplicate `.affectedByGravity()` on Telekinesis

Fix docs for `checkRestrictions`

Manually format method definition

Fix comment spacing

Fix variable naming
2025-08-19 17:23:11 -07:00
Sirz Benjie
2eed38dc55
Minor adjustments from code review
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-08-19 19:10:31 -05:00
Sirz Benjie
4b62dc8b56
Add tests for teleport 2025-08-19 19:05:12 -05:00
Sirz Benjie
8b8567739d
Minor adjustments from code review
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-08-19 18:37:10 -05:00
Sirz Benjie
514f09c536
Adjust type hint test to not rely on teleport 2025-08-19 18:30:49 -05:00
Sirz Benjie
bbd6eb9579
Fix getBattlerIndex for enemyPokemon 2025-08-19 18:04:45 -05:00
Sirz Benjie
f7cb01011c
Fix missing break in applyConditions 2025-08-19 18:01:29 -05:00
Sirz Benjie
f24c8532f0
Adjust dive's test 2025-08-19 17:42:26 -05:00
Sirz Benjie
67e9154f49
Fix dig test 2025-08-19 17:30:56 -05:00
Sirz Benjie
d296b1cdb8
Fix failAgainstFinalBossCondition 2025-08-19 17:15:01 -05:00
Sirz Benjie
e55fbc8f8e
Adjust pollen puff condition, fix docs on isOpponent 2025-08-19 17:06:52 -05:00
Sirz Benjie
bb99bebc75
Ensure move restrictions are only checked for players 2025-08-19 16:44:38 -05:00
Sirz Benjie
8681cec32e
Finish unfinished docs 2025-08-19 16:27:19 -05:00
Sirz Benjie
77948a8ff8
Remove BYPASS_SLEEP battler tag in favor of boolean holder 2025-08-19 16:22:55 -05:00
Sirz Benjie
4273345371
Play sleep animation and message 2025-08-19 15:17:26 -05:00
Sirz Benjie
48b0d843d2
Adjust copycat test to account for how it actually works 2025-08-19 14:24:14 -05:00
Sirz Benjie
86122f6c04
Adjust revival blessing hardcore test to respect new return value of isUsable 2025-08-19 12:26:00 -05:00
Sirz Benjie
53fb2585aa
Add missing attribute to counter 2025-08-19 12:22:40 -05:00
Sirz Benjie
f361b8efed
Adjust fly tests to expect pp reduction properly 2025-08-19 12:14:35 -05:00
Sirz Benjie
5c67d65e09
Tweak charge move handling and protean timing 2025-08-19 12:14:16 -05:00
Sirz Benjie
e0f926a9d7
Fix first move condition not using 1 based starting wave 2025-08-19 11:21:22 -05:00
Sirz Benjie
174c2113ac
Make charging moves deduct pp on use instead of on release 2025-08-19 11:02:47 -05:00
Sirz Benjie
4606e4e8bc
Revert type adjustment to getBattlerIndex 2025-08-19 10:27:59 -05:00
Sirz Benjie
61015bd363
Insert move failure check sequence part 4 into move phase 2025-08-19 00:11:17 -05:00
Sirz Benjie
d5c59218a6
Adjust move condition check that occurs in the third failure check sequence 2025-08-19 00:03:33 -05:00
Sirz Benjie
5c7c87e075
Adjust counter attr to use array.find 2025-08-19 00:00:03 -05:00
Sirz Benjie
8feaa8c86b
Make substitute use the move tag 2025-08-18 22:33:48 -05:00
Sirz Benjie
313f99a694
Adjust some documentation for new methods 2025-08-18 22:30:52 -05:00
Sirz Benjie
eaaedcd0a9
Add counterRedirectAttr to other counter-like moves 2025-08-18 21:23:50 -05:00
Sirz Benjie
81e26a8cbd
Address bertie's review comments 2025-08-18 21:12:38 -05:00
Sirz Benjie
62a1774e1f
Adjust restriction for stuff cheeks 2025-08-18 20:28:26 -05:00
Sirz Benjie
a072cf26ea
Adjust status checks to respect ignoreStatus useModes 2025-08-18 20:23:27 -05:00
Sirz Benjie
8b9eeef74e
Refactor mostly complete, need to recheck tests 2025-08-18 19:24:22 -05:00
Sirz Benjie
eaae371a28
Add second and third failure sequences 2025-08-17 21:26:45 -05:00
Sirz Benjie
5e7caadc78
Add failure conditions and move failures part 1 2025-08-16 14:32:47 -05:00
Lugiad
cffbafe4bd
[i18n] Language codes adjustments (#6587) 2025-09-22 05:45:28 -07:00
Dean
1c9843618c
[Misc] Blacklist more dynamic phases (#6585) 2025-09-21 12:05:13 -07:00
Sirz Benjie
d3edfb25a1
[Bug][Ability] Queenly Majesty flyout during move select (#6569) 2025-09-21 19:04:57 +00:00
Wlowscha
2fe99cc3bf
[Refactor] Refactor Starter and its handling (#6477)
* Reworked `Starter` interface with more explicit information

* Use Starter in ssui

* Fixed some bugs

* Passing starter.ivs to playerPokemon

* Using speciesIds

* Fixed getTestRunStarters

* Reverted some parameter changes

* Initialize starters in ssui

* Don't clear starters before starting run

* Fix to game manager

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Set ivs to 0 in part timer test

* Setting the right ivs

* Moved ssui to handlers folder

* Ran biome all

* Fixed broken imports

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-21 11:07:08 -07:00
Lugiad
cf5e7fd981
[UI/UX] Optimize text PNGs (#6584) 2025-09-21 06:55:54 -07:00
NightKev
be61996044 [Docs] Fix/update some comments and spacing 2025-09-21 00:22:53 -07:00
NightKev
9f851591cb [Dev] Update pnpm 2025-09-21 00:21:27 -07:00