mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Added Setting SHOW_MODIFIED_MOVE_PROPERTIES, other minor tweaks and fixes
This commit is contained in:
@@ -588,7 +588,7 @@ module UI
|
||||
def choose_number_as_money_multiplier(help_text, money_per_unit, maximum, init_value = 1)
|
||||
@sprites[:speech_box].visible = true
|
||||
@sprites[:speech_box].text = help_text
|
||||
position_speech_box(text)
|
||||
position_speech_box(help_text)
|
||||
# Show the help text
|
||||
loop do
|
||||
Graphics.update
|
||||
|
||||
@@ -780,7 +780,7 @@ class UI::PokemonSummaryVisuals < UI::BaseVisuals
|
||||
selected_move = ((@move_index || 0) == Pokemon::MAX_MOVES) ? @new_move : @pokemon.moves[@move_index || 0]
|
||||
# Power
|
||||
draw_text(_INTL("POWER"), 20, 128)
|
||||
power_text = selected_move.display_damage(@pokemon)
|
||||
power_text = selected_move.display_power(@pokemon)
|
||||
power_text = "---" if power_text == 0 # Status move
|
||||
power_text = "???" if power_text == 1 # Variable power move
|
||||
draw_text(power_text, 222, 128, align: :right, theme: :black)
|
||||
|
||||
@@ -465,6 +465,7 @@ class UI::BagSellVisuals < UI::BagVisuals
|
||||
end
|
||||
|
||||
def refresh_on_index_changed(old_index)
|
||||
super
|
||||
refresh_unit_price_window
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user