• 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.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Toggle Effort and Individual Values in Options

v21.1 Toggle Effort and Individual Values in Options 1.0.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Having a tough time deciding if your fan game wants to get rid of Effort Values or Individual Values, but don't want to force players to commit to having or not having EVs/IVs as part of the process of fully training a Pokemon? This resource is for you.

This is a simple options menu toggle that flips off and on the setting in Essentials that decides if the value of Effort Values and Individual Values are treated as 0, during the turn action of damage and speed calculation.

This setting toggle works in the background, meaning the actual calculated stats on the Summary Screen,
and other features that check Effort Values and Individual Values won't change when toggled on. And features such
as getting the Effort Ribbon will still be able to do there thing.

This setting makes it so when it's on, you don't have to think about EVs/IVs when making your Pokemon teams.
It allows for the best of both worlds, for players that don't want to waste their time fiddling with EV/IVs,
and those who like customizing their Pokemon's battle potential.

This setting toggle is off by default. Meaning mechanics such as Foul Play and Trick Room need to be optimized for.
As well as Hidden Power IVs, if you are not using the following.

DemICE's Independent Hidden Power Type: https://eeveeexpo.com/resources/1235/

When on, both the player and opponent Pokemon don't need to factor in optimal Foul Play and Trick Room IVs.

How to Implement:

Ruby:
Expand Collapse Copy
attr_accessor :evivtoggle

@evivtoggle    = (Settings::DISABLE_IVS_AND_EVS) # Toggles if Effort and Individual Values factor into Pokemon Stat Calculation.
                                                 # Off for people that don't want to fiddle with numbers. On for people who love maxing out a Pokemon's battle potential.
                                                 #(0=false, 1=true)

MenuHandlers.add(:options_menu, :evivtoggle, {
  "name"        => _INTL("Disable EV/IV Stats"),
  "order"       => 130,
  "type"        => EnumOption,
  "parameters"  => [_INTL("No"), _INTL("Yes")],
  "description" => _INTL("Are IVs/EVs treated as 0 when calculating damage, for player/foe."),
  "get_proc"    => proc { next $PokemonSystem.evivtoggle },
  "set_proc"    => proc { |value, _scene| $PokemonSystem.evivtoggle = value }
})

#What this option addition does

#Disable EV/IV Stats toggles the DISABLE_IVS_AND_EVS setting in Essentials.
#When off, the stats of Effort Values and Individual Values factor into stat and damage calculation,
#when a Pokemon does a turn action in battle.

#This setting works in the background, meaning the actual calculated stats on the Summary Screen,
#and other features that check Effort Values and Individual Values won't change when toggled on. And features such
#as getting the Effort Ribbon will still be able to do there thing.

#This setting makes it so when it's on, you don't have to think about EVs/IVs when making your Pokemon teams.
#It allows for the best of both worlds, for players that don't want to waste their time fiddling with EV/IVs,
#and those who like customizing their Pokemon's battle potential.

#This setting toggle is off by default. Meaning mechanics such as Foul Play and Trick Room need to be optimized for.
#As well as Hidden Power IVs, if you are not using DemICE's Independent Hidden Power Type. When on, both the player and opponent
#Pokemon don't need to factor in optimal Foul Play and Trick Room IVs.

xSvni0r.png


WF9Jupl.png
Credits
Name = Toggle Effort and Individual Values in Options
Version = 1.0.0
Essentials = 21.1
Requires = v21.1 Hotfixes,1.0.9
Credits = Hazy Crazy, the creator of this resource, wrigty12, WillOw, who helped out with getting the option toggle to work
Author
4AllNighterGrinder64
Views
127
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top