|
Post by dragoon47 on Aug 3, 2005 21:39:23 GMT -5
make sure you give credit to Icedmetal57 for makin this script
to show the number of steps till your next encounter in the menu just replace the script Window_Steps with this
CODE #============================================================================== # ■ Window_EncounterSteps #------------------------------------------------------------------------------ # メニュー画面で歩数を表示するウィンドウです。 #==============================================================================
class Window_EncounterSteps < Window_Base #-------------------------------------------------------------------------- # ● オブジェクト初期化 #-------------------------------------------------------------------------- def initialize super(0, 0, 160, 96) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = $defaultfonttype # "Next Encounter" window font self.contents.font.size = $defaultfontsize refresh end #-------------------------------------------------------------------------- # ● リフレッシュ #-------------------------------------------------------------------------- def refresh self.contents.clear self.contents.font.color = system_color self.contents.draw_text(4, 0, 120, 32, "Next Encounter") self.contents.font.color = normal_color self.contents.draw_text(4, 32, 120, 32, $game_player.encounter_count.to_s, 2) end end
and then go to Scene_Menu and search for this line
CODE @steps_window = Window_Steps.new
and replace it with this
CODE @steps_window = Window_EncounterSteps.new
|
|