Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=============================================================================
- # Kadafi - Idle Wait
- # Version : 1.0
- # Contact : http://www.facebook.com/xandalfi
- # =============================================================================
- ($imported ||= {})[:Kadafi_IdleWait] = true
- # =============================================================================
- # CHANGE LOGS:
- # -----------------------------------------------------------------------------
- # 2014.11.09 - Finished script
- # =============================================================================
- =begin
- Perkenalan :
- Script ini rekuesan Rikko Sawaragi
- (http://www.facebook.com/groups/499519576752803?view=permalink&id=799785806726177)
- Cara penggunaan :
- Pasang dibawah material namun diatas main
- Edit script ato konfigurasinya kalo perlu
- Terms of Use :
- Game ente gak boleh NEP.
- =end
- # =============================================================================
- # Konfigurasi :
- # =============================================================================
- module Kadafi
- module TITLE
- # Lama nunggu idle (Frame)
- Idle_Time = 300
- end
- end
- # =============================================================================
- # Akhir dari konfigurasi :
- # =============================================================================
- class Scene_Title < Scene_Base
- def initialize
- @show_time = 0
- end
- alias new_start start
- def start
- new_start
- set_show_time
- end
- def set_show_time
- @show_time = Kadafi::TITLE::Idle_Time
- end
- alias new_update update
- def update
- new_update
- update_show_time if $imported[:Theo_PressStart]
- end
- def update_show_time
- if @show_time == 0
- # Di sini tempat ente edit2 sesuai keperluan
- $game_temp.input_title_command = false # true = Bisa input command_window; false = lawannya true
- SceneManager.goto(Scene_Title) # Buat reload Scene_Title
- end
- @show_time -= 1 if @command_window.active
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement