Commit Graph

5543 Commits

Author SHA1 Message Date
damocleas
2e84b79ad8 add daily achv and other sorting 2025-08-20 21:04:01 -04:00
damocleas
5674a44a6c
Merge branch 'beta' into doTheAchievementShuffle 2025-08-20 19:56:01 -04:00
damocleas
294b958efe update pngs and locale 2025-08-20 19:55:36 -04:00
AJ Fontaine
030b701910
[Refactor] Change rare egg rate consts to array, rare egg move common egg boosted chance boosted (#6305)
* Change rare egg rate consts to array

* Update rates.ts

1/24 -> 1/16

* Make new arrays use readonly type hint

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-08-21 01:55:16 +02:00
AJ Fontaine
4eee569046
[Dev] Fix missing import in challenge.ts (#6312)
Fix missing import in challenge.ts
2025-08-20 18:47:10 -05:00
AJ Fontaine
7bdb62ed1d
[Refactor][Sprite] Remove duplicate animation json for shinies, sprite-based variants (#6307)
* Remove duplicate animation json

* Remove duplicate json for sprite-based variants

* Fix sprite test

* Fix name of variable

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 18:27:08 -05:00
Wlowscha
e85b479032
[UI/UX][Challenge] Starter select screen shows reduced information in fresh start (#6277)
* Introduced `getSpeciesData` function

* Saving and loading starter preferences as intended without conflicts

* Hiding shiny star and hidden ability icon, showing correct nature

* Forcing first tera type always

* Fixed bug which prevented tera from displaying the saved preference; tera resets in fresh start

* Ensuring that label text updates correctly

* Removed large commented code, plus lock on hardy nature.

* Excluded specific forms from fresh start, fixed bug with default nature

* Removed Rockruff from restricted forms

* Moves update correctly when switched around

* Making tera type persist in preferences

* Saving starter preferences after every change

* Tera type not resetting randomly

* Removed some log messages

* Incorporated suggestions from review

* Only allowing unlocked neutral natures, or default to hardy if no natures are unlocked

* Capping ivs at 15 instead of setting them at 15

* Apply suggestions from code review

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

* Hiding various things

* Ran biome

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 19:26:17 -04:00
Wlowscha
14a0a23abc
[Balance][Challenge] Block master ball catching final boss in challenges (#6273)
* Block catching bosses in nuzlockes

* Changes to conditions to restrict master ball use

* Implemented new can't catch messages

* Fixed some bugs which prevented correct usage of balls

* Special casing full fresh start

* fix text Update command-phase.ts

* Added tests for failing catches

* Using `mockI18next`

* Shorten a couple of variable declarations

* Fixed bug that allowed catching trainer pokemon in end; showing double battle failure only if other failure messages do not apply

* Fixed order of error messages

* Changed description of tests with "in end biome" instead of "paradox mon(s)"

* Not override nature after selection

* Update test/field/catching.test.ts

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

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 19:24:55 -04:00
Madmadness65
93cdffccc4
[Animation] Update Fog Animation (#6303)
* Update fog animation to use strong winds BG
2025-08-20 19:20:44 -04:00
Mourouh
7f49a35d6b
[Balance] Minor Trainer adjustments (#6308)
Remove WEAKER templates, adjust Twins, add rare seen encounters to trainers (Slakoth, Bounsweet) (not Beldum)

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-08-20 19:19:49 -04:00
Blitzy
07bf7bb5ca
[Balance] Hisui Lilligant Evo Method Change (#6309)
Update pokemon-evolutions.ts
2025-08-20 19:14:00 -04:00
NightKev
ee297a58bb
[Misc] Change framerate of Pokemon based on its status effect (#6284) 2025-08-21 00:11:16 +02:00
Wlowscha
d2e9615457
[UI/UX] Save in starter select screen after moveset changes (#6287)
* Save after moveset changes

* Saving only when the moveset is actually changed

* Removed logs, added docs

* Update src/ui/starter-select-ui-handler.ts

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 15:57:13 -05:00
Madmadness65
d99b7480e9 Optimize new images, re-export item atlas 2025-08-20 15:28:25 -05:00
damocleas
d6a2c524d9 egg s 2025-08-20 16:01:42 -04:00
Bertie690
6bdfb7eb31
[Test] Cleaned up shields down tests; added more tests (#6216)
* Cleaned up shields down tests; added more tests

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 08:57:46 -05:00
Bertie690
c94a570aca
[Refactor] Minor cleanup of Turn Start Phase (#5984)
* Reworked Turn Start Phase to be less jank

* Fixed sutff

* Update turn-start-phase.ts

* Update turn-start-phase.ts

* Ran biome

* Fixed up documentation for speed order functions

* Fix locales submodule

* Update src/phases/turn-start-phase.ts

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

* Update turn-start-phase.ts

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-20 13:53:11 +00:00
Sirz Benjie
333e80d172
Merge branch 'beta' into doTheAchievementShuffle 2025-08-20 08:45:45 -05:00
Bertie690
6c03181621
[Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872)
* Reworked status code, fixed bugs and added Rest tests

* Fixed rest bug

* Fixed bugs, split up status code, re-added required Rest parameter

* Cleaned up comments and such

* Added edge case to rest about locales

* Maybe did stuff

* Split up `trySetStatus` fully; fixed rest turn order display to match mainline

* Reverted healing changes to move to other PR

* Fixed message code a bit

* Condensed all status immunity tests under 1 roof

* Fixed the tests

* Added pollen puff tests back again

* Fixed swallow test

* Reverted swallow test

fixing in other prs

* Fixed pollen puff

* Fixed cirrc dep isuse

* fixed stockpile to no longer fail on stack full

* Fixed rest thing...?

* readded swallow conds

* Fixed tests

* wip

* Fixed tests

* Added pokemon heal phase to the turn queue

* ddddd

* Fixed the tests

* Fixed corrosion test

* Ran linting

* Fixed infiltrator bug

* Fix pokemon.ts

* Update move.ts

* Update corrosion.test.ts

* Update pokemon.ts documentation

* Remove missed line in TSDocs

* Update pokemon.ts

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

* Update modifier.ts

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

* Update modifier.ts

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

* Update obtain-status-effect-phase.ts

* Fix merge issues and apply Biome

* Revert pokemon-heal-phase.ts

* ddddd

* Fixed test file syntax err

* Update toxic spikes status set text to be quiet

* ran biome

* ran boime

* Prevent rest failure message from displaying outside of move phase

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-08-20 08:45:09 -05:00
Bertie690
2821728743
[Refactor] Cleaned up arena trap moves; prevented serialization of max layers (#6210)
* Grabbed matchers from other branch

* Cleaned up entry hazard arena tags; merged tests into 1 file

* Marked test as TODO because IDK how to make it pass

* Re-added test file + ran biome

* Sort imports in `vitest.d.ts`

* Fix Stealth Rocks test

* Renamed arena traps to entry hazards fr fr

* fixed matcher to have default value

* Fixed errors

* Update arena-tag.ts

Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-08-20 08:32:27 -05:00
Sirz Benjie
8ed32ed31e
Fix achievement test file 2025-08-20 08:18:13 -05:00
Sirz Benjie
336da565ed
Fix tera stellar missing icon path 2025-08-19 20:52:58 -05:00
Sirz Benjie
3955d2d992
Fix achievement test file 2025-08-19 20:48:35 -05:00
damocleas
4c5798e33c
Merge branch 'beta' into doTheAchievementShuffle 2025-08-19 21:02:38 -04:00
Bertie690
cf5378905e
[Test] Removed deprecated functions from phase interceptor (#6195)
* Removed deprecated functions from phase interceptor

* Added minor docs to the phase manager + renamed `shift` to `shiftPhase`

* Added `selectStarterPhase` to the end by set mode collection

* Fixed issues and syntax errors

* somehow fixed reload bug by making things actively worse

* Perhaps fixed things?

* maybe fixed?

* Fixed tests

* fixed another dumb error bc me big dumb bozo

* dddddd

* Update phase-interceptor.ts

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

* Re-add `!` and add `TODO` comment instead

---------

Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-19 19:54:40 -05:00
Bertie690
545d7349dc
[Test] Hopefully fixed salesman ME flaky test (#6298) 2025-08-19 17:43:39 -07:00
Bertie690
8734062401
[Test] Cleaned up tests to use updated test utils; part 1 (#6176)
* Removed bangs from `getEnemyParty` and `getPlayerParty`

* Replaced instances of consecutive `game.scene.getPlayerParty` with destructuring

* More array destructuring!!!

* Replaced `game.scene.getXXXParty()[0]` with `game.field.getEnemyPokemon`

* Deleted duplicate sturdy test case

* Fiexd syntax errors

* Fixed remaining issues; removed direct assignment to `Pokemon.moveset`

* Fixed remaining error
2025-08-19 19:21:40 -05:00
damocleas
9b10f312b9
Update achievement.test.ts 2025-08-19 17:01:41 -04:00
fabske0
effa45228e
[i18n] Change i18n keys to be camel case Part 4 (#6290)
* change run-history

* change menu

* change settings

* change splash texts

* Change trainer classes

* change trainer names

* Change trainer titles

* fix trainer config comments and `setTitle()`

* change challenges

* update challenge 2

* change pokedex ui handler

* Update locales submodule
2025-08-19 13:17:23 -07:00
Sirz Benjie
dd03887d05
[Challenge] [Beta] Block other ribbons when flip stats or inverse battle is active (#6289) 2025-08-19 01:37:43 +00:00
Wlowscha
3d9cb539c7
[Bug][P1] Fix trapping abilities crashing game on switch out (#6293)
Move trapped messages into a .then() statement
2025-08-19 00:30:12 +00:00
NightKev
5500f2ff8d
[Dev] Generate moveset when using player Species override (#6039) 2025-08-19 00:01:18 +00:00
damocleas
8ff1dbda43 run biome 2025-08-18 17:38:01 -04:00
damocleas
feeb705307
Merge branch 'beta' into doTheAchievementShuffle 2025-08-18 17:30:29 -04:00
Lugiad
7131e1fb01
[UI/UX] Tiny round of PNG optimizations (#6291)
Tiny round of PNG optimizations
2025-08-18 12:44:32 -07:00
Madmadness65
9662b7c8c9
[Audio] Add new Wasteland BGM track (#6285) 2025-08-18 09:27:37 -04:00
Jimmybald1
74136a9c2b
[Beta][Bug] Fixing Ribbons that do not work because of integer overflow (#6288)
Change ribbondata number to bigint

Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-08-18 08:04:23 -05:00
Madmadness65
2ff9bd4652 Add missing short party slots to Legacy UI
No longer will output an error to the console due to a missing image.
2025-08-17 17:57:24 -05:00
Jimmybald1
02de259554
[Beta][Bug] Fix ribbon pre-evolution award not using prevoid (#6283)
Fix ribbon pre-evolution award not using prevoid

Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-08-17 21:22:04 +00:00
NightKev
a5190396fa [i18n] Update locales submodule 2025-08-17 14:13:48 -07:00
G Sai Nikhilesh
bf9f0880b6
[UI/UX] Add Username to Stats Screen (#6270)
* [Feature] Add Username to Stats Screen

* [Feature] username fallback to "Guest"

* [UI/UX] Update display name fallback to use translation for guest user

* Update locales submodule

* [Fix] Username updates without refresh

* Update locales submodule

---------

Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-08-17 14:02:29 -07:00
Bertie690
432f505f65
[Dev] Added devcontainer.json and VS code config files (#6190)
* [Dev] Added `devcontainer.json` and VS code config files

* Update settings.json

* Removed "don't lint vscode json files" setting from `biome.jsonc`

* Update settings.json

* Update extensions.json

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

* Update settings.json

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

* Update settings.json

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

* Update settings.json

* Re-add `.vscode/` to Biome ignore list

* Update settings.json

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

* Update .devcontainer/devcontainer.json

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

* Removed non-`extensions.json` files; added default config directly to devcontainer

* Added mention of alternate dev setup to `CONTRIBUTING.md`

* Update CONTRIBUTING.md

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-08-17 13:26:20 -07:00
fabske0
06496f9135
[i18n] Change i18n keys to be camel case Part 3 (#6266)
* chnage nature locales use

* chnage party ui locales use

* change pokemon category locales use

* chnage pokemon evos locales uses

* change pokemon form battle use

* change pokemon form uses

* Change pokemon info uses

* fix `stat.ts` workflow fail

* Change pokemon summary

* Change pokemon localize

* Temporarily revert changes to `achv.ts`

* Re-add changes to `achv.ts`

* Update locales submodule
2025-08-17 13:13:09 -07:00
fabske0
03f54c1d8a
[i18n] Change i18n keys to be camel case Part 2 (#6250)
* Change Achv locales

* Change berry locales use

* change bgm name locales use

* change biome locales uses

* change double battle dialogue use

* change misc dialogue locales use

* change dialogue locales use

* change growth locales use

* update menu-ui-handler locales use

* change ME texts locales uses

* fix biome drop down

* fix a few missed keys

* Update locales submodule
2025-08-17 12:59:09 -07:00
fabske0
5d13714ea6
[i18n] Change i18n keys to be camel case MEs (#6237)
* changed ME `intro_dialogue` to camel case

* changed MEs part 1

* changed MEs part 2

* changed MEs part 3

* chnaged MEs part 4

* Update locales submodule
2025-08-17 12:46:12 -07:00
damocleas
c41a3dc79b
[Balance] Adjust Eternatus' Catchrate from 255 -> 45 (#6279)
Eternatus Catchrate 255 -> 45
2025-08-16 19:26:33 -04:00
damocleas
0b107bcbcd
[Balance] Buff OHKO moves from 200 -> 250 Base Power against Bosses (#6278)
OHKO moves 200 -> 250 Base Power
2025-08-16 19:09:31 -04:00
NightKev
7d0bde4604 [Dev] Remove obsolete ESLint commands from package.json 2025-08-16 15:17:43 -07:00
Wlowscha
46c78a0540
[Bug][UI/UX] Bringing mon icon overlays on top correctly (#6272)
Bringing mon icon overlays on top correctly
2025-08-15 22:51:28 +00:00
AJ Fontaine
98809c28bd
[Balance] Add TM for Shock Wave (#6274)
Add TM for Shock Wave
2025-08-15 22:23:13 +00:00