Can anyone help me figure out if it is possible to add a 0 minute counter for this script by Ventwing? I've got it working well now, aside from the fact that it is showing up as 9:9 pm instead of 9:09 pm. Also the edge of the Day timer keeps getting cut off when the digits are at their longest, anyone know what value I have to modify so I can fit a couple extra digits in there as well?
Thanks in advance for your help.
Thanks in advance for your help.
Code:
#Wherever you see $game_switches[1]#Change 1 to the switch to turn the hud on/offclass Window_MapTime < Window_Base def initialize super(350,350,180,75) @ampm = "AM" @Days = "Day" if $game_switches[1] == false self.opacity = 0 time_draw end end def time_draw if $game_variables[100] == 1 @ampm = "PM" else @ampm = "AM" end @Days = $game_variables[98] #Days @hours = $game_variables[97] # Hours @mins = $game_variables[96] # Mins text = @hours.to_s + ":" + @mins.to_s + " " + @ampm + " " + "Day: " + @Days.to_s draw_text(0,0,200,50,text) end def update if $game_switches[1] == false contents.clear time_draw end if $game_switches[1] == true self.opacity = 255 end endendclass Scene_Map < Scene_Base alias time_draw_on_map_time create_all_windows def create_all_windows time_draw_on_map_time @maptime_window = Window_MapTime.new endend