NightKev
d2ace47e1e
[Test] Add missing ability override to Dancer tests
2025-06-08 15:36:01 -07:00
Wlowscha
5ef88a6d4d
[Refactor] Refactor select-modifier-phase.ts ( #5886 )
...
* Refactored select-modifier-phase.ts
* Added some missing type signatures
* Changes from suggestions
* Added ModifierSelectCallback type
2025-06-08 15:13:26 -07:00
Tiago Rodrigues
37767799cd
[Bug] Gorilla Tactics now activates on protect and miss ( #5567 )
...
* [Bug] Fix #5112 : Gorilla Tactics only registers succesful moves as move usage
* Apply small fixes from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-08 12:52:48 -04:00
Sirz Benjie
1c4edabd1d
[Refactor] Ensure that new phases are created through the phase manager
...
https://github.com/pagefaultgames/pokerogue/pull/5955
* Add newPhase method to phase-manager
* Update calls to append/prepend phase to use string phase
* Replace instantiations of new phase with phase manager
2025-06-07 23:55:30 -07:00
NightKev
75beec12a8
[Dev] Enable Biome checking of ability.ts
( #5948 )
2025-06-07 21:43:30 -07:00
Bertie690
35a09af475
[Utils] Create utility function randSeedFloat
( #5767 )
2025-06-07 19:29:10 -07:00
Bertie690
09e30070f9
[Docs] Fixed test helper functions to conform with TSDoc standard; deprecated runToSummon
/startBattle
without args ( #5912 )
...
* Updated doc comments for test-related functions
* Marked `classicMode.runToSummon` and `classicMode.startBattle` without species as deprecated
Having the species being used depend on daily run RNG is both unintuitive, janky and prone to flaking out (as happened with the Gastro Acid tests)
* Fixed the bug
* Update field-helper.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-07 18:02:25 -07:00
Sirz Benjie
93745f14b7
[Refactor] Decouple phase system from battle-scene ( #5953 )
...
* Move phase logic into its own class
* Move ts ignore comment
2025-06-07 17:59:30 -07:00
Jimmybald1
3114035673
[Balance] Update catch rates to Gen 9 ( #5954 )
...
Updated catch rates to gen 9w
Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-06-07 20:54:33 -04:00
Bertie690
ef6029ae4b
[Refactor] Add methods isPlayer
and isEnemy
to reduce circular imports
...
https://github.com/pagefaultgames/pokerogue/pull/5902
* Added functions `isPlayer` and `isEnemy` for type checking
* Apply suggestions from Kev code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix merge issue
* Split imports
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-07 17:44:58 -07:00
NightKev
d3bc33cd4e
[Misc] Remove debug.js
reference from index.html
2025-06-07 17:37:09 -07:00
Bertie690
1ff45687c5
[Refactor] Merged interfaces/
into @types/
; removed runtime orphan modules
...
https://github.com/pagefaultgames/pokerogue/pull/5951
2025-06-07 17:28:01 -07:00
Dobin Shin
f68899c187
Delete cancelled.value = this.overwrites
2025-06-07 20:56:40 +09:00
Dobin Shin
d28aeef0e2
Merge pull request #1 from Bertie690/fix-rattled-speed-stat-increase-delay
...
PR Review for #5936
2025-06-07 20:54:08 +09:00
Dobin Shin
7925ff39da
Merge branch 'fix-rattled-speed-stat-increase-delay' into fix-rattled-speed-stat-increase-delay
2025-06-07 20:53:57 +09:00
NightKev
c5db827381
[Dev] Enable Biome linting of move-effect-phase.ts
( #5947 )
2025-06-06 23:09:23 -07:00
Bertie690
a818c2b33f
[Bug] Dancer no longer breaks "last hit only" moves, respects flinch + steadfast ( #5945 )
...
* WIP
* Fixed Dancer last hit, flinch move interaction
* Fixed steadfast interaction
* Fixed comment + flaky test
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-06 20:50:16 -07:00
NightKev
dcab1c46eb
Merge branch 'beta' into fix-rattled-speed-stat-increase-delay
2025-06-06 19:42:58 -07:00
Bertie690
88e4ab978b
[Misc] Removed cases of a ? true : false
and useless super
calls from subclasses ( #5943 )
...
* Removed cases of `if (a) {return true}' return false`
* Removed useless `super.xyz` calls from functions
* Fixde missing issur
* Use early return in `Pokemon#isOffsetBySubstitute`
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-06 17:00:09 -07:00
NightKev
eb9c2a9024
Merge branch 'beta' into fix-rattled-speed-stat-increase-delay
2025-06-06 16:28:13 -07:00
Bertie690
3ca11e83a6
[Dev] Add lefthook script to update submodules post-checkout ( #5941 )
2025-06-06 23:27:58 +00:00
NightKev
215741466a
Merge branch 'beta' into fix-rattled-speed-stat-increase-delay
2025-06-06 15:01:32 -07:00
NightKev
74ff6938e3
Fix style issues
2025-06-06 14:47:44 -07:00
SmhMyHead
0336858708
[UI/UX] Legendary UP Gacha timer ( #5921 )
...
* [UI/UIX] Legendary UP Gacha timer
* Update egg-gacha-ui-handler.ts
Seems "fixedInt" was needed on the delay of the playTimeTimer so the game speed doesn't affect it.
* New timer container by damocleas.
* gacha_legendary.png second version from @damocleas
* Use phaser object chaining methods
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-06-06 21:20:02 +00:00
Sirz Benjie
855868bfea
[Refactor] Cleanup achvs ui handler ( #5919 )
2025-06-06 21:15:13 +00:00
Sirz Benjie
1fc42b3231
[Misc] Add phase#is
method to help reduce circular imports ( #5868 )
...
* Move phase types out of phase interceptor
* Create isXPhase method and add properties to each phase
* Replace instanceof phase with isXPhase
* Fix missing union types for phaseName
* Update doc comment in phase.ts
* Fix incomplete comment in encounter-phase
* Make phaseName as public and fix more uses
* Move phaseName property declaration before constructor in move anim phase
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Rename isXPhase to is
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-06 21:08:23 +00:00
Lugiad
9021e4b41e
[i18n] More Controller settings localization ( #5920 )
2025-06-06 19:52:35 +00:00
ShinigamiHolo
2a769e2733
[UI/UX] Adding more space in Egg Gacha for another languge ( #5934 )
2025-06-06 19:45:12 +00:00
Sirz Benjie
178de207f1
[Refactor] Cleanup egg list ui handler ( #5890 )
...
Cleanup egg list ui handler
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-06-06 21:34:38 +02:00
Bertie690
f49e4d647e
Added test for status moves
2025-06-06 13:52:02 -04:00
Bertie690
3a85c7830e
Made Guard Dog use proper attribute; added test for on get hit effects
2025-06-06 13:51:55 -04:00
Lugiad
e82e182507
[UI/UX] [Localization] Russian Gatcha Text Resize ( #5929 )
...
Russian Gatch Text Resize
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-06-06 18:33:13 +02:00
dobin
6bf78cd732
[TEST]: Ensure Rattled triggers from Intimidate before player switches out
2025-06-06 23:55:46 +09:00
dobin
92e45fba81
Early return when simulated is true
2025-06-06 14:58:26 +09:00
PrabbyDD
0c54fc1be0
[Bug] Fix no EXP awarded if all active pokemon faint ( #4688 )
...
Party pokemon will now gain EXP from EXP Share
even if all the active pokemon are fainted
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-05 18:22:27 -04:00
Sirz Benjie
193c5ffb0c
[UI/UX] Move Reload Required text to bottom of settings ( #5928 )
...
* Move Reload Required text to bottom of settings
* Remove unneeded reloadRequiredText field
2025-06-05 15:18:07 -07:00
Wlowscha
39b8dc9a85
[Refactor] Removing unused logic for mbh/grip claw ( #5914 )
...
* Removing unused logic for mbh/grip claw
* Updated docstring
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-06-05 21:54:50 +00:00
Dobin Shin
377f596778
Apply lint
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-06-06 03:06:51 +09:00
Dobin Shin
3e1adaa015
Add battleStyle override
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-06-06 03:06:00 +09:00
Dobin Shin
04d7606122
Update test utils
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-06-06 03:04:30 +09:00
Dobin Shin
41b05f0ce3
Add comment justifying usage of runToSummon
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-06-06 03:03:09 +09:00
Dobin Shin
fa22a7f3eb
Update test title
...
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-06-06 03:01:55 +09:00
dobin
400733442e
[TEST] Rattled should be activated after Intimidate
2025-06-06 00:53:57 +09:00
dobin
a201d2e6a1
[Bug] Fix rattled speed stat delay on SwitchSummonPhase
2025-06-05 19:16:44 +09:00
dobin
e8bc2fb736
[Bug] Fix rattled speed stat increase delay
2025-06-05 18:40:02 +09:00
Sirz Benjie
fb6d6f5b69
[Dev] Add non type imports depcruiser check ( #5901 )
...
* Forbid non type imports in type and enum files
* Allow orphans in src/@types
2025-06-04 21:57:10 -07:00
NightKev
9dcb904649
[Misc] Improve enum naming ( #5933 )
...
* Rename `Abilities` to `AbilityId`
* Rename `abilities.ts` to `ability-id.ts`
* Rename `Moves` to `MoveId`
* Rename `moves.ts` to `move-id.ts`
* Rename `Species` to `SpeciesId`
* Rename `species.ts` to `species-id.ts`
* Rename `Biome` to `BiomeId`
* Rename `biome.ts` to `biome-id.ts`
* Replace `Abilities` with `AbilityId` in comments
* Replace `Biome` with `BiomeId` in comments
* Replace `Moves` with `MoveId` in comments
* Replace `Species` with `SpeciesId` in comments
2025-06-04 14:54:27 -07:00
NightKev
dd2f475ded
Merge pull request #5923 from pagefaultgames/main
...
Sync beta with main
2025-06-02 17:03:54 -07:00
NightKev
a26a930980
Fix Version Number 1.9.4 -> 1.9.5
2025-06-02 20:00:23 -04:00
NightKev
6586790768
[Test] Fix Last Respects test
2025-06-02 16:12:45 -07:00