Commit Graph

5326 Commits

Author SHA1 Message Date
Lugiad
4d29621e15
MOVE_LABEL TextStyle padding correction 2025-06-26 19:34:14 +02:00
Lugiad
7fbde9414c
Line formatting correction 2025-06-26 19:29:33 +02:00
Lugiad
8f6f083b6f
Add MOVE_LABEL TextStyle 2025-06-26 19:18:39 +02:00
Lugiad
f79c645ab5
Add MOVE_LABEL TextStyle 2025-06-26 19:17:27 +02:00
Lugiad
6fadd8a0f5
Added new TextStyle 2025-06-26 17:39:15 +02:00
Lugiad
bd756e1304
Change TextStyle of valueLimitLabel 2025-06-26 17:36:27 +02:00
Lugiad
90b79b830b
Update i18n.ts 2025-06-26 16:15:51 +02:00
Lugiad
e1adf37d21
partyCancelText position adjustment 2025-06-26 14:48:33 +02:00
Lugiad
47b8a69d7e
PARTY_CANCEL_BUTTON Adjustments 2025-06-26 14:47:29 +02:00
NightKev
c24c37a40d Apply Biome 2025-06-26 05:22:51 -07:00
Lugiad
2b19214275
Removed old Japanese adjustments 2025-06-26 14:08:07 +02:00
Lugiad
2085ff489e
Removal of old Japanese line spacing parameter 2025-06-26 14:00:54 +02:00
Lugiad
1e2fcfc339
Merge branch 'pagefaultgames:beta' into japanese-edits 2025-06-26 13:56:35 +02:00
NightKev
c389b7acdb
[Dev] Mark the fixer for Biome's useBlockStatements as "safe" (#6031) 2025-06-25 18:16:30 -07:00
Lugiad
2d0d7a28a1
PARTY_CANCEL_BUTTON TextStyle Correction 2025-06-26 02:54:07 +02:00
Lugiad
7798b8a0e1
PARTY_CANCEL_BUTTON TextStyle Correction 2025-06-26 02:17:01 +02:00
Lugiad
2da5a12a1c
Add new TextStyle 2025-06-26 01:42:31 +02:00
Lugiad
ab885fb6fa
Add new TextStyle 2025-06-26 01:40:53 +02:00
Lugiad
4923a30b01
Add new TextStyle 2025-06-26 01:39:57 +02:00
Lugiad
a5d5b0e8e7
Add new TextStyle 2025-06-26 01:31:04 +02:00
Lugiad
42ae6627c3
Add new TextStyle 2025-06-26 01:29:55 +02:00
Lugiad
dc79b01a86
Add new Text Style 2025-06-26 01:01:45 +02:00
Lugiad
cb68afe7cb
Add new TextStyle 2025-06-26 01:01:01 +02:00
Lugiad
f9bdb4f41f
Added new TextStyle 2025-06-25 22:50:51 +02:00
Lugiad
0adbad7920
Added new TextStyle 2025-06-25 22:50:01 +02:00
Lugiad
039e327aa2
Added new TextStyle 2025-06-25 22:31:15 +02:00
Lugiad
9eced75a85
Added new TextStyle 2025-06-25 22:30:23 +02:00
Lugiad
534745ff9b
Added new TextStyle 2025-06-25 22:29:53 +02:00
Lugiad
3d2bccba7c
Merge branch 'beta' into japanese-edits 2025-06-25 19:11:55 +02:00
NightKev
ecdaac20fa [Test] Fix Gorilla Tactics tests 2025-06-24 18:40:15 -07:00
Bertie690
3b490e7ab4
[Bug] Status moves blocked by terrain now use correct message
https://github.com/pagefaultgames/pokerogue/pull/5931

* Moved terrain messages to `terrain.ts`, made status failures use correct text

* Revert overrides.ts

* Comment fix

* Fixed confusion message not appearing for misty terrain blockages

* Fixed bug

* re-added import

* Update battler-tags.ts

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

* Added exhaustiveness checking

* ran boime

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-24 17:50:35 -07:00
Lugiad
9a3db0e019
TextStyle.PARTY adjustments 2025-06-24 21:25:04 +02:00
Lugiad
4135d07e9d
TextStyle adjustments 2025-06-24 17:52:32 +02:00
Lugiad
aa90758b3b
Japanese former custom adjustments removal 2025-06-24 15:07:30 +02:00
Lugiad
3b958a0df9
Friendship count text adjustment 2025-06-24 15:03:46 +02:00
Lugiad
d358635bb1
Merge branch 'beta' into japanese-edits 2025-06-24 02:24:16 +02:00
NightKev
232f26a60d
[Dev] Migrate from npm to pnpm (#6018)
* Replace `package-lock.json` with `pnpm-lock.yaml`

* Update `package.json`

* Update `lefthook.yml`

* Update GitHub workflows

* Update references to `npm`/`npx`

* Update `CONTRIBUTING.md`

* Update `linting.md` and `comments.md`

* Update comment in `create-test.js`

* Add missing dependency `chalk` for `create-test.js`
2025-06-23 17:05:59 -07:00
Lugiad
50c76bd408
Spacing for Ability desc labels adjusted 2025-06-24 01:44:01 +02:00
Lugiad
9bf013c26b
Japanese custom lineSpacing adjustment 2025-06-24 01:21:37 +02:00
Lugiad
afdd46bf9a
Japanese starterInfoText adjustments 2025-06-24 00:09:34 +02:00
Lugiad
fd1a9649dd
Slightly increased spacing for Ability name+desc labels 2025-06-23 23:33:24 +02:00
Lugiad
e92c0e218f
Added Japanese Custom Adjustments 2025-06-23 23:29:44 +02:00
Lugiad
2d6a623eb5
Changed Japanese Font + removed font size adjustment 2025-06-23 23:25:32 +02:00
Lugiad
0d3446b354
Added pokemon-bw font for Japanese 2025-06-23 23:23:23 +02:00
Lugiad
5199c6a743
Delete Japanese Galmuri9 font 2025-06-23 23:22:49 +02:00
Lugiad
98ffda01d5
Delete Japanese Galmuri11 font 2025-06-23 23:22:35 +02:00
Bertie690
6547e1d5ce
[Dev] Update depcruiser to enforce no non-type export in src/@types/
https://github.com/pagefaultgames/pokerogue/pull/5949

* Add depcruiser rule to enforce no non-type export in `src/@types`

* Add missing field in config

* Fixed type import inside `move.ts`
2025-06-22 18:34:06 -07:00
Sirz Benjie
8afedc33d7
[Refactor] [Ability] Ab attr apply type safety (#6002)
* [WIP] Refactor ability attribute apply args

* [WIP] update ability signatures

* Update callsites in pokemon.ts

* Update callsites in moves.ts

* Update abattr callsites in move-phase

* Update abattr callsites in battler-tags

Also removed stat drop ability application from cancelling ME stat boost effects

* format with biome and remove cancelled from weather lapse

* Update abattr callsites in MEP

* Update callsites in turn-start-phase

* Update abAttr callsites in misc phases

* Remove latent test functionality

* update ability attribute callsite in shield dust test

* update abattr callsite in winstrate challenge encounter

* Fix some tests to mock proper methods

* Remove improper condition in mimicry's ability application

* Fix improper simulated check in moody's apply method

* Pass source to postApplyDamage in pokemon.ts

* [wip] fix cud chew tests

* Make cud chew consumption not subclass postTurnAbAttr

* Fix regression in flower veil

* Update trySetStatus test in pokemon to respect new return value for undefined

* Remove empty, unused file

* Fix blockCrit method broken in merge

* Fix unnecessary attr type cast in move phase

* Address typing issue in safeguard test

* Improve documentation and get rid of ts-expect-error directive

* Minor comment/TSDoc updates and fixes

* Apply suggestions from code review

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

* Apply suggestions from code review

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-22 18:23:08 -07:00
Sirz Benjie
9fd79edcb2
[Refactor] Refactor evo phase (#5735)
* Cleanup evolution phase

* Update evolution phase and types

* Refactor form change phase

* Simplify game-speed.ts and update evo phase

* Move delay in formChangePhase to first element

* Fix mock video object return methods

* Fix tween chain mock

* Add todo comment to mock phaser's tween manager

* Remove jarring flash when evolution begins

* Fix missing method chaining in evo phase

* Apply biome formatting
2025-06-22 18:11:38 -07:00
Bertie690
36c79a9a69
[Bug] Reworked BattlerTag/ArenaTag code to prevent breakage on 0 PIDs
https://github.com/pagefaultgames/pokerogue/pull/5932

* Fixed modifier code, removed instances of "0 ID = no mon"

* corrected casing + dejanked seed tag

* Added test file, added overload to `findModifier` if given type predicate

* fixed test

* Revert predicate stuff for now

going in separate PR

* Fix id check syrup bomb test

Wasn't running phase due to being a turn end effect

* [WIP] Changed test to use destiny bond as proper regression

* Removed `instant` and `ignoreUpdate` parameters from `tryTransferHeldItemModifier`; fixed post-battle loot code to _not_ break type safety

* Fixed up tests

* Reverted unneeded changes

* Removed outdated modifier test

* Fix import

* Apply Biome

* Update battler-tags.ts

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

* Update battler-tags.ts

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

* Update arena-tag.ts

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

* Update arena-tag.ts

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-22 17:29:37 -07:00