pokerogue/src
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
..
@types [Refactor] Refactor ME mon generation and event encounters, add to Safari Zone & GTS (#6695) 2025-10-30 15:46:35 -04:00
ai [Beta][Bug] DetermineEnemySpecies was using a very low minimum value for evolution chance (#6678) 2025-10-24 21:33:17 -04:00
configs/inputs [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
constants [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
data [Refactor] Refactor ME mon generation and event encounters, add to Safari Zone & GTS (#6695) 2025-10-30 15:46:35 -04:00
enums [Balance] Evil Team Admin Rework + Misc Trainer Changes (#6608) 2025-10-08 00:08:50 -05:00
events [UI/UX] Show correct max duration in flyout (#6566) 2025-09-18 13:35:22 -07:00
field [Refactor] Refactor ME mon generation and event encounters, add to Safari Zone & GTS (#6695) 2025-10-30 15:46:35 -04:00
global-vars [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
init [Dev] Improve typescript performance and version bump node and dependencies (#6627) 2025-10-04 19:29:23 -05:00
modifier [Misc] Add dynamic ordering to non-phase interactions (#6581) 2025-10-29 04:03:32 +00:00
phases [Feature] Allow setting movesets via custom daily seed (#6712) 2025-10-30 16:15:20 +00:00
pipelines Revert "[Refactor] Add TIME_OF_DAY_OVERRIDE & refactor arena tint code" 2025-09-27 14:55:59 -07:00
plugins [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
queues [Bug] Use InitEncounterPhase to queue PSPs for new encounters (#6614) 2025-10-07 22:09:17 -05:00
sprites [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
system [Beta] Add Ribbon Sprites over stuff (#6704) 2025-10-29 10:56:15 -04:00
typings [Misc] Updated documentation & typing for setPositionRelative function (#6629) 2025-10-06 12:39:04 -05:00
ui [Bug][UI/UX] Display no heal and no shop ribbon if no support is unlocked (#6715) 2025-10-30 15:04:25 -04:00
utils [Feature] Allow setting movesets via custom daily seed (#6712) 2025-10-30 16:15:20 +00:00
account.ts [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
battle-scene.ts [Dev] Update @ts-expect-error in battle-scene.ts 2025-10-29 21:49:50 -07:00
battle.ts [Balance] Evil Team Admin Rework + Misc Trainer Changes (#6608) 2025-10-08 00:08:50 -05:00
constants.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
dynamic-queue-manager.ts [Misc] Blacklist more dynamic phases (#6585) 2025-09-21 12:05:13 -07:00
game-mode.ts [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
global-event-manager.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
global-scene.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
inputs-controller.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
loading-scene.ts [UI/UX] Add language selection to login screen (#6302) 2025-09-10 13:53:57 -05:00
main.ts [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
messages.ts [Bug/i18n] Added type safety to Arena.applyTags; fixed arena tag addition/removal messages (#6304) 2025-10-07 23:38:51 -05:00
overrides.ts Revert "[Refactor] Add TIME_OF_DAY_OVERRIDE & refactor arena tint code" 2025-09-27 14:55:59 -07:00
phase-manager.ts [Bug] Use InitEncounterPhase to queue PSPs for new encounters (#6614) 2025-10-07 22:09:17 -05:00
phase-tree.ts [Bug][Beta] Fix Fun and Games playing in wrong order (#6644) 2025-10-26 02:46:33 +00:00
phase.ts [Test] Removed deprecated functions from phase interceptor (#6195) 2025-08-19 19:54:40 -05:00
polyfills.ts [Dev] Add polyfill for ES2025 iterator (#6654) 2025-10-12 21:46:09 -05:00
scene-base.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
starting-wave.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
timed-event-manager.ts [Refactor] Refactor ME mon generation and event encounters, add to Safari Zone & GTS (#6695) 2025-10-30 15:46:35 -04:00
touch-controls.ts [Bug] Make touch events prevent pointer events (#6528) 2025-09-10 13:59:21 -05:00
tutorial.ts [Misc] Simplifying imports of UI files (#6542) 2025-09-11 00:30:17 -07:00
ui-inputs.ts [Misc] Simplifying imports of UI files (#6542) 2025-09-11 00:30:17 -07:00
vite.env.d.ts [Tests][Bug][Beta] Fix ditto bug and add unit tests (#6559) 2025-09-15 23:26:57 -05:00