View Full Version: Leon Blade's Menu

RMXP Ultimate > Menu System (CMS) > Leon Blade's Menu


Title: Leon Blade's Menu
Description: My awesome menu system


Leon Blade - February 27, 2007 01:37 AM (GMT)
Hello people out there in RMXP Land. Here is my awesomo menu system script It has everything you need to survive. The only things not inclued is the Materia Script and the Mail script. My item system is also not made by me but you dont need that.

-MagicEquip by Astro_mech
-Item menu by Astro_mech
-Mail by GoldenShadow

Here is the entire script all in one.

CODE

#========================================
# Game_Map
#--------------------------------------------------------------------------------
# Setting functions for the Map
#========================================
class Game_Map

def name
$map_infos[@map_id]
end
end

#========================================
# Window_Title
#--------------------------------------------------------------------------------
# Setting functions for the Title
#========================================
class Scene_Title
$map_infos = load_data("Data/MapInfos.rxdata")
for key in $map_infos.keys
$map_infos[key] = $map_infos[key].name
end
end
#==============================================================================
# Window_Mapname
#------------------------------------------------------------------------------
# @Draws the Map name
#==============================================================================

class Window_Mapname < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 320, 56)
self.contents = Bitmap.new(width - 52, height - 32)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = normal_color
bitmap = RPG::Cache.icon("map")
self.contents.blt(5, 0, bitmap, Rect.new(0, 0, 24, 24))
new_name = $game_map.name.tr("/*","")
self.contents.draw_text(40, -5, 320, 32, new_name.to_s)
end
end

#==============================================================================
# Window_Crystal
#------------------------------------------------------------------------------
# This Window displays what you need to do next like a task or job or objective!
#==============================================================================

class Window_Crystal < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 320, 121)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen Crystal and the pics
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color  
self.contents.draw_text(4, -9, 320, 32, "Crystals:") # Text Discription like
self.contents.font.color = normal_color

if $game_switches[26] == true
draw_icon_graphic("fire crystal", 15, 45)
self.contents.draw_text(4, 35, 320, 32, "Fire")
else
draw_icon_graphic("049-Skill06", 15, 45)
end

if $game_switches[27] == true
draw_icon_graphic("ice crystal", 43, 45)
self.contents.draw_text(35, 35, 320, 32, "Ice")
else
draw_icon_graphic("049-Skill06", 43, 45)
end

if $game_switches[28] == true
draw_icon_graphic("bolt crystal", 75, 45)
self.contents.draw_text(63, 35, 320, 32, "Bolt")
else
draw_icon_graphic("049-Skill06", 75, 45)
end

if $game_switches[29] == true
draw_icon_graphic("water crystal", 110, 45)
self.contents.draw_text(94, 35, 320, 32, "Water")
else
draw_icon_graphic("049-Skill06", 110, 45)
end

if $game_switches[30] == true
draw_icon_graphic("air crystal", 145, 45)
self.contents.draw_text(136, 35, 320, 32, "Air")
else
draw_icon_graphic("049-Skill06", 145, 45)
end

if $game_switches[31] == true
draw_icon_graphic("earth crystal", 177, 45)
self.contents.draw_text(162, 35, 320, 32, "Earth")
else
draw_icon_graphic("049-Skill06", 177, 45)
end

if $game_switches[32] == true
draw_icon_graphic("holy crystal", 212, 45)
self.contents.draw_text(200, 35, 320, 32, "Light")
else
draw_icon_graphic("049-Skill06", 212, 45)
end

if $game_switches[33] == true
draw_icon_graphic("black crystal", 247, 45)
self.contents.draw_text(236, 35, 320, 32, "Dark")
else
draw_icon_graphic("049-Skill06", 247, 45)
end

end
end
#==============================================================================
# Window_Window_GameTitle
#------------------------------------------------------------------------------
#==============================================================================
class Window_GameTitle < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 65)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen Crystal and the pics
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
self.contents.draw_text(4, -9, 320, 32, "Blade")
 self.contents.draw_text(45, 10, 320, 32, "Brothers")
end
end
#==============================================================================
# Window_Window_Extra
#------------------------------------------------------------------------------
#==============================================================================
class Window_Extras < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 65)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
draw_icon_graphic("coin", 15, 45)
self.contents.draw_text(15, 45, 320, 32, "Gil")
end
end
#==============================================================================
# Window_Window_GameCompletion
#------------------------------------------------------------------------------
# This Game Completion script was made by LeonBlade.  Dont use without giving some sort of
# small credit twords me.
#
# This script works with your game making progress.  When you get a certain part in your game you
# use a variable of you choice to controll the percentage.  1-100 is the number you get.
# Change $game_variables[10] to your variable 10 = current variable.  And as an extra bonus I
# included an extra percentage feature for your sidequests missions.  This is using variable 9 so
# adjust as what you need, this is also set to 1-100 scale.  For both you can adjust the readings from
# 10 % to begining or Chapter 4, or whatever
#
# -Leon Blade-
#
#==============================================================================
class Window_GameCompletion < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 104)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws percentage
#--------------------------------------------------------------------------
def refresh
self.contents.clear
end
end
#==============================================================================
class Window_GameCompletion2 < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 180, 104)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws percentage
#--------------------------------------------------------------------------
def refresh
self.contents.clear
game_percent = ("0%")
if $game_variables[10] == 1
game_percent = ("1%")
end
if $game_variables[10] == 2
game_percent = ("2%")
end
if $game_variables[10] == 3
game_percent = ("3%")
end
if $game_variables[10] == 4
game_percent = ("4%")
end
if $game_variables[10] == 5
game_percent = ("5%")
end
if $game_variables[10] == 6
game_percent = ("6%")
end
if $game_variables[10] == 7
game_percent = ("7%")
end
if $game_variables[10] == 8
game_percent = ("8%")
end
if $game_variables[10] == 9
game_percent = ("9%")
end
if $game_variables[10] == 10
game_percent = ("10%")
end
if $game_variables[10] == 11
game_percent = ("11%")
end
if $game_variables[10] == 12
game_percent = ("12%")
end
if $game_variables[10] == 13
game_percent = ("13%")
end
if $game_variables[10] == 15
game_percent = ("14%")
end
if $game_variables[10] == 15
game_percent = ("15%")
end
if $game_variables[10] == 16
game_percent = ("16%")
end
if $game_variables[10] == 17
game_percent = ("17%")
end
if $game_variables[10] == 18
game_percent = ("18%")
end
if $game_variables[10] == 19
game_percent = ("19%")
end
if $game_variables[10] == 20
game_percent = ("20%")
end
if $game_variables[10] == 21
game_percent = ("21%")
end
if $game_variables[10] == 22
game_percent = ("22%")
end
if $game_variables[10] == 23
game_percent = ("23%")
end
if $game_variables[10] == 24
game_percent = ("24%")
end
if $game_variables[10] == 25
game_percent = ("25%")
end
if $game_variables[10] == 26
game_percent = ("26%")
end
if $game_variables[10] == 27
game_percent = ("27%")
end
if $game_variables[10] == 28
game_percent = ("28%")
end
if $game_variables[10] == 29
game_percent = ("29%")
end
if $game_variables[10] == 30
game_percent = ("30%")
end
if $game_variables[10] == 31
game_percent = ("31%")
end
if $game_variables[10] == 32
game_percent = ("32%")
end
if $game_variables[10] == 33
game_percent = ("33%")
end
if $game_variables[10] == 34
game_percent = ("34%")
end
if $game_variables[10] == 35
game_percent = ("35%")
end
if $game_variables[10] == 36
game_percent = ("36%")
end
if $game_variables[10] == 37
game_percent = ("37%")
end
if $game_variables[10] == 38
game_percent = ("38%")
end
if $game_variables[10] == 39
game_percent = ("39%")
end
if $game_variables[10] == 40
game_percent = ("40%")
end
if $game_variables[10] == 41
game_percent = ("41%")
end
if $game_variables[10] == 42
game_percent = ("42%")
end
if $game_variables[10] == 43
game_percent = ("43%")
end
if $game_variables[10] == 44
game_percent = ("44%")
end
if $game_variables[10] == 45
game_percent = ("45%")
end
if $game_variables[10] == 46
game_percent = ("46%")
end
if $game_variables[10] == 47
game_percent = ("47%")
end
if $game_variables[10] == 48
game_percent = ("48%")
end
if $game_variables[10] == 49
game_percent = ("49%")
end
if $game_variables[10] == 50
game_percent = ("50%")
end
if $game_variables[10] == 51
game_percent = ("51%")
end
if $game_variables[10] == 52
game_percent = ("52%")
end
if $game_variables[10] == 53
game_percent = ("53%")
end
if $game_variables[10] == 54
game_percent = ("54%")
end
if $game_variables[10] == 55
game_percent = ("55%")
end
if $game_variables[10] == 56
game_percent = ("56%")
end
if $game_variables[10] == 57
game_percent = ("57%")
end
if $game_variables[10] == 58
game_percent = ("58%")
end
if $game_variables[10] == 59
game_percent = ("59%")
end
if $game_variables[10] == 60
game_percent = ("60%")
end
if $game_variables[10] == 61
game_percent = ("61%")
end
if $game_variables[10] == 62
game_percent = ("62%")
end
if $game_variables[10] == 63
game_percent = ("63%")
end
if $game_variables[10] == 64
game_percent = ("64%")
end
if $game_variables[10] == 65
game_percent = ("65%")
end
if $game_variables[10] == 66
game_percent = ("66%")
end
if $game_variables[10] == 67
game_percent = ("67%")
end
if $game_variables[10] == 68
game_percent = ("68%")
end
if $game_variables[10] == 69
game_percent = ("69%")
end
if $game_variables[10] == 70
game_percent = ("70%")
end
if $game_variables[10] == 71
game_percent = ("71%")
end
if $game_variables[10] == 72
game_percent = ("72%")
end
if $game_variables[10] == 73
game_percent = ("73%")
end
if $game_variables[10] == 75
game_percent = ("74%")
end
if $game_variables[10] == 75
game_percent = ("75%")
end
if $game_variables[10] == 76
game_percent = ("76%")
end
if $game_variables[10] == 77
game_percent = ("17%")
end
if $game_variables[10] == 78
game_percent = ("78%")
end
if $game_variables[10] == 79
game_percent = ("79%")
end
if $game_variables[10] == 80
game_percent = ("80%")
end
if $game_variables[10] == 81
game_percent = ("81%")
end
if $game_variables[10] == 82
game_percent = ("22%")
end
if $game_variables[10] == 83
game_percent = ("83%")
end
if $game_variables[10] == 84
game_percent = ("84%")
end
if $game_variables[10] == 85
game_percent = ("85%")
end
if $game_variables[10] == 86
game_percent = ("86%")
end
if $game_variables[10] == 87
game_percent = ("87%")
end
if $game_variables[10] == 88
game_percent = ("88%")
end
if $game_variables[10] == 89
game_percent = ("89%")
end
if $game_variables[10] == 90
game_percent = ("90%")
end
if $game_variables[10] == 91
game_percent = ("91%")
end
if $game_variables[10] == 92
game_percent = ("92%")
end
if $game_variables[10] == 93
game_percent = ("93%")
end
if $game_variables[10] == 94
game_percent = ("94%")
end
if $game_variables[10] == 95
game_percent = ("95%")
end
if $game_variables[10] == 96
game_percent = ("96%")
end
if $game_variables[10] == 97
game_percent = ("97%")
end
if $game_variables[10] == 98
game_percent = ("98%")
end
if $game_variables[10] == 99
game_percent = ("99%")
end
if $game_variables[10] == 100
game_percent = ("100%")
end
extras_percent = ("0%")
if $game_variables[9] == 1
extras_percent = ("1%")
end
if $game_variables[9] == 2
extras_percent = ("2%")
end
if $game_variables[9] == 3
extras_percent = ("3%")
end
if $game_variables[9] == 4
extras_percent = ("4%")
end
if $game_variables[9] == 5
extras_percent = ("5%")
end
if $game_variables[9] == 6
extras_percent = ("6%")
end
if $game_variables[9] == 7
extras_percent = ("7%")
end
if $game_variables[9] == 8
extras_percent = ("8%")
end
if $game_variables[9] == 9
extras_percent = ("9%")
end
if $game_variables[9] == 10
extras_percent = ("10%")
end
if $game_variables[9] == 11
extras_percent = ("11%")
end
if $game_variables[9] == 12
extras_percent = ("12%")
end
if $game_variables[9] == 13
extras_percent = ("13%")
end
if $game_variables[9] == 15
extras_percent = ("14%")
end
if $game_variables[9] == 15
extras_percent = ("15%")
end
if $game_variables[9] == 16
extras_percent = ("16%")
end
if $game_variables[9] == 17
extras_percent = ("17%")
end
if $game_variables[9] == 18
extras_percent = ("18%")
end
if $game_variables[9] == 19
extras_percent = ("19%")
end
if $game_variables[9] == 20
extras_percent = ("20%")
end
if $game_variables[9] == 21
extras_percent = ("21%")
end
if $game_variables[9] == 22
extras_percent = ("22%")
end
if $game_variables[9] == 23
extras_percent = ("23%")
end
if $game_variables[9] == 24
extras_percent = ("24%")
end
if $game_variables[9] == 25
extras_percent = ("25%")
end
if $game_variables[9] == 26
extras_percent = ("26%")
end
if $game_variables[9] == 27
extras_percent = ("27%")
end
if $game_variables[9] == 28
extras_percent = ("28%")
end
if $game_variables[9] == 29
extras_percent = ("29%")
end
if $game_variables[9] == 30
extras_percent = ("30%")
end
if $game_variables[9] == 31
extras_percent = ("31%")
end
if $game_variables[9] == 32
extras_percent = ("32%")
end
if $game_variables[9] == 33
extras_percent = ("33%")
end
if $game_variables[9] == 34
extras_percent = ("34%")
end
if $game_variables[9] == 35
extras_percent = ("35%")
end
if $game_variables[9] == 36
extras_percent = ("36%")
end
if $game_variables[9] == 37
extras_percent = ("37%")
end
if $game_variables[9] == 38
extras_percent = ("38%")
end
if $game_variables[9] == 39
extras_percent = ("39%")
end
if $game_variables[9] == 40
extras_percent = ("40%")
end
if $game_variables[9] == 41
extras_percent = ("41%")
end
if $game_variables[9] == 42
extras_percent = ("42%")
end
if $game_variables[9] == 43
extras_percent = ("43%")
end
if $game_variables[9] == 44
extras_percent = ("44%")
end
if $game_variables[9] == 45
extras_percent = ("45%")
end
if $game_variables[9] == 46
extras_percent = ("46%")
end
if $game_variables[9] == 47
extras_percent = ("47%")
end
if $game_variables[9] == 48
extras_percent = ("48%")
end
if $game_variables[9] == 49
extras_percent = ("49%")
end
if $game_variables[9] == 50
extras_percent = ("50%")
end
if $game_variables[9] == 51
extras_percent = ("51%")
end
if $game_variables[9] == 52
extras_percent = ("52%")
end
if $game_variables[9] == 53
extras_percent = ("53%")
end
if $game_variables[9] == 54
extras_percent = ("54%")
end
if $game_variables[9] == 55
extras_percent = ("55%")
end
if $game_variables[9] == 56
extras_percent = ("56%")
end
if $game_variables[9] == 57
extras_percent = ("57%")
end
if $game_variables[9] == 58
extras_percent = ("58%")
end
if $game_variables[9] == 59
extras_percent = ("59%")
end
if $game_variables[9] == 60
extras_percent = ("60%")
end
if $game_variables[9] == 61
extras_percent = ("61%")
end
if $game_variables[9] == 62
extras_percent = ("62%")
end
if $game_variables[9] == 63
extras_percent = ("63%")
end
if $game_variables[9] == 64
extras_percent = ("64%")
end
if $game_variables[9] == 65
extras_percent = ("65%")
end
if $game_variables[9] == 66
extras_percent = ("66%")
end
if $game_variables[9] == 67
extras_percent = ("67%")
end
if $game_variables[9] == 68
extras_percent = ("68%")
end
if $game_variables[9] == 69
extras_percent = ("69%")
end
if $game_variables[9] == 70
extras_percent = ("70%")
end
if $game_variables[9] == 71
extras_percent = ("71%")
end
if $game_variables[9] == 72
extras_percent = ("72%")
end
if $game_variables[9] == 73
extras_percent = ("73%")
end
if $game_variables[9] == 75
extras_percent = ("74%")
end
if $game_variables[9] == 75
extras_percent = ("75%")
end
if $game_variables[9] == 76
extras_percent = ("76%")
end
if $game_variables[9] == 77
extras_percent = ("17%")
end
if $game_variables[9] == 78
extras_percent = ("78%")
end
if $game_variables[9] == 79
extras_percent = ("79%")
end
if $game_variables[9] == 80
extras_percent = ("80%")
end
if $game_variables[9] == 81
extras_percent = ("81%")
end
if $game_variables[9] == 82
extras_percent = ("22%")
end
if $game_variables[9] == 83
extras_percent = ("83%")
end
if $game_variables[9] == 84
extras_percent = ("84%")
end
if $game_variables[9] == 85
extras_percent = ("85%")
end
if $game_variables[9] == 86
extras_percent = ("86%")
end
if $game_variables[9] == 87
extras_percent = ("87%")
end
if $game_variables[9] == 88
extras_percent = ("88%")
end
if $game_variables[9] == 89
extras_percent = ("89%")
end
if $game_variables[9] == 90
extras_percent = ("90%")
end
if $game_variables[9] == 91
extras_percent = ("91%")
end
if $game_variables[9] == 92
extras_percent = ("92%")
end
if $game_variables[9] == 93
extras_percent = ("93%")
end
if $game_variables[9] == 94
extras_percent = ("94%")
end
if $game_variables[9] == 95
extras_percent = ("95%")
end
if $game_variables[9] == 96
extras_percent = ("96%")
end
if $game_variables[9] == 97
extras_percent = ("97%")
end
if $game_variables[9] == 98
extras_percent = ("98%")
end
if $game_variables[9] == 99
extras_percent = ("99%")
end
if $game_variables[9] == 90
extras_percent = ("100%")
end
self.contents.font.color = system_color
self.contents.draw_text(15, -9, 320, 32, "Game Completion") # Text
if $game_switches[9] == true
self.contents.draw_text(15, 28, 320, 32, "Extras Completion") # Other Text
end
self.contents.font.color = normal_color
draw_gradient_bar(5, 20, $game_variables[10], 100, "025-SoftBlue01", width = 120, height = 8, hue = 0, back = "Back", back2 = "Back2")
if $game_switches[9] == true
draw_gradient_bar(5, 57, $game_variables[9], 100, "027-SoftReds01", width = 120, height = 8, hue = 0, back = "Back", back2 = "Back2")
self.contents.draw_text(60, 45, 320, 32, extras_percent) # Text Of The Game Percentage
end
self.contents.draw_text(60, 8, 320, 32, game_percent) # Text Of The Game Percentage
end
end
#==============================================================================
# Scene_Menu
#------------------------------------------------------------------------------
# @j[ʂ̏sNXłB
#==============================================================================
class Scene_Menu
 #--------------------------------------------------------------------------
 # IuWFNg
 #     menu_index : R}h̃J[\ʒu
 #--------------------------------------------------------------------------
 def initialize(menu_index = 0)
   @menu_index = menu_index    
 end
 #--------------------------------------------------------------------------
 # C
 #--------------------------------------------------------------------------
 def main
   s1 = "       Items" # 0
   s2 = "       Skills" # 1
 if $game_switches[8] == true
   s3 = "       Materia" # 2
 else
   s3 = " "
 end
   s4 = "       Equip" # 3
   s5 = "       Stats" # 4
 if $game_switches[12] == true
   s6 = "       E-Mail" # 6
 else
   s6 = " "
 end
   s7 = "       Quit Game" # 7
   @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])
   @command_window.x = 480
   @command_window.y = 0
   @command_window.index = @menu_index
   # p[eBl 0 l̏ꍇ
   if $game_party.actors.size == 0
     # Checking To See If Anyone Is In Party and if not
     @command_window.disable_item(0)
     @command_window.disable_item(1)
     @command_window.disable_item(2)
     @command_window.disable_item(3)
   end
   #----------------------------------------------------
   @icon_window = Window_MenuIcons.new
   @icon_window.x = 480
   @icon_window.y = 0
   @icon_window.opacity = 0
   #----------------------------------------------------
   @status_window = Window_MenuStatus.new
   @status_window.x = 0
   @status_window.y = 0
   #----------------------------------------------------
   @map_window = Window_Mapname.new
   @map_window.x = 320
   @map_window.y = 424
   #----------------------------------------------------
   @crystal_window = Window_Crystal.new
   @crystal_window.x = 0
   @crystal_window.y = 359
   #----------------------------------------------------
   @sheild_window = Window_GameTitle.new
   @sheild_window.x = 320
   @sheild_window.y = 359
   #----------------------------------------------------
   @gold_window = Window_Gold.new
   @gold_window.x = 480
   @gold_window.y = 359
   #----------------------------------------------------
   @percent_window = Window_GameCompletion.new
   @percent_window.x = 480
   @percent_window.y = 255
   #----------------------------------------------------
   @percent2_window = Window_GameCompletion2.new
   @percent2_window.x = 480
   @percent2_window.y = 255
   @percent2_window.opacity = 0
   #----------------------------------------------------
   Graphics.transition
   # C[v
   loop do
     # Q[ʂXV
     Graphics.update
     # ͏XV
     Input.update
     # t[XV
     update
     # ʂ؂ւ烋[v𒆒f
     if $scene != self
       break
     end
   end
   # gWV
   Graphics.freeze
   # EBhE
   @command_window.dispose
   @status_window.dispose
   @map_window.dispose
   @crystal_window.dispose
   @sheild_window.dispose
   @gold_window.dispose
   @icon_window.dispose
   @percent_window.dispose
   @percent2_window.dispose
 end
 #--------------------------------------------------------------------------
 # t[XV
 #--------------------------------------------------------------------------
 def update
   # EBhEXV
   @command_window.update
   @status_window.update
   @map_window.update
   @crystal_window.update
   @sheild_window.update
   @gold_window.update
   @icon_window.update
   @percent_window.update
   @percent2_window.update
   # R}hEBhEANeBȕꍇ: update_command Ă
   if @command_window.active
     update_command
     return
   end
   # Xe[^XEBhEANeBȕꍇ: update_status Ă
   if @status_window.active
     update_status
     return
   end
 end
 #--------------------------------------------------------------------------
 # t[XV (R}hEBhEANeBȕꍇ)
 #--------------------------------------------------------------------------
 def update_command
   # B {^ꂽꍇ
   if Input.trigger?(Input::B)
     # LZ SE t
     $game_system.se_play($data_system.cancel_se)
     # }bvʂɐ؂ւ
     $scene = Scene_Map.new
     return
   end
   if Input.trigger?(Input::C)
     if $game_party.actors.size == 0 and @command_window.index < 4
       # uU[ SE t
       $game_system.se_play($data_system.buzzer_se)
       return
     end
     #---------------------------------------------------------
     case @command_window.index
     when 0  # Item
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_Item.new
     when 1  # Skills
       $game_system.se_play($data_system.decision_se)
       @command_window.active = false
       @status_window.active = true
       @status_window.index = 0
     when 2  # Materia
       if $game_switches[8] == true
       $game_system.se_play($data_system.decision_se)
       @command_window.active = false
       @status_window.active = true
       @status_window.index = 0      
     else
     end      
     when 3  # Equip
       $game_system.se_play($data_system.decision_se)
       @command_window.active = false
       @status_window.active = true
       @status_window.index = 0
     when 4  #Status
       $game_system.se_play($data_system.decision_se)
       @command_window.active = false
       @status_window.active = true
       @status_window.index = 0
     when 5 # Mail
       if $game_switches[12] == true
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_Mail.new
     else
     end      
     when 6 # Quit
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_End.new
     return
   end
 end
 #--------------------------------------------------------------------------
 # t[XV (Xe[^XEBhEANeBȕꍇ)
 #--------------------------------------------------------------------------
 def update_status
   # B {^ꂽꍇ
   if Input.trigger?(Input::B)
     # LZ SE t
     $game_system.se_play($data_system.cancel_se)
     # R}hEBhEANeBuɂ
     @command_window.active = true
     @status_window.active = false
     @status_window.index = -1
     return
   end
   # C {^ꂽꍇ
   if Input.trigger?(Input::C)
     # R}hEBhẼJ[\ʒuŕ
     case @command_window.index
     when 1 # Skill
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_Skill.new(@status_window.index)
     when 2 # Materia
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_MagicEquip.new(@status_window.index)
     when 3  # Equip
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_Equip.new(@status_window.index)
     when 4  # Status
       $game_system.se_play($data_system.decision_se)
       $scene = Scene_Status.new(@status_window.index)
     end
     return
   end
 end
end
end


And there you go. It's all in one simple script. Oh give me credit for this because 98% of this script I coded myself so don't be greedy. Well have fun with it. Oh and here is a screen shot.

user posted image

The percentage window isnt updated because it has a gradient in it now but other than that thats what it looks like. Check out the gradients script for an extra script you need.

Dimenticato - February 27, 2007 03:18 AM (GMT)
I think I've seen this before on another, looks great. But the script above does not work. I get the following error:
QUOTE
Script 'Leon Blade's Menu' Line 900: NameError occured.
Uninitialized constant Scene_Menu::Window_MenuIcons





* Hosted for free by InvisionFree