Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- # A small snippet to change the sound effects on the title screen depending on
- # what command has been selected.
- # Made by: Sixth
- #===============================================================================
- module TitleSE
- Setup = { # RPG::SE.new("file_name", volume, pitch),
- :new_game => RPG::SE.new("Absorb2", 80, 100),
- :continue => RPG::SE.new("Bell1", 80, 100),
- :shutdown => RPG::SE.new("Crash", 80, 100),
- # Add more settings here, if you have custom commands on the title screen!
- }
- end
- #===============================================================================
- # End of settings! Editing anything below may lead to... you know it, right?
- #===============================================================================
- class Window_TitleCommand < Window_Command
- def process_ok
- if current_item_enabled?
- TitleSE::Setup[current_symbol].play
- Input.update
- deactivate
- call_ok_handler
- else
- Sound.play_buzzer
- end
- end
- end
- #==============================================================================
- # !!END OF SCRIPT - OHH, NOES!!
- #==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement