Victory kỉu mí

  • Thread starter Thread starter y.r.p
  • Ngày gửi Ngày gửi

y.r.p

Youtube Master Race
Tham gia ngày
15/8/04
Bài viết
85
Reaction score
0
This is a really easy edit that will be good for beginner scripters like me.


Above main create Window_Victory and place this code inside it


CODE


#==============================================================================
# ¦ 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ịu khó dịch nhe ;;)
CHÚC THÀNH CÔNG :D
 
Back
Top