Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_ActorCommand < Window_Command
- LIST = [
- :skills,
- :guard,
- :item,
- ]
- def make_command_list
- return unless @actor
- LIST.each do |item|
- case item
- when :attack
- add_attack_command
- when :skills
- add_skill_commands
- when :guard
- add_guard_command
- when :item
- add_item_command
- else
- next
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement