Commit Graph

6014 Commits

Author SHA1 Message Date
NightKev
3f5c37c881
[Balance] The cost of buying same-species eggs can be reduced (#6837)
* [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
2025-12-09 20:00:20 -08:00
NightKev
46df6adab3
[Ability] Poison Puppeteer now applies for abilities (#6836)
* [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`
2025-12-09 19:48:28 -08:00
Fabi
15f668e1b5
[UI/UX] Truncate overlapping name in starter select (#6828)
* Add name truncation

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

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

* remove unnecessary length check

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-12-08 17:45:44 -08:00
Austin Fontaine
3d23a2b28a
[Balance] Allow male Ralts as a starter in Fairy challenge (#6827)
Allow male Ralts as a starter in Fairy challenge
2025-12-08 18:34:08 +00:00
Sirz Benjie
516bc5dce1
[GitHub] Update and optimize workflows (#6825) 2025-12-07 13:59:20 -06:00
Bertie690
3302d23137
Merge pull request #6826 from Bertie690/play-tween-typing
[Dev] Update typing for `playTween` utility function
2025-12-05 17:22:13 +00:00
Lugiad
d8e8dbf8c2
Merge pull request #6663 from Adri1/norwegian-bokmal
[i18n] Norwegian Bokmål initial commit
2025-12-04 19:48:49 +00:00
Sirz Benjie
ebdbe2e118
[Misc] Bump Assets commit (#6824) 2025-12-04 12:26:21 -06:00
Bertie690
6af869cff1
Merge pull request #6819 from Bertie690/set-position-relative
[Misc] Dedupe + move phaser method stubs into separate file
2025-12-04 09:20:21 +00:00
Bertie690
e13ea6e17d
[Docs] Minor typofixes/addendums to .md files (#6817)
* [Docs] Minor typofixes to `.md` files

* Fixed footnotes

* Update linting.md to remove comment

* Added footnote for validation workflow
2025-12-03 21:38:36 -06:00
Bertie690
f498a83951
[Github] Improve test workflow to merge blob reports from all shards (#6687)
* [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>
2025-12-03 21:27:11 -06:00
NightKev
af2bad96f1
[Dev] Add lefthook command to update packages on checkout/merge (#6820)
* [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>
2025-12-03 18:02:31 -08:00
Bertie690
8ae79450d4
[Test] Fix even more game.scene.getXXX issues (#6811)
* [Test] Fixed even more `game.scene.getXXX` issues

* Update fell-stinger.test.ts

Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>

* Applied review comments

* fixed doodle test inconsistencies

* fix

* applied reviews

not going too ham will make another PR later

---------

Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-12-04 01:49:47 +00:00
Juan Roman
507ac17f95
[Dev] Update devcontainer image, settings and docs (#6822)
* Updated devcontainer image to a version that supports the node >= 24.9.0 prerequisite.
Also updated the prerequisite mentioned in CONTRIBUTING.md to match that newer prerequisite.

* Update CONTRIBUTING.md with devcontainer instructions

Added important note about using pnpm with devcontainers and updated Podman instructions.

---------

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-12-03 17:06:22 -08:00
Fabi
2253289c76
[i18n] Localize data type names (#6807)
use localized data names
2025-12-03 14:17:27 -06:00
Bertie690
17a1a3af97
[Dev] Add git blame ignore file (#6810)
* [Dev] Add git blame ignore file

* formatted file

* added REUSE info to blame file

idt we need to copyright this stuff

* expanded commit SHAs to use full versions

apparently the short ones dont work
2025-12-02 17:40:01 -06:00
Fabi
e1b0e0f0ae
[Balance] Allow candy gain for uncaught pokemon (#6791)
* allow candy gain for uncaught mons

* carry over friendship

* apply suggestions

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

* Add friendship/candy related tests

* Refactor friendship cap tests

* Fix typo

* Apply suggestions from code review

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* Fix test

* Update test/field/pokemon.test.ts

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* Replace `.startBattle` with `.runToSummon`

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-12-02 12:54:12 +00:00
Fabi
b0a6b027fa
[Misc] Migrate to @inquirer/prompts for CLI script input (#6789)
* update dependencies

* Update create-test

* use `validate` for filename check

* fix template path

* update parse-egg-moves

* update scrape-trainer-names

* replace use of `inquirer`

* Fix package ordering
2025-12-02 09:23:50 +00:00
Austin Fontaine
6d1a69bfea
[Bug] Fix Old Gateau disappearing on reload (#6813) 2025-12-02 07:52:54 +01:00
Lugiad
004cb34a46
[UI/UX] Added fonts for Devanagari and Thai writing systems (#6798)
Added fonts for Devanagari and Thai writing systems

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-12-01 16:34:35 +00:00
Bertie690
cce1653b70
[Refactor] Remove unused PreSwitchOutClearWeatherAbAttr class
https://github.com/pagefaultgames/pokerogue/pull/6809
2025-11-30 21:25:44 +00:00
NightKev
03cc0b1af2 [Misc] Remove now-obsolete noUselessStringConcat suppression comments 2025-11-29 21:01:26 -08:00
NightKev
c12d9140fc [Misc] Remove now-obsolete noUnusedImports suppression comments 2025-11-29 20:52:45 -08:00
NightKev
e2be51f3f7 [Bug] Revert change to imports in main.ts 2025-11-29 15:42:51 -08:00
NightKev
477b8de7d1
[Dev] Improve logging in EnemyPokemon#getNextMove (#6803) 2025-11-29 17:58:34 -05:00
Bertie690
a2b4727d63
[Refactor] Remove main.ts default export, clean up manifest code
https://github.com/pagefaultgames/pokerogue/pull/6768
2025-11-29 14:42:23 -08:00
NightKev
b6bd9566e2
[Dev] Update Biome from 2.3.2 to 2.3.8 (#6799)
* Update Biome to `2.3.8` and run Biome over the repo

* Update comment in `biome.jsonc`
2025-11-29 14:39:58 -08:00
NightKev
9bfe5f02d8
[Deps] Update packages and add 1d min age for package updates (#6804)
* [Deps] Update packages and add 1d min age for package updates

* Fix tests
2025-11-29 18:49:20 +01:00
NightKev
450113c296 [Dev] Update pnpm version in package.json 2025-11-28 22:48:23 -08:00
Bertie690
32dec62406
[Dev] Add .pnpm-store to .gitignore (#6801) 2025-11-28 17:51:58 -08:00
Bertie690
c6986d9cf5
[Dev] eggMoves:parse CLI script no longer errors without args/on exit (#6788)
* [Dev] `eggMoves:parse` script no longer crashes without args, errors on
exit

no more 1 exit code or undefined errors

* Version bump

* comment fixes

---------

Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-11-28 22:58:56 +01:00
Bertie690
3478e09923
[Dev] Break up test:create script; add help message, file name CLI argument support (#6793)
* [Dev] Broke up `test:create` script, added CLI args file name suppoert

* Moved `HELP_FLAGS` constant; fixed help msg indentation

* ran biome

* Fix floting promise err

* Added REUSE info

* Typo fix

* comment out reward boilerplate

* Removed redundant comments

---------

Co-authored-by: fabske0 <192151969+fabske0@users.noreply.github.com>
2025-11-28 21:26:49 +00:00
Fabi
4522e9e593
[i18n] Replace hardcoded messages for Data import (#6795)
* localize confirm import message

* localize error messages
2025-11-28 07:43:06 +00:00
NightKev
c945a1b3f9 Update submodules 2025-11-27 23:40:43 -08:00
NightKev
4f52627146 [Misc] Fix param typing for OverridesHelper#startingLevel 2025-11-27 20:58:36 -08:00
NightKev
d0ddcaa7a3
[Dev] Enable linting of move.ts and update Biome to 2.3.2
https://github.com/pagefaultgames/pokerogue/pull/6688

* Update Biome to 2.2.7 and enable linting of `move.ts`

* Apply safe fixes

* Apply unsafe fixes

* Apply `noUnusedFunctionParameters`

* Update submodules to correct commit

* Apply Biome after merge

* Update Biome to 2.3.2

* Fix formatting of `initMoves`

* Fix a bit more formatting

* Apply Biome
2025-11-27 18:38:02 -08:00
Fabi
8381fa16fd
[UI/UX] Fix confirm message overlap on run history import
https://github.com/pagefaultgames/pokerogue/pull/6794
2025-11-22 09:35:32 -08:00
Jimmybald1
3c7242d747
[Bug][Balance] Actual correct minimum waves for Legends in Daily Mode (#6786)
Added true for ignoreCurveChanges

Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-11-20 11:56:51 -06:00
Fabi
bb86b649d8
[i18n] Fix message for unimplemented moves (#6780)
Fix message for unimplemented moves
2025-11-15 12:14:48 -06:00
Bertie690
349b552eb1
[Docs] Update documentation on Ability class getters (#6635)
* [Docs] Update documentation on `Ability` class getters

* Fix inverted conditions on partial/unimplemented

* Update ability.ts

* Fix leading whitespace in tsdoc

* Update ability.ts

* Update src/data/abilities/ability.ts

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

* Update src/data/abilities/ability.ts

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-15 11:29:51 +00:00
Bertie690
0a1cad4814
[Test] Fix incorrect path join logic in test-end-log.ts (#6756)
* [Test] Fix incorrect path join logic in `test-end-log`.ts

* Update test-end-log.ts

* remove unused import

* Apply Biome

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-15 08:20:50 +00:00
damocleas
4b86cfc0ee Update assets 2025-11-14 18:48:16 -05:00
Bertie690
4e080465b9
[Bug] Fix Ball Fetch activating on enemy Pokemon (#6777) 2025-11-14 08:27:53 +00:00
Fabi
bf68f59161
[Docs] Fix logo on docs page (#6774)
fix logo
2025-11-13 20:34:36 -08:00
damocleas
ba0ae0f7db update locales, update assets 2025-11-10 11:58:50 -05:00
Bertie690
6ef0af8489
[Docs] Fix Pokemon#hasAbility referencing outdated enum name
https://github.com/pagefaultgames/pokerogue/pull/6766
2025-11-08 18:08:37 -08:00
damocleas
e438536dc3
Hotfix 1.11.3 to Beta
Hotfix 1.11.3 to beta
2025-11-08 10:31:28 -05:00
damocleas
5efcc55aa0 extendo 2025-11-07 20:23:08 -05:00
NightKev
b47106a1dc Update version to 1.11.3 2025-11-07 17:20:00 -08:00
damocleas
022c372c12 Update locales 2025-11-07 20:10:35 -05:00