i fuckin hate youself
This commit is contained in:
parent
ad02a8de6d
commit
6a50eac370
|
|
@ -123,7 +123,7 @@ class Scene_Map
|
||||||
EdText.info(tr("You cannot perform this action during cutscenes."))
|
EdText.info(tr("You cannot perform this action during cutscenes."))
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
if Window_Settings.OneShotMode = true
|
if Window_Settings.OneShotMode == true
|
||||||
File.new("badend.lock", "w")
|
File.new("badend.lock", "w")
|
||||||
$game_temp.common_event_id = 35
|
$game_temp.common_event_id = 35
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -46,23 +46,20 @@ class Scene_Title
|
||||||
if File.exists?("Graphics/Titles/#{translation_name}.png")
|
if File.exists?("Graphics/Titles/#{translation_name}.png")
|
||||||
@sprite.bitmap = RPG::Cache.title(translation_name)
|
@sprite.bitmap = RPG::Cache.title(translation_name)
|
||||||
else
|
else
|
||||||
if Window_Settings.OneShotMode = true
|
if File.exist?("badend.lock")
|
||||||
if File.exist?("badend.lock")
|
@sprite.bitmap = RPG::Cache.title("badend")
|
||||||
@sprite.bitmap = RPG::Cache.title("badend")
|
else
|
||||||
else
|
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||||
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
end
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
# check for debug file to add debug items
|
# check for debug file to add debug items
|
||||||
if Window_Settings.DebugIsEnabled = true
|
if Window_Settings.DebugIsEnabled
|
||||||
# debug save
|
# debug save
|
||||||
$game_party.gain_item(54, 1)
|
$game_party.gain_item(54, 1)
|
||||||
# plight skip
|
# plight skip
|
||||||
$game_party.gain_item(82, 1)
|
$game_party.gain_item(82, 1)
|
||||||
#George reroler
|
#George reroler
|
||||||
$game_party.gain_item(81, 1)
|
$game_party.gain_item(81, 1)
|
||||||
#George reroler
|
|
||||||
end
|
end
|
||||||
|
|
||||||
@sprite.zoom_x = 2.0
|
@sprite.zoom_x = 2.0
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,11 @@ class Window_MainMenu < Window_Selectable
|
||||||
@commands << 'Travel'
|
@commands << 'Travel'
|
||||||
@commands << 'Notes'
|
@commands << 'Notes'
|
||||||
@commands << 'Settings'
|
@commands << 'Settings'
|
||||||
|
|
||||||
|
if Window_Settings.DebugIsEnabled == true
|
||||||
|
@commands << 'TPtLOC'
|
||||||
|
end
|
||||||
|
|
||||||
@item_max = @commands.size
|
@item_max = @commands.size
|
||||||
@column_max = @item_max
|
@column_max = @item_max
|
||||||
|
|
||||||
|
|
@ -138,10 +143,26 @@ class Window_MainMenu < Window_Selectable
|
||||||
when 1
|
when 1
|
||||||
$game_temp.common_event_id = 15
|
$game_temp.common_event_id = 15
|
||||||
@fade_out = true
|
@fade_out = true
|
||||||
else
|
when 2
|
||||||
$game_system.se_play($data_system.decision_se)
|
$game_system.se_play($data_system.decision_se)
|
||||||
$game_temp.window_settings_calling = true
|
$game_temp.window_settings_calling = true
|
||||||
@fade_out = true
|
@fade_out = true
|
||||||
|
when 3
|
||||||
|
if File.exist?("imstupidcheater.txt")
|
||||||
|
id = Integer(File.read("imstupidcheater.txt").strip.to_i)
|
||||||
|
# id = 177
|
||||||
|
x = Integer(File.read("imstupidcheater.x").strip.to_i)
|
||||||
|
y = Integer(File.read("imstupidcheater.y").strip.to_i)
|
||||||
|
$game_temp.player_transferring = true
|
||||||
|
$game_temp.player_new_map_id = id
|
||||||
|
$game_temp.player_new_x = x
|
||||||
|
$game_temp.player_new_y = y
|
||||||
|
$game_temp.player_new_direction = 0
|
||||||
|
Graphics.freeze
|
||||||
|
$game_temp.transition_processing = true
|
||||||
|
$game_temp.transition_name = ""
|
||||||
|
@fade_out = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,12 @@ class Window_Settings
|
||||||
class << self
|
class << self
|
||||||
attr_accessor :DebugIsEnabled
|
attr_accessor :DebugIsEnabled
|
||||||
attr_accessor :OneShotMode
|
attr_accessor :OneShotMode
|
||||||
|
def OneShotMode?
|
||||||
|
!!@OneShotMode
|
||||||
|
end
|
||||||
|
def DebugIsEnabled?
|
||||||
|
!!@DebugIsEnabled
|
||||||
|
end
|
||||||
end
|
end
|
||||||
@DebugIsEnabled = false
|
@DebugIsEnabled = false
|
||||||
#You have only ONE shot!
|
#You have only ONE shot!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue