Advertisement
Dekita

Untitled

Apr 19th, 2014
960
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. #===============================================================================
  2. # http://dekitarpg.wordpress.com/
  3. #===============================================================================
  4. #
  5. # Snippet to allow for a preview of the gameover screen.
  6. # Only used for displaying this demo's gameover screen.
  7. # SceneManager.call(Fake_Gameover)
  8. #
  9. #===============================================================================
  10. class Fake_Gameover < Scene_Gameover
  11. #===============================================================================
  12. #--------------------------------------------------------------------------
  13. # Frame Update
  14. #--------------------------------------------------------------------------
  15. def update
  16. super
  17. goto_title if Input.trigger?(:B)
  18. end
  19. #--------------------------------------------------------------------------
  20. # Fake "Goto Title" (returns scene)
  21. #--------------------------------------------------------------------------
  22. def goto_title
  23. fadeout_all
  24. SceneManager.return
  25. end
  26. end
  27. #===============================================================================
  28. # http://dekitarpg.wordpress.com/
  29. #===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement