Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Theo
- module MHelp
- List = {
- # "Command name" => "Help text"
- "Items" => "Show your inventory",
- "Skills" => "Show actor skill",
- "Equipment" => "Change actor equipment",
- "Status" => "Show actor status",
- "Formation" => "Arrange Party",
- "Save" => "Save Game",
- "Game End" => "End the game"
- }
- end
- end
- class Window_MenuCommand < Window_Command
- def update_help
- @help_window.set_text(Theo::MHelp::List[command_name(index)])
- end
- end
- class Scene_Menu < Scene_MenuBase
- alias theo_mhelp_start start
- def start
- theo_mhelp_start
- @menu_help = Window_Help.new(1)
- @command_window.help_window = @menu_help
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment