[VX/RGSS2] How to modify the placement of the name label in MOG map name script?

I'm using MOG's VX script for map name labels, and I think that it's indented inwards a bit too much. Is there a way that I can move it closer to the edge of the screen? I've fiddles with the various numbers for the X in the script, but I was just running blind so I don't know which number for X do I need to change to make it do what I want.

1647481181659.png


This is what the script looks like:

Ruby:
#_______________________________________________________________________________
# MOG_Location_Name_VX V1.1           
#_______________________________________________________________________________
# By Moghunter       
# http://www.atelier-rgss.com
#_______________________________________________________________________________
# Apresenta uma janela com o nome do mapa.
# É necessário ter uma imagem com o nome de  MAPNAME
# dentro da pasta Graphics/System.
#_______________________________________________________________________________
module MOG
  #Font Name.
  MPFONT = "Georgia"
  #Fade ON/OFF(True - False).
  MPNMFD = false
  #Fade Time.
  MPNMTM = 5
  #Window Position.
  # 0 = Upper Left.
  # 1 = Lower Left.
  # 2 = Upper Right.
  # 3 = Lower Right.
  MPNMPS = 0
  # Disable Switch(ID).
  WM_SWITCH_VIS_DISABLE = 15
end

#==============================================================================
# Game_Temp
#==============================================================================
class Game_Temp
  attr_accessor :fdtm
  attr_accessor :fdtmax
  attr_accessor :mpnm_x
  attr_accessor :mpnm_y
  #--------------------------------------------------------------------------
  # * initialize
  #-------------------------------------------------------------------------- 
  alias mog_vx06_initialize initialize
  def initialize
    mog_vx06_initialize
    @fdtm = 255 + 40 * MOG::MPNMTM
    @fdtmax = @fdtm
    if MOG::MPNMPS == 0
        @mpnm_x = -320
        @mpnm_y = 0
    elsif MOG::MPNMPS == 1
        @mpnm_x = -320
        @mpnm_y = 320
    elsif MOG::MPNMPS == 2
        @mpnm_x = 640
        @mpnm_y = 0
    else
        @mpnm_x = 640
        @mpnm_y = 320
    end 
  end
  #--------------------------------------------------------------------------
  # * fdtm
  #-------------------------------------------------------------------------- 
  def fdtm
      return [[@fdtm, 0].max, @fdtmax].min
  end
end

#==============================================================================
# Game_Map
#==============================================================================
class Game_Map
  attr_reader :name
  #--------------------------------------------------------------------------
  # *setup
  #--------------------------------------------------------------------------
  alias mog_mapname_setup setup
  def setup(map_id)
    mog_mapname_setup(map_id)
    data = load_data("Data/MapInfos.rvdata")   
    @name = data[@map_id].name
  end 
end

#==============================================================================
# Window_Base
#==============================================================================
class Window_Base < Window
  #--------------------------------------------------------------------------
  # * draw_mpname
  #--------------------------------------------------------------------------   
  def draw_mpname(x,y)
      mapic = Cache.system("Mpname")
      cw = mapic.width 
      ch = mapic.height
      src_rect = Rect.new(0, 0, cw, ch)
      self.contents.blt(x , y - ch + 65, mapic, src_rect)
      self.contents.font.name = MOG::MPFONT
      self.contents.font.size = 20
      self.contents.font.bold = true
      self.contents.font.shadow = true
      self.contents.font.color = Color.new(0,0,0,255)
      self.contents.draw_text(x + 40, y + 27, 130, 32, $game_map.name.to_s,1)
      self.contents.font.color = Color.new(255,255,255,255)
      self.contents.draw_text(x + 40, y + 26, 130, 32, $game_map.name.to_s,1)
  end
end

#==============================================================================
# Window_Base
#==============================================================================
class Mpname < Window_Base
  #--------------------------------------------------------------------------
  # * initialize
  #--------------------------------------------------------------------------     
  def initialize(x , y)
      super($game_temp.mpnm_x, $game_temp.mpnm_y, 270, WLH + 70)
      self.opacity = 0
      refresh
  end
  #--------------------------------------------------------------------------
  # * refresh
  #--------------------------------------------------------------------------     
  def refresh
      self.contents.clear
      draw_mpname(10,0)   
  end
end

#==============================================================================
# Scene_Map
#==============================================================================
class Scene_Map
  #--------------------------------------------------------------------------
  # * start
  #--------------------------------------------------------------------------       
  alias mog_vx06_start start
  def start
    @mpnm = Mpname.new($game_temp.mpnm_x, $game_temp.mpnm_y)
    @mpnm.contents_opacity = $game_temp.fdtm
    if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == false
       @mpnm.visible = true
    else
       @mpnm.visible = false 
    end 
    mog_vx06_start 
  end 
 
  #--------------------------------------------------------------------------
  # * terminate
  #--------------------------------------------------------------------------       
  alias mog_vx06_terminate terminate
  def terminate
      mog_vx06_terminate
      @mpnm.dispose
  end

  #--------------------------------------------------------------------------
  # * update
  #--------------------------------------------------------------------------         
  alias mog_vx06_update update
  def update
      mog_vx06_update 
      refresh_name
  end
    
  #--------------------------------------------------------------------------
  # * refresh_name
  #--------------------------------------------------------------------------         
  def refresh_name
      $game_temp.mpnm_x = @mpnm.x
      $game_temp.mpnm_y = @mpnm.y
      if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == true or $game_temp.fdtm <= 0
         @mpnm.visible = false 
      else
         @mpnm.visible = true
      end
      if MOG::MPNMPS == 0 or MOG::MPNMPS == 1
         if @mpnm.x < 0
            @mpnm.x += 5
         elsif @mpnm.x >= 0
            @mpnm.x = 0
         end   
      else
         if @mpnm.x > 300
            @mpnm.x -= 5
         elsif @mpnm.x <= 300
            @mpnm.x = 300
         end     
      end
      @mpnm.contents_opacity = $game_temp.fdtm
      if MOG::MPNMFD == true
           $game_temp.fdtm -= 3
      end
  end

  #--------------------------------------------------------------------------
  # * update_transfer_player
  #--------------------------------------------------------------------------       
  alias mog_vx06_update_transfer_player update_transfer_player
  def update_transfer_player
    return unless $game_player.transfer?
    @mpnm.contents_opacity = 0
    mog_vx06_update_transfer_player
    if MOG::MPNMPS == 0
       $game_temp.mpnm_x = -340
       $game_temp.mpnm_y = 0
    elsif MOG::MPNMPS == 1
       $game_temp.mpnm_x = -340
       $game_temp.mpnm_y = 320
    elsif MOG::MPNMPS == 2
       $game_temp.mpnm_x = 640
       $game_temp.mpnm_y = 0
    else
      $game_temp.mpnm_x = 640
      $game_temp.mpnm_y = 320
    end 
    @mpnm.y = $game_temp.mpnm_y
    @mpnm.x = $game_temp.mpnm_x
    $game_temp.fdtm = $game_temp.fdtmax
    @mpnm.refresh
  end
end

$mog_rgssvx_location_name = true
Just look for anything that says as follows:

Ruby:
MOG::MPNMPS == something

There you will find a value getting assigned to some x coordinate variable with a similar name.
Just look for anything that says as follows:

Ruby:
MOG::MPNMPS == something

There you will find a value getting assigned to some x coordinate variable with a similar name.

I have already tried editing the X value of all the segments that contains the word "MPNMPS" that I can recognize, but nothing changed. Specifically, I changed the ones under "refresh_name" and "mog_vx06_initialize initialize".

I wonder if the value is coded under a different name, or is tied to another value that I didn't recognize. I have some coding knowledge, but not enough to fully understand what part does what.
The script seems to be very un-adjustable.
The numbers for MPMNPS is just the starting position.
Then it moves to the position set in the script.
But why is it so far to the right when the number is 0. Thats the odd part.
Regardless this is what you need to change.
1647699278304.png

I used -25 and it was pretty close to the left side
@Roninator2 YES!! Thank you!! It finally worked!!!

Original thread: https://forums.rpgmakerweb.com/threads/vx-rgss2-how-to-modify-the-placement-of-the-name-label-in-mog-map-name-script.145846/