- Pokémon Essentials Version
- v21.1 ✅
XP-18 Training Module
Overview
The XP-18 Training Module is a combat simulator plugin that provides a structured, ticket-based system for earning EXP Candies and training EVs.Instead of grinding wild encounters or repeat trainers, players spend tickets to battle dynamically generated teams that scale with your game’s current level cap.
Modes
XP Mode6v6 battle against a dynamically generated team.
Win to earn EXP Candies that scale with progression.
EV Mode
Select one Pokémon and a stat to maximize.
Win a 1v3 battle to instantly set that stat’s EVs to 252.
Teams are generated dynamically from your full Pokédex, so there are no static encounter pools to maintain. Movesets are built automatically using STAB prioritization, type coverage, and useful status moves.
Enemy levels, BST ranges, held items, and reward tiers all scale from a single configurable variable (your level cap).
Features
- Dynamic team generation from your full Pokédex (BST filtered + configurable blacklist)
- Smart moveset builder prioritizing STAB, coverage, and utility
- Automatic difficulty scaling based on your level cap variable
- Tiered EXP Candy rewards that scale with progression
- EV Mode supports up to two maxed stats (252/252), with a replacement prompt for a third
- Free retries on EV Mode losses (ticket consumed on entry only)
- Party healing before and after battles
- Fully configurable: party sizes, tickets, level offsets, item pools, blacklist, and more
- Self-contained module (no aliases or overrides)
- Optional Level Caps EX compatibility (auto-detected)
Configuration
All settings are located in 001_Settings.rb.XP_ENEMY_COUNT
Default: 6
Enemy party size in XP Mode
EV_ENEMY_COUNT
Default: 3
Enemy party size in EV Mode
EV_LEVEL_OFFSET
Default: -3
Enemy level offset in EV Mode (relative to selected Pokémon)
HEAL_BEFORE_BATTLE
Default: true
Heal party before battle
LEVEL_CAP_VARIABLE
Default: 100
Game variable storing the current level cap
XP_TICKET
Default: :XPTICKET
Item symbol for XP Mode tickets
EV_TICKET
Default: :EVTICKET
Item symbol for EV Mode tickets
BLACKLIST
Default: Legendaries / Mythicals / Ultra Beasts
Species excluded from generation
Installation
- Copy
Plugins/XP18_TrainingModule/into your project’sPlugins/directory - Copy included graphics into your
Graphics/folder - Add the provided PBS entries to:
PBS/items.txtPBS/trainer_types.txt
- Set your level cap variable (default: Variable 100) to your current level cap
- If using Level Caps EX, this is handled automatically
- Launch the game in Debug mode to compile
Usage
Create a map event (NPC, terminal, etc.) with a single Script command:XP18.pbXP18Machine
The plugin handles mode selection, ticket validation, team generation, battles, rewards, and EV application.
XP Mode Flow
- Player selects XP Mode
- Reward preview is displayed (e.g. “4× Exp. Candy M, 1× Exp. Candy L”)
- 1 XP Ticket is consumed
- Party is healed
- 6 enemy Pokémon are generated based on the current level cap
- 6v6 battle begins
- Win → EXP Candies awarded
Lose → Ticket consumed, no rewards - Party is healed after battle
EV Mode Flow
- Player selects EV Mode
- Chooses a Pokémon from their party
- Selects a stat to maximize (HP / Atk / Def / SpA / SpD / Spe)
- Current EVs are displayed
- If two stats are already maxed, player chooses one to replace
- 1 EV Ticket is consumed
- 3 enemy Pokémon are generated (themed around the chosen stat)
- 1v3 battle using only the selected Pokémon
- Win → Selected stat set to 252 EVs (other non-maxed stats reset to 0)
Lose → Retry for free or give up - Party is healed after battle
Scaling Reference - Configurable
| Level Cap | Enemy Levels | BST Range | Candy Rewards | Item Tier |
|---|---|---|---|---|
| 18 | 12–14 | 200–360 | 5× Candy S | Early |
| 25 | 17–20 | 252–408 | 2× S + 2× M | Early |
| 35 | 24–28 | 278–433 | 4× Candy M | Mid |
| 50 | 35–40 | 318–473 | 4× M + 1× L | Mid |
| 75 | 52–60 | 384–537 | 6× L + 1× XL | Late |
| 100 | 70–80 | 450–600 | 6× Candy XL | Late |
- Credits
- - Robonox for the original idea behind this and the graphics of EVTICKET and XPTICKET items.
- Just_a_game_addict for the trainer graphics in use