- Pokémon Essentials Version
- v21.1 ✅
# Level Caps EX Plugin - Updated Instructions
### Core Configuration
1. Level Cap Control Variables:
2. Bypass Switch for Trainer Battles:
### Level Cap Modes
1. Hard Cap (Mode 1)
- Blocks all EXP gain at cap
- Prevents leveling completely
2. EXP Cap (Mode 2)
- Reduces EXP to 10% above cap
- Shows reduced EXP message
3. Obedience Cap (Mode 3)
- Pokémon may disobey above cap
- Higher disobedience rate with level difference
### Using the Bypass Switch
To allow specific trainers to ignore level caps:
1. Enable Bypass:
- Turn ON Switch 61 before trainer battle
- Their Pokémon keep original levels
2. Disable Bypass:
- Turn OFF Switch 61 after battle
- Returns to normal level cap enforcement
### Event Command Examples
### Debug Features
- Bypass switch state
- Level adjustments
### Important Notes
### Special Features
Set these values in your config and use Switch 61 to control trainer level restrictions.
# Level Caps EX - Compatibility Instructions
This script adds compatibility with Voltseon's Pause Menu by displaying the current level cap in the menu interface.
### Setup
1. Requirements:
- Level Caps EX plugin
- Voltseon's Pause Menu plugin
### Configuration
The script uses the same level cap variable as the main plugin:
````ruby
module LevelCapsEX
LEVEL_CAP_VARIABLE = 40 # Must match main plugin's variable
end
````
### Features
1. Level Cap Display:
- Shows current level cap in pause menu
- Updates automatically when cap changes
- Located near top of pause menu
- Uses menu's theme colors
2. Auto-Detection:
- Checks for Voltseon's Pause Menu
- Only activates if menu plugin exists
- Prevents conflicts if menu isn't present
### Customization
To adjust the HUD position or appearance:
1. Change Y-Position:
````ruby
# Modify y-position (default: 90)
@sprites["overlay"].y = 90 # Adjust this value
````
2. Change Text Format:
````ruby
# Modify display text
text = _INTL("Current Lvl Cap: {1}", level_cap) # Change format here
````
### Notes
The compatibility script will work automatically once placed in your plugins folder.
### Core Configuration
1. Level Cap Control Variables:
Ruby:
LEVEL_CAP_VARIABLE = 40 # Controls max level
LEVEL_CAP_MODE_VARIABLE = 41 # Controls cap behavior
DEFAULT_LEVEL_CAP_MODE = 1 # Default: Hard Cap
2. Bypass Switch for Trainer Battles:
Ruby:
LEVEL_CAP_BYPASS_SWITCH = 61 # Switch to bypass level caps for trainers
### Level Cap Modes
1. Hard Cap (Mode 1)
- Blocks all EXP gain at cap
- Prevents leveling completely
2. EXP Cap (Mode 2)
- Reduces EXP to 10% above cap
- Shows reduced EXP message
3. Obedience Cap (Mode 3)
- Pokémon may disobey above cap
- Higher disobedience rate with level difference
### Using the Bypass Switch
To allow specific trainers to ignore level caps:
1. Enable Bypass:
- Turn ON Switch 61 before trainer battle
- Their Pokémon keep original levels
2. Disable Bypass:
- Turn OFF Switch 61 after battle
- Returns to normal level cap enforcement
### Event Command Examples
Ruby:
# Before high-level trainer battle
Control Switches: [0061: Level Cap Bypass] = ON
# After battle
Control Switches: [0061: Level Cap Bypass] = OFF
### Debug Features
- Logs level cap changes when
LOG_LEVEL_CAP_CHANGES = true
- Shows messages for:
- Bypass switch state
- Level adjustments
### Important Notes
- Bypass only affects trainer Pokémon levels
- Player Pokémon still follow level cap rules
- Switch must be reset after use to restore caps
- Works with debug battles and regular encounters
### Special Features
- PBS compilation protection
- Battle AI improvements
- Item usage restrictions (Rare Candy, EXP Candy)
Set these values in your config and use Switch 61 to control trainer level restrictions.
# Level Caps EX - Compatibility Instructions
This script adds compatibility with Voltseon's Pause Menu by displaying the current level cap in the menu interface.
### Setup
1. Requirements:
- Level Caps EX plugin
- Voltseon's Pause Menu plugin
### Configuration
The script uses the same level cap variable as the main plugin:
````ruby
module LevelCapsEX
LEVEL_CAP_VARIABLE = 40 # Must match main plugin's variable
end
````
### Features
1. Level Cap Display:
- Shows current level cap in pause menu
- Updates automatically when cap changes
- Located near top of pause menu
- Uses menu's theme colors
2. Auto-Detection:
- Checks for Voltseon's Pause Menu
- Only activates if menu plugin exists
- Prevents conflicts if menu isn't present
### Customization
To adjust the HUD position or appearance:
1. Change Y-Position:
````ruby
# Modify y-position (default: 90)
@sprites["overlay"].y = 90 # Adjust this value
````
2. Change Text Format:
````ruby
# Modify display text
text = _INTL("Current Lvl Cap: {1}", level_cap) # Change format here
````
### Notes
- Component automatically integrates if Voltseon's Pause Menu is detected
- Uses system's menu theme colors
- Updates in real-time when level cap changes
- No additional configuration needed after installation
The compatibility script will work automatically once placed in your plugins folder.
- Credits
- Golisopod User, Nononever