Commit Graph

5194 Commits

Author SHA1 Message Date
Madmadness65
8efc05904e
[Audio] Add winter title BGM loop point & play during winter season (#6864)
Add winter title BGM loop point & play during winter season

The winter title BGM will play during the entirety of December and the first half of January, regardless of if an event is happening or not.
2025-12-19 18:55:57 -05:00
Fabi
0cc3d2c566
[Bug] Charging moves no longer fail on last PP (#6867) 2025-12-19 15:26:21 -08:00
Austin Fontaine
a1a1796f64
[Event] Add data for Winter Holiday 2025 event (#6860)
* Add data for Winter 2025 event
* Update timed-event-manager.ts
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-12-18 23:28:06 -05:00
NightKev
e888cbd6fb [Misc] Add missing word in TSDoc 2025-12-18 20:04:45 -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
Lugiad
a6554acfe3
[i18n] Indonesian & Hindi addition (#6850) 2025-12-18 18:57:37 -08:00
NightKev
4545f9aae3
[Misc] Remove | null from user param of PokemonAttackCondition
https://github.com/pagefaultgames/pokerogue/pull/6859
2025-12-18 13:54:38 -08:00
NightKev
e6de0fb95d
[UI/UX] Split login and register into separate menus (#6851)
* [UI/UX] Split login and register into separate menus

* Resize the container for the "Login" and "Register" buttons

* Make container width dynamic

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

* Make logo position dynamic

* Apply suggestions

- Consolidate code in `LoginPhase`

- Use `truncateString` utility function in `form-modal-ui-handler.ts`

- Move login form to match location of register form

- Swap `x` values of username and download buttons

* Apply suggestions

---------

Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
2025-12-18 13:49:21 -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
Fabi
86c1c5f68d
[Bug] Stop AI from Terastallizing after reviving (#6848) 2025-12-16 00:18:36 -05:00
damocleas
95c85f68af [Balance] Update Invalid Sketch Moves
- Removed Chatter, Revival Blessing, and Tera Starstorm from being invalid moves to be gained with the move Sketch

This seems to have been an oversight when implementing the list to work with the game, as there is no reason to restrict these with the game systems here.
2025-12-13 13:35:28 -05: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
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
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
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
Fabi
2253289c76
[i18n] Localize data type names (#6807)
use localized data names
2025-12-03 14:17:27 -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
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
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
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
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
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
4e080465b9
[Bug] Fix Ball Fetch activating on enemy Pokemon (#6777) 2025-11-14 08:27:53 +00: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
Bertie690
d8d5c12bbc
[Bug] Fix 2-turn/charging moves breaking on lack of targets (#6759) 2025-11-07 04:27:07 +00:00
Madmadness65
a0aa25ab75
[P3 Bug] Fix Struggle's message not displaying properly (#6760) 2025-11-06 22:25:20 -06: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
Blitzy
c7b563e498
[Balance Hotfix] Slight Alterations to PR#6747 (Trainers) (#6755)
Update trainer-config.ts

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-11-06 10:08:11 -05:00
Fabi
74783b1200
[i18n] Fix mist message (#6757)
fix mist message
2025-11-06 08:42:33 -05:00
Fabi
5c132f290a
[i18n] Fix freeze healByMove message (#6754) 2025-11-05 02:04:24 -08:00
Dean
604b0f3146
[Hotfix] Fix Pollen Puff crash and incorrect failure (#6752)
Fix Pollen Puff crash and incorrect failure

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-11-04 18:55:44 -05:00
Blitzy
ef3d950464
[Balance Hotfix] Miscellaneous Trainer Changes (#6747)
* Update trainer-config.ts

* Update trainer-config.ts

* fix sinischa

now shares party slot with Polteageist anyways

* Linting, remove redundant evil team admin money multipliers

The money multiplier is already set via initForEvilTeamAdmin, and this just removes redundancy.

* Update trainer-config.ts

* Buzzwole is no longer Rogue Ball gendered

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
2025-11-04 18:52:22 -05:00