mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Removed GDC/Demo code from scripts and unused files
This commit is contained in:
parent
ece8a03065
commit
54171f4698
7 changed files with 1 additions and 27 deletions
|
|
@ -4,8 +4,6 @@ set(scripts
|
|||
Data_Footsteps.rb
|
||||
Data_Item.rb
|
||||
Data_SpecialEventData.rb
|
||||
Data_TileText.rb
|
||||
Demo.rb
|
||||
Desktop_Message.rb
|
||||
Doc_Message.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
|
||||
|
||||
def initialize
|
||||
if $GDC
|
||||
@player_name = ''
|
||||
else
|
||||
@player_name = Game_Oneshot.get_user_name.force_encoding("utf-8")
|
||||
end
|
||||
@player_name = Game_Oneshot.get_user_name.force_encoding("utf-8")
|
||||
@lights = {}
|
||||
@plight_timer = nil
|
||||
@wallpaper = nil
|
||||
|
|
|
|||
|
|
@ -19,16 +19,11 @@ begin
|
|||
|
||||
# Prepare for transition
|
||||
Graphics.freeze
|
||||
$demo = false
|
||||
$GDC = false
|
||||
# Make scene object (title screen)
|
||||
$scene = Scene_Title.new
|
||||
Oneshot.allow_exit false
|
||||
Oneshot.exiting false
|
||||
|
||||
# x = Oneshot.textinput("Foo Bar")
|
||||
# print("#{x}")
|
||||
|
||||
# Call main method as long as $scene is effective
|
||||
while $scene != nil
|
||||
$scene.main
|
||||
|
|
|
|||
|
|
@ -33,13 +33,6 @@ class Scene_Title
|
|||
# Make system object
|
||||
$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
|
||||
Window_Settings.load_settings
|
||||
Oneshot.allow_exit true
|
||||
|
|
|
|||
|
|
@ -127,7 +127,6 @@ Desktop_Message
|
|||
Credits_Message
|
||||
Particles
|
||||
|
||||
Demo
|
||||
EdText
|
||||
|
||||
Main
|
||||
|
|
|
|||
Loading…
Reference in a new issue