Mã:
# ¦ Window_Victory
#------------------------------------------------------------------------------
# ??????????????????????
#==============================================================================
class Window_Victory < Window_Base
#--------------------------------------------------------------------------
# ? ?????????
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 96)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = $defaultfonttype # "Number of Victorys" window font
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def refresh
self.contents.font.color = system_color
self.contents.draw_text(4, 0, 120, 32, "Victorys")
self.contents.font.color = normal_color
self.contents.draw_text(4, 32, 120, 32, $game_variables[2].to_s, 2)
end
end
Then go to Scene_Menu and find line 45-48
CODE
REPLACE
# ??????????
@steps_window = Window_Steps.new
@steps_window.x = 0
@steps_window.y = 320
WITH
# Make victory window
@victory_window = Window_Victory.new
@victory_window.x = 0
@victory_window.y = 320
Still in Scene_Menu find line 77
CODE
REPLACE
@steps_window.dispose
WITH
@victory_window.dispose
Then find line 88
CODE
REPLACE
@steps_window.update
WITH
@victory_window.update
CHÚC THÀNH CÔNG
