Commit Graph

5138 Commits

Author SHA1 Message Date
Sirz Benjie
e6528afe73
Merge branch 'beta' into waveData 2025-05-01 21:56:28 -05:00
damocleas
fa86ea3214
[Misc] Spring Stuff (#5742)
* Update timed-event-manager.ts

* spr25 images

* Update the-pokemon-salesman-encounter.ts rolls
2025-05-01 22:54:59 -04:00
Dean
7a9fc3fc8d
[Bug] Clear status immediately in menus (#5739)
Add asPhase parameter
2025-05-01 22:50:56 -04:00
Sirz Benjie
3af1bdbcff
[Bug][Ability] Fix change move type abilities (#5665)
* Make type changing moves change type after abilities but before ion deluge/electrify

* Create unified test file for galvanize, pixilate, and refrigerate

* Make type boost items like silk scarf affect the move after its type change

* Add tests for type boost item interaction

* Remove leftover log messages

* Update spies in type-change ability tests

* Add automated tests for normalize

* Fix test name injection for tera blast

* Add automated test for tera blast normalize interaction

* Restore pokemon as a type-only import in moves.ts

* Add aerilate to type changing tests

* Rename galvanize test file

* Fix utils import

* Apply suggestions from code review

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

* Remove unnecessary mockRestore

* Remove unnecessary nullish coalescing

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

* Update src/field/pokemon.ts

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

---------

Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-05-01 22:41:57 -04:00
Bertie690
40f50c63ec Revert "Added utility function randSeedFloat"
This reverts commit 4c3447c851.
2025-05-01 22:11:15 -04:00
Xavion3
8eeec9511b
[Bug] Correctly get cursor position in command UI (#5740)
Correctly get cursor position in command UI

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-05-02 01:18:38 +00:00
Bertie690
da3b2e0edd
[Docs] Added changes to markdown files + comment fixes (#5682)
* Added changes to markdown files, reworked test boilerplate code + comment fixes

* Update comments.md

Removed references to jsdoc.
Removed mention of @extends which doesn't even exist in tsdoc
Increased clarity of documenting `args` parameter.
Moved to using active voice instead of passive voice

* Fix truncated sentence in returns example

* fix create-test-boilerplate.js

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

* Update gameManager.ts

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

* Update comments.md

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

* Update gameManager.ts

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

* Update gameManager.ts

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

* Update gameManager.ts

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

* Update gameManager.ts

* Fixed doc thing

* Fixed the things

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

* Fixde boilerplate to use snake case

* Update .gitignore to include workspace files

* Update linting.md, fix lefthook etc.

* Fix tpyo

* Update create-test-boilerplate.js

Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>

* Update create-test-boilerplate.js

Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>

* Update create-test-boilerplate.js

Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>

* Reverted boilerplate code fixes and applied review comments

Will now be handled by milkmaiden

* Fixed up documentation for comments.md and linting.md

Comments.md added info pertaining to Kev's review
linting.md i just stopped spouting misinformation

* Update `biome.jsonc` comments

Update `comments.md`

Update docs for `AddSubstituteAttr` in `move.ts` to match example

* Apply suggestions to the suggestions

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>
2025-05-02 00:24:37 +00:00
Unicorn_Power
bee06410dd
[Sprite] Variant Spring Implementation (#5483)
* 566 567 variant icons and palettes @ bytezor

* Add Archen & Archeops to variant icon atlas

* [554 - 555 + zen ] Variant Implementation

* [626 ] Variant Implementation

* Removal of The base-replacement Genies

* [ 746 ]-[ 746-school ] Implementation

* Variant Palette for 2037-2038

* Variant palette 32-33-34

Plus base fix for front and back 34.

* 645 both forms variant palette

Icons gets pushed at a later date.

* 299 - 476 variant palette

* 299 - 476 _masterlist

somehow mangage to miss this

* Removing 905 who wasnt working correctly

* 422- 421 both forms variant palettes

* 143+ form - 446 variant Palette

* 417 Variant palette

* 498-499-500 variant palette

* 88-89 variant palette

plus the variant json for 500 I missed

* 572 - 573 variant palette.

found another lose one that should be pushed lmao

* 187-188-189 Variant palette

* 871 variant palette

* 780 Variant palette

* 331 332 + female variant palette

* 782-783-784 variant palette

transfer to consistent sprite set. removal of exp. due to statics not lining up.

* 2038 json adjustments on breaking

* 204 205 variant palette

* [Bug][UI/UX] Fix type hint after enemy disappears (#5677)

* Fix type hint after enemy disappears

* Add automated test for type hint bugfix

* Make onField default to true

* Replace reference to Mode with UiMode and battleType with BattleStyle

* [Bug] Fix Login Screen Buttons can be Pressed While Animating (#5170)

* destroy containers when processing external containers

* make form buttons uninteractible until tweens finished instead

* fix holding enter spam

* fix conflicts

* [Balance] Update Gym Leader Teams and Teras (#5670)

* Update Gym Leader Teams

* Set Tera slots for Gym Leaders

* Change Giovanni's Specialty Type to Ground

---

Co-authored-by: damocleas <damocleas25@gmail.com>

* [Bug] Properly handle suppression with Illusion (#5671)

* Remove extra attributes on neutralizing gas

* Add IllusionBreakAbAttr to applyOnLose

* Add test case

* [Bug] Fix order of operations when displaying enemy Boss level (#5685)

* order of operations in creating boss battleInfo

fixed a bug where because of an order of operations error in this file it ignored the position update of the boss life value set in battle-info.ts (around line 562)

* [Dev] Fix imports in `overrides.ts` and `illusion.test.ts` (#5686)

* applin familly variant palette

* 522 523 variant palette

* 403 404 405 variant palette

* 511 512 515 516 variant palette

masterlist have code for 513 514 but fixes was broken add will be added once fixed

* 313 314 variant palettes

plus disabaling Landorus and other 2.

* 692 693 Variant palette.

* 535 536 537 variant palette

fixing up mess found in masterlist json and the masterlist inclusion of 692 693

* 207 female variants palette

plus adjustments of gliscor color to have better contrats.

* 325 326 variant palette

* 345 346 variant palette

* Adding all variant Icons

to the correct folder under variant icons.

* Removal of Variant files triggering errors for sprite test

these arent going to be implemented at this time due to the other 3 not being ready.

* File adjustment

the animation adjsutment for 750 to make the neck look less like a block.
fixing the line issue that appeared in 523 back sprite

* fixing the variant break for 572 573

* 513 514 variant palette

been fully fix and is not working

* 396 397 398 variant palette

* fixing back variant palette and fix for 554

* fixing the missing files for 692 and 693

* Updated masterlist

* fix flagging issue

* Update all Pokemon variant icon atlases

Fixed incorrectly sized Bouffalant icons, re-exported gen 5 icon atlas as it had broken graphics in it

* Last Gen 5 icons

* Export gen 5 variant icon atlas

* 643 644 646 + form variant palette

---------

Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: Chris <75648912+ChrisLolz@users.noreply.github.com>
Co-authored-by: Blitzy <118096277+Blitz425@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: Dean <69436131+emdeann@users.noreply.github.com>
Co-authored-by: zaccie <zaccie.adams@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-05-01 20:12:57 -04:00
damocleas
d3a1b42628
[Balance] 1.9 Passive and Egg Move Changes (#5741)
* Update passives.ts

* Update egg-moves.ts
2025-05-02 00:59:45 +02:00
Sirz Benjie
ff7860413a
[Bug][Ability] Fix shell armor not blocking crits (#5737)
Fix shell armor not blocking crits
2025-05-01 19:20:03 +00:00
Bertie690
63d822e5c4 fixed -1 bug 2025-05-01 14:18:33 -04:00
Madmadness65
a81cac547b
[Sprite] Update Mystical Rock sprite with smaller variant (#5734)
Update Mystical Rock sprite with smaller variant

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-05-01 14:15:36 -04:00
Bertie690
0da02a60b5 Fuxed constructor 2025-05-01 13:28:54 -04:00
Bertie690
811f617f5a Merge remote-tracking branch 'upstream/beta' into waveData 2025-05-01 12:17:52 -04:00
Bertie690
fa2ed2f015 Reveted pokemon-forms.ts 2025-05-01 12:15:31 -04:00
Bertie690
d274e14a5e Fixed comment 2025-05-01 12:01:34 -04:00
Bertie690
04d1cbfa24 Hppefully fixed -1 sprite scale glitch 2025-05-01 12:00:17 -04:00
Bertie690
448109d10f Re-added BattleSummonData as TempSummonData 2025-05-01 11:56:34 -04:00
Wlowscha
cdcc338afd
[UI/UX] Caught battle forms are displayed correctly in Pokédex (#5697)
* isCaught function in Dex now returns the correct result

* Removed log messages

* Added tests to check caught status of battle forms

* Update src/ui/pokedex-page-ui-handler.ts

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-05-01 02:17:21 +00:00
Bertie690
b6b8aa0e39 Updated switch summon phase comment 2025-04-30 19:02:09 -04:00
Bertie690
33c7971b91 Fixed a few outstanding issues with documentation 2025-04-30 18:53:43 -04:00
damocleas
fd5612e253 [i18n] Update locales
fix
2025-04-30 18:48:06 -04:00
NightKev
9187edcf6c
[i18n] Update locales (#5736) 2025-04-30 18:45:52 -04:00
Bertie690
f44aa80a4b
Update pokemon.ts comments 2025-04-30 08:07:53 -04:00
Bertie690
6757893877
Update battle-anims.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:56:24 -04:00
Bertie690
2d87a2b318
Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:56:15 -04:00
Bertie690
681c06862c
Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:40 -04:00
Bertie690
bd9f34643b
Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:34 -04:00
Bertie690
89269cfa29
Update ability.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:27 -04:00
Sirz Benjie
ef9a867e67
[Bug] Fix clear ignoring errors from server (#5722)
* Fix clear ignoring errors from server

* Update tests to expect a throw
2025-04-29 23:55:42 -07:00
Bertie690
7f3a5cfe38
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:15:42 -04:00
Bertie690
aaf68aa3c1
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:15:14 -04:00
Bertie690
9c85e977ca
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:15:08 -04:00
Bertie690
ffa51715f3
Update the-winstrate-challenge-encounter.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:14:54 -04:00
Bertie690
bee74fd120
Update battle-scene.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-04-29 23:05:29 -04:00
Bertie690
b841dc826d
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:05:12 -04:00
Bertie690
5c2ebef043
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:55:39 -04:00
Bertie690
80cb962ecc
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:55:14 -04:00
Bertie690
0ae75363e6
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:54:58 -04:00
Bertie690
adc6ff0d26
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:54:42 -04:00
Bertie690
0294f71ce8
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:54:36 -04:00
Bertie690
b62526dec4
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:54:27 -04:00
Bertie690
37b23e4ef5
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 22:54:21 -04:00
Sirz Benjie
84a2ce979f
[GitHub] Update pull request template to say test:silent (#5733) 2025-04-29 19:48:06 -07:00
Sirz Benjie
1e8fc076a7
[Misc][Move] Add edge case to transform (#5732) 2025-04-29 18:30:28 -07:00
Bertie690
43d73b01b1
[Code] Added and enforced no-fallthrough + added eslint type checking (#5705)
* Added and enforced `no-fallthrough`

* Fixed errors

* Fix package.json

* Moved vule to biom

* Fixed stuff

* Added workspace files to .gitignore for anyone who wants to do this stuff

* reverted accidental gitignore changes

* Update biome.jsonc

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>

* Update biome.jsonc

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>

* Update pokemon-species.ts

* Update biome.jsonc to apply reviews

* Fixed package.json

* Fix typo

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:21:28 +00:00
Bertie690
efb079c58e
Merge branch 'beta' into waveData 2025-04-29 18:14:30 -04:00
AJ Fontaine
9a9759d31c
[Balance] Fix Basculin white stripe moveset (#5729)
* Fix Basculin moveset and TMs
2025-04-29 17:27:40 -04:00
Bertie690
25446f3d1e Added tests for Last Resort regarding moveHistory 2025-04-29 17:08:14 -04:00
Bertie690
c34fd10ccb Removed unnecessary null checks for turnData and co.
I explicitly made them initialized by default for this very reason
2025-04-29 14:06:12 -04:00