mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Easy Mode
This commit is contained in:
Binary file not shown.
@@ -862,6 +862,9 @@ end
|
|||||||
|
|
||||||
def pbShowCommands(msgwindow, commands = nil, cmdIfCancel = 0, defaultCmd = 0)
|
def pbShowCommands(msgwindow, commands = nil, cmdIfCancel = 0, defaultCmd = 0)
|
||||||
return 0 if !commands
|
return 0 if !commands
|
||||||
|
if defaultCmd == 0 && $game_variables[COMMAND_WINDOW_INDEX] != 0
|
||||||
|
defaultCmd = $game_variables[COMMAND_WINDOW_INDEX]
|
||||||
|
end
|
||||||
cmdwindow = Window_CommandPokemonEx.new(commands)
|
cmdwindow = Window_CommandPokemonEx.new(commands)
|
||||||
cmdwindow.z = 99999
|
cmdwindow.z = 99999
|
||||||
cmdwindow.visible = true
|
cmdwindow.visible = true
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ module GameData
|
|||||||
end
|
end
|
||||||
level = pkmn_data[:level]
|
level = pkmn_data[:level]
|
||||||
if $game_switches[GAME_DIFFICULTY_HARD]
|
if $game_switches[GAME_DIFFICULTY_HARD]
|
||||||
level *= Settings::HARD_MODE_LEVEL_MODIFIER.ceil
|
level = (level*Settings::HARD_MODE_LEVEL_MODIFIER).ceil
|
||||||
if level > Settings::MAXIMUM_LEVEL
|
if level > Settings::MAXIMUM_LEVEL
|
||||||
level = Settings::MAXIMUM_LEVEL
|
level = Settings::MAXIMUM_LEVEL
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class PokeBattle_Battle
|
|||||||
return if !@internalBattle || !@expGain
|
return if !@internalBattle || !@expGain
|
||||||
# Go through each battler in turn to find the Pokémon that participated in
|
# Go through each battler in turn to find the Pokémon that participated in
|
||||||
# battle against it, and award those Pokémon Exp/EVs
|
# battle against it, and award those Pokémon Exp/EVs
|
||||||
expAll = (GameData::Item.exists?(:EXPALL) && $PokemonBag.pbHasItem?(:EXPALL))
|
expAll = (GameData::Item.exists?(:EXPALL) && $PokemonBag.pbHasItem?(:EXPALL)) || $game_switches[GAME_DIFFICULTY_EASY]
|
||||||
p1 = pbParty(0)
|
p1 = pbParty(0)
|
||||||
@battlers.each do |b|
|
@battlers.each do |b|
|
||||||
next unless b && b.opposes? # Can only gain Exp from fainted foes
|
next unless b && b.opposes? # Can only gain Exp from fainted foes
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ DEFAULT_BATTLE_TYPE = 242
|
|||||||
BATTLE_FACTORY_TOKENS = 243
|
BATTLE_FACTORY_TOKENS = 243
|
||||||
NB_GYM_REMATCHES = 162
|
NB_GYM_REMATCHES = 162
|
||||||
CUSTOM_SPRITES_ENABLED= 196
|
CUSTOM_SPRITES_ENABLED= 196
|
||||||
|
COMMAND_WINDOW_INDEX=249
|
||||||
#Settings
|
#Settings
|
||||||
# This is for settings that are used in scripts since it's a chore to change them everywhere to include the module name
|
# This is for settings that are used in scripts since it's a chore to change them everywhere to include the module name
|
||||||
NUM_BADGES = Settings::NB_BADGES
|
NUM_BADGES = Settings::NB_BADGES
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user