pokerogue/src/system
Sirz Benjie 5854b21da0
[Refactor] Remove circular imports part 1 (#5663)
* Extract Mode enum out of UI and into its own file

Reduces circular imports from 909 to 773

* Move around utility files

Reduces cyclical dependencies from 773 to 765

* Remove starterColors and bypassLogin from battle-scene

Reduces cyclical dependencies from 765 to 623

* Fix test runner error

* Update import for bypassLogin in test

* Update mocks for utils in tests

* Fix broken tests

* Update selectWithTera override

* Update path for utils in ab-attr.ts

* Update path for utils in ability-class.ts

* Fix utils import path in healer.test.ts
2025-04-19 11:57:03 +00:00
..
settings [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
version_migration [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
achv.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
arena-data.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
challenge-data.ts [Refactor] Replace all instances of integer with number (#5250) 2025-02-04 17:56:13 -07:00
egg-data.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
game-data.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
game-speed.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
game-stats.ts [Refactor] Replace all instances of integer with number (#5250) 2025-02-04 17:56:13 -07:00
modifier-data.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
pokemon-data.ts [Bug] Fix forced switch bugs in enemy partner trainer battles (#5644) 2025-04-18 09:35:46 +00:00
session-history.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
trainer-data.ts [Bug][Hotfix] Fix crash when pulling trainer names for (certain) non-English languages (#5608) 2025-04-01 21:31:52 -04:00
unlockables.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
voucher.ts [Refactor] Minor refactor of trainer-config files (#5573) 2025-03-29 00:19:35 -04:00