mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed Shadow Pokémon saying how much Exp they gain from battle, fixed mispositioned text in some battle debug menus
This commit is contained in:
@@ -36,7 +36,7 @@ class Battle
|
||||
next if !pkmn.able?
|
||||
next unless b.participants.include?(i) || expShare.include?(i)
|
||||
pbGainEVsOne(i, b)
|
||||
pbGainExpOne(i, b, numPartic, expShare, expAll)
|
||||
pbGainExpOne(i, b, numPartic, expShare, expAll, !pkmn.shadowPokemon?)
|
||||
end
|
||||
# Gain EVs and Exp for all other Pokémon because of Exp All
|
||||
if expAll
|
||||
|
||||
@@ -242,8 +242,8 @@ class SpriteWindow_DebugBattleFieldEffects < Window_DrawableCommand
|
||||
total_width = rect.width
|
||||
name_width = total_width * 80 / 100
|
||||
value_width = total_width * 20 / 100
|
||||
self.shadowtext(rect.x, rect.y, name_width, rect.height, variable_data[:name], 0, color)
|
||||
self.shadowtext(rect.x + name_width, rect.y, value_width, rect.height, variable_text, 1, color)
|
||||
self.shadowtext(rect.x, rect.y + 8, name_width, rect.height, variable_data[:name], 0, color)
|
||||
self.shadowtext(rect.x + name_width, rect.y + 8, value_width, rect.height, variable_text, 1, color)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user