Fabi
b1f482e22c
[Refactor] Remove BattleScene#eventManager ( #6868 )
...
* remove EventManager from battleScene
* remove `MockEventManager`
2025-12-20 12:49:00 -08:00
Bertie690
8ae898ec30
[Move] Update documentation for AddSubstituteAttr; fix Shed Tail incorrect error message ( #6873 )
...
* [Move] Update documentation for attribute; fix Shed Tail incorrect error message
* Add another test
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-12-20 20:26:51 +00:00
NightKev
36b138333d
[Test] Disable other flaky Delibirdy ME test
2025-12-19 21:50:01 -08:00
NightKev
18dcde63d7
[Test] Disable flaky Delibirdy ME test temporarily
2025-12-19 15:58:28 -08:00
Sirz Benjie
e8b1d0fd71
[Bug] Fix evil team admin randomization ( #6830 )
2025-12-18 19:41:32 -08:00
Bertie690
8f4243853d
[Refactor] Make phaseManager#unshiftPhase and #pushPhase variadic
...
https://github.com/pagefaultgames/pokerogue/pull/6776
2025-12-18 19:11:11 -08:00
Bertie690
c7bdfe7ed8
[Bug] Reset hit-related turn data inside MoveEndPhase ( #6637 )
...
* Reset hit-related turn data inside `MoveEndPhase`
and remove `extraTurns` field
* Fixed FS edge case
* Fixed test hit count checks going past move end phase
* fixed PB tests
* Put `default` switch case last again
2025-12-18 19:07:48 -08:00
Bertie690
49d89d469a
[Test] Cache arena tag matcher types; fix BattlerTag matcher distributiveness ( #6821 )
2025-12-18 18:52:23 -08:00
Bertie690
b381d196cf
[Test] Improve error message + typing on toHaveUsedMove ( #6681 )
...
* [Test] Improve error message on `toHaveUsedMove`
* Fixed typing on test stuff + added caching on `toHaveArenaTagOptions`
* Fixed matcher breaking with single move arguments
* Fixed typing errors in `vitest.d.ts`
* Fixed typing importing from the wrong file
* Fixed wish test type errors
* Reverted type changes to battler tag matchers by request
2025-12-17 18:57:34 -08:00
Bertie690
f48ec4c51e
[Dev] Ensure i18n module is initialized immediately when imported ( #6317 )
...
* [Dev] Ensure `i18n` module is initialized immediately when imported
* Fixed missing await?
* Update src/main.ts
* Update init.ts
* Update src/main.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/plugins/i18n.ts
* Update trainer-config.ts
* ran biome & made `@module` comment
* Update src/plugins/i18n.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/plugins/i18n.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fixed import typo
* flubber
* Ran Biome
* foo
* Remove default re-export of `i18next`
* Update i18n.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* fixde import issues
* Move `i18n` initialization to `main.ts` from `init.ts`
* Remove some redundant & incorrect comments from `trainer-config.ts`
* Fix tests
* Apply Biome
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-12-17 18:39:30 -08:00
Bertie690
b2b8150856
[Dev] Add biome rules noProto and useFind ( #6838 )
2025-12-17 19:31:00 +00:00
NightKev
7456c11be1
[Refactor] Consolidate typings/ into @types/, and API types ( #6823 )
2025-12-10 00:31:41 -08:00
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
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
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
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
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
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
4f52627146
[Misc] Fix param typing for OverridesHelper#startingLevel
2025-11-27 20:58:36 -08: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
Bertie690
4e080465b9
[Bug] Fix Ball Fetch activating on enemy Pokemon ( #6777 )
2025-11-14 08:27:53 +00:00
damocleas
e438536dc3
Hotfix 1.11.3 to Beta
...
Hotfix 1.11.3 to beta
2025-11-08 10:31:28 -05:00
Bertie690
d8d5c12bbc
[Bug] Fix 2-turn/charging moves breaking on lack of targets ( #6759 )
2025-11-07 04:27:07 +00:00
Bertie690
e1aded9504
[Bug] Fix Parental Bond reducing damage of spread moves on 2nd pokemon
...
https://github.com/pagefaultgames/pokerogue/pull/6743
* Fix Pollen Puff interaction with Parental Bond
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-06 18:03:32 -08:00
Bertie690
84dc143f74
[Misc] Improve type inference on PositionalTagManager#addTag ( #6676 )
...
* Improve type inference on `PositionalTagManager#addTag`
- Remove unused `AddPositionalTagAttr`
* Improved tests
* fixed type errors
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-02 04:51:35 +00:00
Bertie690
d3088c1729
[Dev] Add more Biome rules ( #6604 )
...
* Added `noBannedTypes` as a biome rule
* Added `useShorthandAssign` rule
* Added `useConsistentArrayType`
* Update src/field/pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/data/pokeball.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Apply Biome after merge
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-01 20:38:04 -07:00
Bertie690
4b9ccf5408
[Bug] Fix NoTransformAbilityAttr not doing anything ( #6693 )
...
[Bug] Fix `NoTransformAbilityAttr` not doing anythin
2025-11-01 23:18:04 +00:00
Wlowscha
f2f8cc67ba
Merge branch 'beta' into cached-fetch
2025-11-02 00:13:59 +01:00
Bertie690
f41752c3f9
[Test] Fix test end log check mark ( #6726 )
...
* [Test] Fix test end log check mark
heavy check mark looks weird on more fonts than the normal one
* Added variant selector codepoint to force rendering as thin version
* Update test/test-utils/setup/test-end-log.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Changed checkmark back to normal one
idfk how this works maaaan
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-11-01 23:09:36 +00:00
Wlowscha
e92ae80b7d
Merge branch 'hotfix-1.11.2' into disable-illusion
2025-11-01 00:56:18 +01:00
Wlowscha
a4b11d901e
Merge branch 'hotfix-1.11.2' into shiny-daily-starters
2025-11-01 00:37:57 +01:00
Bertie690
fb274077c2
Reworked regex to use matchAll, added error handling + tests
2025-10-31 19:01:51 -04:00
Dean
525ba57461
Review changes
2025-10-31 15:46:43 -07:00
Dean
a0d3e42f3b
Merge branch 'hotfix-1.11.2' into quick-claw
2025-10-31 15:34:04 -07:00
Dean
e78796077b
Disable Illusion
2025-10-31 13:22:40 -07:00
Dean
df98e506ad
[Bug] Prevent self speed ties ( #6719 )
...
* Prevent self speed ties
* Remove outdated parameter doc
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-31 00:38:49 -04:00
Dean
9a4381c776
Re-Add MovePriorityModifier
2025-10-30 18:58:06 -07:00
NightKev
3159846c50
[Test] Update some sprite tests to give useful errors on fail
2025-10-30 16:00:28 -07:00
Bertie690
24e9dcdadc
[Feature] Allow setting movesets via custom daily seed ( #6712 )
...
* Clean up Daily Run custom seed gen; add moveset post-processing
* Remove redundant `fetchDailyRunSeed` function
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-30 16:15:20 +00:00
damocleas
075679eba1
[Balance] More 1.11 stuff ( #6680 )
...
* Update trash-to-treasure-encounter.test.ts
* Update trash-to-treasure-encounter.ts
* pain and suffering is lessened
* rotom is just gonna be random now (arena.ts)
* looked at biomes.ts a lot today, not a fan (of rotom, fan)
* stares at weather.ts intensely (lots of small changes)
* Update init-biomes, slight tweaks to encounters
* yay so many more biome.ts please be the last until biome rework
* oh I also changed dudunsparce and maushold to 1/16 to match the others
* ok, biomes.ts one final I think
* minor fixes for biomes.ts
* Update init-biomes.ts
* Adjust Minimum Party Size and Max Allowed Encounters for some ME's
2025-10-29 12:51:00 -04:00
Bertie690
ab2d5bcfb5
[Tests] Cleaned up cachedFetch test stub
2025-10-27 21:12:14 -04:00
Fabi
3d5a46b1ec
[BUG] Fix quick claw being blocked by Psychic terrain ( #6684 )
...
* Fix quick claw being blocked
* Add tests
* Apply suggestions from code review
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* fix test + run biome
* Update comments in `terrain.ts`
* Apply test suggestions
* added newlines
---------
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-27 18:37:33 +00:00
Bertie690
64176a0920
[Test] Cleaned up enum test utils ( #6653 )
...
* added type tests
* Update test/test-utils/string-utils.ts
* Update docs
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-26 13:03:46 -05:00
Bertie690
82181c5264
[Test] Remove duplicate fake out test ( #6691 )
2025-10-25 17:55:36 -07:00
Fabi
08e6bba2db
[Refactor] Only use first active timedEvent ( #6679 )
...
* rename `getShinyMultiplier`
* simplify methods to use first active event instead of sometimes using all active events
* change remaining methods to use first event
* use `ModifierTypeKeys` instead of `string` for wave rewards
* rename `shinyMultiplier` to `shinyEncounterMultiplier` and add `shinyCatchMultiplier`
* update comments
* add comment
* Fix capitalization of variable, remove comment
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-23 01:27:38 -07:00
Anthony
7d8ccfb745
[Bug] Stats that were reset from moves display properly as being reset
...
https://github.com/pagefaultgames/pokerogue/pull/6650
* Stats display properly after moves reset stats
* Update test/moves/clear-smog.test.ts
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* Removed unnecessary test for Clear Smog
---------
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-10-22 23:25:14 +00:00
NightKev
71c1f44f91
[Test] Fix typo in Mat Block test
2025-10-22 16:22:59 -07:00