Removed GDC/Demo code from scripts and unused files
This commit is contained in:
parent
ece8a03065
commit
54171f4698
|
|
@ -4,8 +4,6 @@ set(scripts
|
||||||
Data_Footsteps.rb
|
Data_Footsteps.rb
|
||||||
Data_Item.rb
|
Data_Item.rb
|
||||||
Data_SpecialEventData.rb
|
Data_SpecialEventData.rb
|
||||||
Data_TileText.rb
|
|
||||||
Demo.rb
|
|
||||||
Desktop_Message.rb
|
Desktop_Message.rb
|
||||||
Doc_Message.rb
|
Doc_Message.rb
|
||||||
EdText.rb
|
EdText.rb
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
def demo_entity_message
|
|
||||||
Oneshot.msgbox Oneshot::Msg::INFO, "[...Who am I kidding. Of course I don't.]"
|
|
||||||
Oneshot.msgbox Oneshot::Msg::ERR, "[If you DO decide to visit this world again, #{$game_oneshot.player_name}... I won't be looking forward to it at all.]"
|
|
||||||
Oneshot.msgbox Oneshot::Msg::ERR, "[I'm so tired.]"
|
|
||||||
Oneshot.msgbox Oneshot::Msg::ERR, "[Goodbye.]"
|
|
||||||
Graphics.frame_reset
|
|
||||||
end
|
|
||||||
|
|
@ -9,11 +9,7 @@ class Game_Oneshot
|
||||||
attr_accessor :wallpaper_color # the wallpaper color
|
attr_accessor :wallpaper_color # the wallpaper color
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
if $GDC
|
@player_name = Game_Oneshot.get_user_name.force_encoding("utf-8")
|
||||||
@player_name = ''
|
|
||||||
else
|
|
||||||
@player_name = Game_Oneshot.get_user_name.force_encoding("utf-8")
|
|
||||||
end
|
|
||||||
@lights = {}
|
@lights = {}
|
||||||
@plight_timer = nil
|
@plight_timer = nil
|
||||||
@wallpaper = nil
|
@wallpaper = nil
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,11 @@ begin
|
||||||
|
|
||||||
# Prepare for transition
|
# Prepare for transition
|
||||||
Graphics.freeze
|
Graphics.freeze
|
||||||
$demo = false
|
|
||||||
$GDC = false
|
|
||||||
# Make scene object (title screen)
|
# Make scene object (title screen)
|
||||||
$scene = Scene_Title.new
|
$scene = Scene_Title.new
|
||||||
Oneshot.allow_exit false
|
Oneshot.allow_exit false
|
||||||
Oneshot.exiting false
|
Oneshot.exiting false
|
||||||
|
|
||||||
# x = Oneshot.textinput("Foo Bar")
|
|
||||||
# print("#{x}")
|
|
||||||
|
|
||||||
# Call main method as long as $scene is effective
|
# Call main method as long as $scene is effective
|
||||||
while $scene != nil
|
while $scene != nil
|
||||||
$scene.main
|
$scene.main
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,6 @@ class Scene_Title
|
||||||
# Make system object
|
# Make system object
|
||||||
$game_system = Game_System.new
|
$game_system = Game_System.new
|
||||||
|
|
||||||
# Skip title screen if debug mode (or demo, but not GDC)
|
|
||||||
#if $debug || ($demo && !$GDC) || save_exists
|
|
||||||
# $game_map.update
|
|
||||||
# $game_map.autoplay
|
|
||||||
# $scene = Scene_Map.new
|
|
||||||
# return
|
|
||||||
#end
|
|
||||||
load_perma_flags
|
load_perma_flags
|
||||||
Window_Settings.load_settings
|
Window_Settings.load_settings
|
||||||
Oneshot.allow_exit true
|
Oneshot.allow_exit true
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,6 @@ Desktop_Message
|
||||||
Credits_Message
|
Credits_Message
|
||||||
Particles
|
Particles
|
||||||
|
|
||||||
Demo
|
|
||||||
EdText
|
EdText
|
||||||
|
|
||||||
Main
|
Main
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue