#==============================================================================
# ★ Icon displayed in Map Name Ver1.0
#==============================================================================
=begin
Basically select the icon from your icon sheet and put the number down below
=end
#==============================================================================
# ★ Editable region
#==============================================================================
module R2MAPICON
# Icon number
Icon = 100
end
#==============================================================================
# ★ Script Code
#==============================================================================
class Window_MapName < Window_Base
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
contents.clear
unless $game_map.display_name.empty?
draw_background(contents.rect)
draw_icon($game_variables[R2MAPICON::Icon], 0, 0)
draw_text(contents.rect, $game_map.display_name, 1)
end
end
end