#==============================================================================
# ** Individual Commands
#==============================================================================
# Vash (rmxp.org)
# 2006-08-24 (Date Reposted)
#------------------------------------------------------------------------------
# * Instructions:
# Change the "Attack1" and "Skills1" (same for the others) to
# whatever you want (corresponding to the class' id), if you have more than 4
# classes, you can add {'CLASS_ID'=>5,'Attack'=>'Attack5'} and as much as you
# need...
#==============================================================================
#==============================================================================
# ** Scene_Battle
#==============================================================================
class Scene_Battle
Skills_command_names = [
{'CLASS_ID'=>1,'Skills'=>'Skills1'}, # Change "Skills1" to what you want.
{'CLASS_ID'=>2,'Skills'=>'Skills2'},
{'CLASS_ID'=>3,'Skills'=>'Skills3'},
{'CLASS_ID'=>4,'Skills'=>'Skills4'},
{'CLASS_ID'=>5,'Skills'=>'Skills5'},
{'CLASS_ID'=>6,'Skills'=>'Skills6'},
{'CLASS_ID'=>7,'Skills'=>'Skills7'},
{'CLASS_ID'=>8,'Skills'=>'Skills8'},
{'CLASS_ID'=>9,'Skills'=>'Skills9'},
{'CLASS_ID'=>10,'Skills'=>'Skills10'}
]
end
#==============================================================================
# ** Window_Command
#==============================================================================
class Window_Command
def set_command_name(index,name)
@commands[index] = name
refresh
end
end
#==============================================================================
# ** Scene_Battle (Skills)
#==============================================================================
class Scene_Battle
alias diverse_skills_commands_phase3_setup_command_window phase3_setup_command_window
def phase3_setup_command_window
diverse_skills_commands_phase3_setup_command_window
return if @active_battler.nil?
Skills_command_names.each do |names|
if names['CLASS_ID'] == @active_battler.class_id
# The number represents each command 0:attack, 1:skills, 3:defend, and 4:items
@actor_command_window.set_command_name(1,names['Skills'])
break
end
end
end
end