Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- # http://dekitarpg.wordpress.com/
- #===============================================================================
- #
- # Snippet to allow for a preview of the gameover screen.
- # Only used for displaying this demo's gameover screen.
- # SceneManager.call(Fake_Gameover)
- #
- #===============================================================================
- class Fake_Gameover < Scene_Gameover
- #===============================================================================
- #--------------------------------------------------------------------------
- # Frame Update
- #--------------------------------------------------------------------------
- def update
- super
- goto_title if Input.trigger?(:B)
- end
- #--------------------------------------------------------------------------
- # Fake "Goto Title" (returns scene)
- #--------------------------------------------------------------------------
- def goto_title
- fadeout_all
- SceneManager.return
- end
- end
- #===============================================================================
- # http://dekitarpg.wordpress.com/
- #===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement