Jimmybald1
c0e988a37b
[Hotfix] Fixed Candy Jar in Daily run event items disappearing after refresh ( #6749 )
...
Added id func to daily run event starting items
Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-11-04 07:12:03 -05:00
Blitzy
17ac20ef0b
[Hotfix] Fix Flare Admins using wrong pool ( #6742 )
...
* Update evil-admin-trainer-pools.ts
* fixes
* add comment
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-11-03 17:49:19 -05: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
Dean
b2089012c1
[Bug] Show base moves and ability in run info instead of transformed ones ( #6702 )
...
Show base moves and ability in run info
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-11-01 23:41:54 +00:00
Bertie690
4b9ccf5408
[Bug] Fix NoTransformAbilityAttr not doing anything ( #6693 )
...
[Bug] Fix `NoTransformAbilityAttr` not doing anythin
2025-11-01 23:18:04 +00:00
Madmadness65
58f42bc5c2
Fix formatting in pokemon-evolutions.ts
...
No functional changes, just matching how all other evolutions are formatted in the file.
2025-11-01 15:55:06 -05:00
Wlowscha
e92ae80b7d
Merge branch 'hotfix-1.11.2' into disable-illusion
2025-11-01 00:56:18 +01:00
Dean
7a56989a3c
Remove illusion bypassing summondata reset
2025-10-31 16:51:49 -07:00
Dean
c1c12e4792
Revert uxie passive
2025-10-31 16:51:22 -07:00
Wlowscha
a4b11d901e
Merge branch 'hotfix-1.11.2' into shiny-daily-starters
2025-11-01 00:37:57 +01:00
Dean
f928ca9bdf
Update enum filename
2025-10-31 16:23:57 -07:00
Wlowscha
92d03e5cfe
Merge branch 'hotfix-1.11.2' into shiny-daily-starters
2025-11-01 00:23:03 +01:00
Dean
c33f9723f5
Update enum name
2025-10-31 16:21:38 -07:00
Bertie690
617e12f634
Removed console log
2025-10-31 19:14:19 -04:00
Bertie690
fb274077c2
Reworked regex to use matchAll, added error handling + tests
2025-10-31 19:01:51 -04:00
Dean
5c8c2151a8
Update src/data/moves/move.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-31 15:58:35 -07: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
Lugiad
bfbd71ddde
[UI/UX] [Localization] Texts position adjustments for Turkish ( #6731 )
...
* Adjustments for Turkish
* Remove now-unnecessary comment
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-10-31 16:48:30 -05:00
Dean
e78796077b
Disable Illusion
2025-10-31 13:22:40 -07:00
Dean
6bda024b7e
Only run speed bypass code for fight commands
2025-10-31 13:10:11 -07:00
fabske0
ac79e82013
another typo
2025-10-31 15:11:10 +01:00
fabske0
b150b5208c
split up regex
2025-10-31 14:48:01 +01:00
fabske0
6049038537
remove console.log and another typo
2025-10-31 14:24:23 +01:00
fabske0
8e01876bd0
fix typo
2025-10-31 14:24:19 +01:00
fabske0
2a1e0c4373
- Add option for shiny starter
...
- change how the starter part of the seed is parsed
2025-10-31 14:23:41 +01:00
NightKev
babeb32edb
[Bug] Shinies won't be forced to match event boss shiny if set ( #6724 )
2025-10-30 21:49:37 -07:00
damocleas
76453a31d1
[Balance][Bug] Rival Fight 3 Fix, Move Noibat in Biomes
...
Electivire corrected to be Electabuzz in Slot 3 on Fight 3 (55)
Noibat has been moved from Uncommon -> Rare in Grassy Field
2025-10-31 00:47:07 -04: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
Wlowscha
d7cfb2087c
[Bug][UI/UX] Make ribbon option in dex selectable with classic wins
...
https://github.com/pagefaultgames/pokerogue/pull/6720
2025-10-31 03:21:26 +00:00
Dean
1d4a9259b8
[Hotfix] Fix Queenly Majesty/Dazzling affecting user's moves instead of enemy's ( #6722 )
...
Fix QM/Dazzling
2025-10-30 23:14:48 -04:00
NightKev
9ea5a014a1
[Bug] Allow fainted Pokemon to be released post-battle in hardcore
...
https://github.com/pagefaultgames/pokerogue/pull/6723
2025-10-30 20:14:31 -07:00
Dean
9a4381c776
Re-Add MovePriorityModifier
2025-10-30 18:58:06 -07:00
damocleas
a48952e354
[Balance] [Bug] Fix Rhydon not being a Rhyhorn in Rival 2
2025-10-30 21:08:00 -04:00
damocleas
bfc5aed0ce
fix
2025-10-30 19:23:33 -04:00
damocleas
005b3e6eed
update assets and thing
2025-10-30 18:34:48 -04:00
damocleas
3e3b4173f1
balance fixes ( #6716 )
...
* Update passives.ts
revert zygarde because it doesn't work right now
* Update tms.ts
* shoot gholdengo
* filtering duraludon
2025-10-30 18:31:48 -04:00
Fabi
8650aebd40
[Misc] Allow setting daily boss variant via custom seed ( #6714 )
...
* Add option to set shiny boss
* Update src/data/daily-run.ts
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-10-30 18:11:30 -04:00
Austin Fontaine
79148452e9
[Refactor] Refactor ME mon generation and event encounters, add to Safari Zone & GTS ( #6695 )
...
* Refactor event encounters
* Fix safari test
* Apply biome fixes
* Cleanup, 100% event chance for WT
* Fix Safari Zone
* Fix shiny chance
* Run biome
* Apply suggestions from code review
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* Documentation for randomEncParams
* other
* Updated doc comments on interface to be less jank
* >'less janky'>look inside>linting error
* Update encounter-phase-utils.ts doc comment
* Update encounter-phase-utils.ts
* Update src/data/mystery-encounters/encounters/global-trade-system-encounter.ts
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* thing
---------
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-30 15:46:35 -04:00
Wlowscha
e5154850c6
[Bug][UI/UX] Display no heal and no shop ribbon if no support is unlocked ( #6715 )
...
* New condition to display ribbons
* Added TODO comment
2025-10-30 15:04:25 -04: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
Wlowscha
20615bcd21
[Bug] Fix awarded ribbon in limited support ( #6713 )
...
Fixed awarded ribbon in limited support
2025-10-30 09:24:04 -04:00
NightKev
f9a21a0ea4
[Dev] Update @ts-expect-error in battle-scene.ts
...
This allows devs to use the Go port of TypeScript (aka "tsgo"/"TS7")
without an error due to different handling of `@ts-expect-error`
2025-10-29 21:49:50 -07:00
Wlowscha
a55b2b18e8
[UI/UX][Beta] Adjustments to display of ribbons ( #6709 )
...
* Introduce custom ordering of ribbons
* Displaying classic ribbon for mons that have at least one classic win
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-29 18:27:03 -04:00
Blitzy
12b57836b2
literally just an egg move change
...
Update egg-moves.ts
2025-10-29 18:03:58 -04:00
Fabi
bc79a2490b
[Beta] [Bug] Show correct username in title ui ( #6710 )
...
fix title username
2025-10-29 17:19:27 -04: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
damocleas
9e96380bc0
[Beta] Add Ribbon Sprites over stuff ( #6704 )
...
* ribbons
* Remove now-unused comments
* Update achv.ts
2025-10-29 10:56:15 -04:00
Wlowscha
a66f183a30
[Bug] Show ribbons for forms of evolutions ( #6708 )
2025-10-29 06:20:52 -04:00
Bertie690
3c41b26045
[Bug] Sheer Force now disables Wimp Out, Emergency Exit ( #6692 )
2025-10-29 09:23:03 +00:00
Dean
c048b34425
[Misc] Add dynamic ordering to non-phase interactions ( #6581 )
...
* Update interactions to use generator
* Fix triggerWeatherBasedFormChanges
* Update documentation
* Fix arena tag file
* Update src/field/pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@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-10-29 04:03:32 +00:00
Austin Fontaine
1b33f0d8e3
[Balance] Add functionality for Daily Run starting item event bonus ( #6698 )
2025-10-28 03:06:06 +00:00
Blitzy
eea07e15f7
[Balance] 1.11 Eggs, Passives, and Starter Cost updates ( #6699 )
...
Eggs, Passives, and Starter Cost updates
2025-10-27 21:21:01 -04:00
Austin Fontaine
41b2f2f4fc
[Balance] Shiny mons get a 2x catch bonus, can be boosted by events ( #6694 )
...
* Shiny mons get a 2x catch bonus
* Add catch bonus to safari zone as well
* Add logging for catch rate calculation
* Disabled debug catch % logging during tests
2025-10-27 17:47:23 -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
Fabi
2acf73e8cb
[i18n] [Beta] Fix arena tag message typos ( #6659 )
...
fix `onRemove` keys
2025-10-27 14:15:05 -04:00
Fabi
a2895de364
[UI/UX] Fix confirm options overlapping during ME ( #6690 )
...
* fix menu overlap
* fix confirm ui not reappearing after summary
2025-10-27 13:05:40 -04: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
3cfbb695e9
[Docs] Update battler-tags.ts module doc comment for clarity ( #6658 )
...
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-26 13:01:20 -05:00
Dean
fef48ac2e8
[Bug][Beta] Fix Fun and Games playing in wrong order ( #6644 )
...
Unshift using `currentLevel` instead of `length`
2025-10-26 02:46:33 +00:00
Jimmybald1
49bab02fca
[Beta][Bug] DetermineEnemySpecies was using a very low minimum value for evolution chance ( #6678 )
...
* Fixed misuse of randSeedInt and just using randSeedIntRange instead
* Update src/ai/ai-species-gen.ts
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
* More comment typos
---------
Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-10-24 21:33:17 -04:00
Fabi
4acd39d703
[UI/UX][Beta] Show all ribbon descriptions ( #6685 )
...
fix ribbon description not showing
2025-10-23 17:51:25 -04: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
Lugiad
170e996358
[UX/UI] [i18n] - Display username on title screen ( #6639 )
...
* Display username on title screen
* Typo Correction
* Cleanup title-ui-handler.ts
* Update src/ui/handlers/title-ui-handler.ts
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
* Update src/ui/handlers/title-ui-handler.ts
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-10-23 02:59:42 +00: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
damocleas
2109aace1d
[Balance] 1.11 Extra Changes ( #6651 )
...
* Add extra EXP Charm to Classic, Add 1 Ability 1 Shiny Charm to Daily
* Update Delibird moveset in pokemon-level-moves.ts based off of PLA
* Dragon Claw TM Ultra -> Great
* some gmax changes Update pokemon-species.ts
* X items - Update modifier.ts
* (Beta) Milotic and Golisopod slot 3 -> 4 Update rival-party-config.ts
* test fix for x items Update temp-stat-stage-booster.test.ts
* Update tms.ts air cutter and sky drop
* Update tms.ts water pulse and brutal swing
* (beta) fix for admins Update fixed-battle-configs.ts
* (beta) fix Update challenge.ts too
2025-10-21 20:45:02 -04:00
Bertie690
85fcb20271
[Misc] Removed instance of find(() => true) from BattleInfo code
...
https://github.com/pagefaultgames/pokerogue/pull/6673
2025-10-20 23:20:39 -05:00
Fabi
bcc79a6118
[UI/UX] Add option to release Pokemon in shop phase ( #6665 )
...
* add `release` option to shop phase
* Fix test
* Don't show `release` option during switch
2025-10-17 22:52:25 -04:00
NightKev
ffbaf311c6
[Beta] Pixilate/etc no longer affect non-Normal type moves ( #6661 )
2025-10-16 14:27:13 -07:00
NightKev
95cc9f6d49
[Misc] Ability Charms no longer affect the number of RNG rolls ( #6652 )
2025-10-16 18:25:39 +00:00
Fabi
e7404ecfe3
[UI/UX][Beta]Fix ribbon cycling ( #6649 )
...
fix ribbon cycling
2025-10-15 23:04:09 +00:00
Sirz Benjie
0fdcb97575
[Dev] Add polyfill for ES2025 iterator ( #6654 )
2025-10-12 21:46:09 -05:00
Sirz Benjie
73e8c6c160
[UI/UX][Beta][Bug] Fix ribbons using wrong index when showMissingRibbons is off ( #6648 )
...
Fix ribbons using wrong index when showMissingRibbons is off
2025-10-10 12:38:06 -04:00
Blitzy
8ada380d4d
[Balance] Reduce Meltan Custom Evo Requirement ( #6646 )
...
* Update pokemon-evolutions.ts
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-09 18:54:18 -04:00
Blitzy
218beb72b2
[Balance] PR #6608 Fix ( #6640 )
...
Update trainer-config.ts
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-09 15:58:13 -04:00
Blitzy
120f8a2f33
[Balance] Expert Breeder ME tweaks ( #6643 )
...
* Change Strength Template
* Add friendship value to EnemyPokemonConfig, set Cleffa friendship values
Custom friendship values can now be set within Mystery Encounters. Set the Expert Pokemon Breeder's Cleffas to max friendship.
* Set all items as 3 Soothe Bells and nothing else
---------
Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-09 15:52:36 -04:00
Madmadness65
b6f64aacd2
[Audio] Add new Snowy Forest Track, update loop point ( #6631 )
...
* [Audio] Update loop point for Snowy Forest's BGM
This biome received a new custom track, and the credits have been updated accordingly as well.
* Update assets submodule
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-10-08 12:42:57 -04:00
Blitzy
dacf71151a
[Balance] Evil Team Admin Rework + Misc Trainer Changes ( #6608 )
...
* Update trainer-config.ts
* Update trainer-config.ts
* Revert "Update trainer-config.ts"
This reverts commit 6243592913 .
* Revert "Update trainer-config.ts"
This reverts commit 6243592913 .
* Update Admins, Add Admin 3
* Update Admins, Add Admin 3
* Update trainer-config.ts
* Update trainer-config.ts
* Initial Pool Updates
* Initial Pool Updates
* allow evil team admins to use subpools
* allow evil team admins to use subpools
* Remove trainer pool tier stairs
* freedom motif
* Remove trainer pool tier stairs
* freedom motif
* fix: missing import in trainer-config.ts
* Fix incorrect Starmobile forms
* Pool Updates + Boss additions
* Misc Changes
* Reorder p functions in Trainer Config
This let move gen properly account for Boss Health, Form Changes, and Abilities for future functions
* Ensure evil admins are uniquely selected in different fights
* Ensure evil admins are uniquely selected in different fights
* Implement evil team admin instant tera for slot 4
* Revert Starmobile Changes
* Minor Grunt Pool Changes
* Champion Adjustments
* Update trainer-config.ts
* Update trainer-config.ts
* Update challenge.ts
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
2025-10-08 00:08:50 -05:00
Bertie690
15b6877a86
[Bug/i18n] Added type safety to Arena.applyTags; fixed arena tag addition/removal messages ( #6304 )
...
* Fixed up arena tags `apply` with type safety; removed unused parameters from tags
* Enforced member visibility on a few methods
* Made arena tag layers readonly; cleaned up callsites
* Added tests for stone axe
* Fixed mat block + removed unused file
* Fixed up the tests for locale messages + fixed lucky chant
* Reverted change to light screen DR%
* Fixed tests to not check neutralizing gas msgs
* Fixed inverted conditional in test file
* Update doc comments for type-helpers.ts
* Added util to make `it.each` test cases from a bunch of enums
* Fixed up tsdocs
* Fixed type error + removed broken util
* Fixed TR signature
* FIxed type errors caused by pending heal tags
* Remove `undefined` from `onOverlap`'s signature
* allow sourceless arena tags once again
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-07 23:38:51 -05:00
Wlowscha
06fe3c7b76
[UI/UX] Add option to see ribbons in Pokédex ( #6596 )
...
* Added various ribbon utils
* Added ribbon tray to pokédex page
* V button in Pokédex toggles IVs
* Introduced visibility toggle
* Added ribbons (and full ivs) to unlocks file
* For real this time
* Added descriptions to the ribbons
* Fixed bug of tray not opening with visibility option on
* Minor cleanup of ribbon tray
* Use unique ribbon icons
* Make achv use image instead of sprite
* Tweak size of ribbons
* Improve clarity on comment
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-10-07 23:29:19 -05:00
Sirz Benjie
07c1491649
[Misc] fix error throwing in forewarn
2025-10-07 23:23:25 -05:00
Dean
a4b27eb05e
[Bug] Use InitEncounterPhase to queue PSPs for new encounters ( #6614 )
...
* Use InitEncounterPhase to queue PSPs for new encounters
* Add doc
* Add manual PSP queues
2025-10-07 22:09:17 -05:00
Bertie690
d32e112194
[Bug/Ability] Fix Forewarn not triggering + add randomized selection ( #6623 )
...
* [Ability] Fix Forewarn not triggering + add randomized selection
* Fix typo
* Comment fix
* Fix name oops
* Fix `slice` instead of `splice`
* Fix missing continue
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Apply Biome
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-07 22:08:57 -05:00
NightKev
b76ecf55fd
[Dev] Add isApp & build:app for AdmiralBilly's offline app ( #6632 )
...
- Consolidate `isBeta`/etc into `src/constants/app-constants.ts`
- Rename `isLocal` to `isDev`
- Replace `import.meta.env.DEV` with `isBeta || isDev`
2025-10-06 18:51:33 -07:00
Bertie690
b25c3b082a
[Misc] Updated documentation & typing for setPositionRelative function ( #6629 )
2025-10-06 12:39:04 -05:00
Sirz Benjie
e5e0835a96
[Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays ( #6547 )
...
* make IVs use Uint8Array
* Add many typed array helpers
* Move array utils to its own file
* Add suppression comment
* Adjust type of `getStats`
* Adjust test mocks to use typed arrays
* Adjust signatures of some phases to use ArrayLike<T>
* Adjust signature of src/ui/containers/stats-container#updateIvs
* Remove comment gap to try to satisfy typedoc
* Ensure ivs are always set
* fix: fun-and-games me to use typed array
* Add new tests for array utilities
* Update type of ivs in save-data.ts
* Update part-timer-encounter.test.ts
* Convert uses of StatusEffect[] to Uint8Array
* Update ssui to use uint8array for ivs
* Revert use of typed arrays
* Move `nil` to @types/common
* Make more arrays readonly
* fix: remnant change to immune effects
* Even more array improvements
* Apply kev's suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* address Bertie's comments from code review
* tests: remove undefined check for bigint array types
* fixup abilities.ts
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-06 12:21:58 -05:00
Adrián T.
37b06a5b77
[Refactor] Automate namespace collection for en locale ( #4625 )
...
* create and use namespace-i18n-plugin.ts
* Changes to src/utils.ts to ensure correct importing by Vite plugins and extraction of the
amespaceMap constant to its own file.
* Added more comments for create help a new namespace
* create utils-plugins.ts and more docs
* console info appearance
* chore: handle merge conflicts
* chore: run biome
* add biome to namespace map dropped after merge
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-10-06 11:15:05 -05:00
Dean
7ce2aa3ed9
[Bug] Liquid Ooze can now properly be suppressed ( #5535 )
...
* Fix applying even when suppressed
* Rewrite move/ability effects
* Fix using defender instead of attacker when applying magic guard
* Add test
* Unchange move effect phase
* Kev fixes
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix liquid ooze test
* Fix hithealattr apply method
* Fix test
* Move checks to canApply
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-06 11:00:08 -05:00
Sirz Benjie
219cfb04cb
[Refactor] [Ability] Initializing abilities now uses a builder class ( #6534 )
2025-10-06 10:40:26 -05:00
Sirz Benjie
d367e77e37
fix: forced stab move not using proper weights
2025-10-05 10:49:17 -05:00
NightKev
f7fd72b08c
[Dev] Don't use "production" mode for beta server ( #6616 )
...
* [Dev] Don't use "production" mode for beta server
* Fix `build` command in `package.json`
2025-10-05 06:33:57 -07:00
Sirz Benjie
f4456f6c7c
[Dev] Improve typescript performance and version bump node and dependencies ( #6627 )
...
* Add caching for test matchers types to improve ts performance
* add skipLibCheck to tsconfig.json
* Bump package versions
* Move tm species map to its own file
* Turn on ts-nocheck in pokemon-level-moves
* Move initBiomes to own file
* Add types to methods in ME encounter phase utils
* Fix spacing
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-04 19:29:23 -05:00
Bertie690
a13ea90e46
[Misc] Rename Pokemon.isMoveRestricted to hasRestrictingTag ( #6628 )
2025-10-04 18:41:18 -05:00
NightKev
c31adf9e7b
[Balance] Enemy trainer Pokemon will have friendship based on the wave
...
https://github.com/pagefaultgames/pokerogue/pull/6617
The formula is `round(max friendship * (current wave / 200))`
where the max friendship value a Pokemon can have is `255`
and `current wave / 200` represents a % value based on
how far in the game you are
2025-10-03 12:09:35 -04:00
Sirz Benjie
35da617d0b
[Bug][Ability] Tangling Hair / Gooey now work when its user faints
...
https://github.com/pagefaultgames/pokerogue/pull/6618
fix: add bypass faint to tangling hair and gooey
2025-10-02 23:01:11 -07:00
Bertie690
8db3f2c4fd
[Refactor] Cleaned up various battler/arena tag move attributes ( #6201 )
...
* Removed Mortal-spin exclusive `LapseTagAttr`
* Removed unused parameter from `addBattlerTagAttr`
* Actually removed mortal spin attribute
* De-janked params of `addBattlerTagAttr`
* Significantly cleaned up `RemoveArenaTrapAttr` and `RemoveScreensAttr`
* Added `toHaveArenaTagMatcher`
* Finished up fixing up tidy up tests; removed matcher to go to its own PR
* Reverted file
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix `RemoveScreensAttr`
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fixed type error
* Ran Biome
* Update arena.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Ran biome
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-10-02 19:59:33 -07:00
Sirz Benjie
2a9e4e5ebb
[AI] Prevent ai from using moves guaranteed to fail due to the weather ( #6613 )
...
Prevent ai from using moves guaranteed to fail due to the weather
2025-10-02 21:37:00 -04:00
damocleas
0da202c26e
[Balance] Rival Fight Rework ( #6603 )
...
* Basic Implementation of new Rival Fights
* Set abilities for birds, Set levels for slots 3-5
* Left an accidental TODO
* Remove duplicate Paldea Tauros
* Allow species in getRandomPartyMemberFunc to be an array
* Use switch statement instead of if/else chain
* docs: add doc comments
* Misc cleanup
* Misc cleanup
* Implement superior rival fight teamgen
* Remove latent console logs from other PR
* Fix unrelated typo in pokemon-move-no-pp
* Tweak type overlap logic
* Fix off-by-one-error for limits
* Address Kev's comments from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix typo
* Fix docs in `rival-party-config.ts`
* Add missing default in doc in `rival-team-gen.ts`
* Update src/ai/rival-team-gen.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/ai/rival-team-gen.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Address Kev's comments from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Madmadness65 <59298170+Madmadness65@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>
2025-10-01 23:45:50 -04:00
Madmadness65
68f65da233
[P2 Bug] [Balance] Fit initBiomes incorrectly getting evo level threshold ( #6612 )
...
* [P2 Bug] Fit initBiomes incorrectly getting evo level threshold
The evolution level threshold wasn't applying correctly to the biome entries of Pokemon that evolved via evolution items (so anything with a level 1 "requirement"), this has been fixed. The evolution delay for certain Pokemon has been lowered, as it it was compounding with their existing level requirements, making their evolutions take way too long to happen. The values were lowered to match the intended levels the Balance Team desired. The outputPools function has also been run, updating all the levels of the Pokemon with set evolution delays.
* Remove evo delay
* Improve clarity for mantyke evo level
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-10-01 22:34:58 -05:00