• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

v21.1 Level Caps Ex 2.3

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
# Level Caps EX Plugin - Updated Instructions

### Core Configuration

1. Level Cap Control Variables:
Ruby:
Expand Collapse Copy
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:
Expand Collapse Copy
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:
Expand Collapse Copy
# 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:
- Battle initialization
- 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
  • level cap Config.png
    level cap Config.png
    147.3 KB · Views: 594
  • Screenshot 2024-02-16 231230.png
    Screenshot 2024-02-16 231230.png
    64.8 KB · Views: 585
  • console.png
    console.png
    10.5 KB · Views: 568
  • Like
Reactions: Ryuushedo and 110
Author
NoNoNever
Downloads
2,839
Views
11,825
First release
Last update

Ratings

5.00 star(s) 4 ratings

More resources from NoNoNever

Latest updates

  1. Level Caps EX / Multiple Item Use

    Fixed: Pokémon now reliably learn all level-up moves after each individual level increment when...
  2. 2.3

    Fixed bypass with multiple candies
  3. Fixed Mode 3

    Fixed a bug in mode 3
Back
Top