Removed GDC/Demo code from scripts and unused files

This commit is contained in:
ZakatTeamI2P 2026-04-15 18:32:46 +02:00
parent ece8a03065
commit 54171f4698
7 changed files with 1 additions and 27 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -127,7 +127,6 @@ Desktop_Message
Credits_Message
Particles
Demo
EdText
Main