mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
i fuckin hate youself
This commit is contained in:
parent
ad02a8de6d
commit
6a50eac370
4 changed files with 35 additions and 11 deletions
|
|
@ -123,7 +123,7 @@ class Scene_Map
|
|||
EdText.info(tr("You cannot perform this action during cutscenes."))
|
||||
return
|
||||
else
|
||||
if Window_Settings.OneShotMode = true
|
||||
if Window_Settings.OneShotMode == true
|
||||
File.new("badend.lock", "w")
|
||||
$game_temp.common_event_id = 35
|
||||
else
|
||||
|
|
|
|||
|
|
@ -46,23 +46,20 @@ class Scene_Title
|
|||
if File.exists?("Graphics/Titles/#{translation_name}.png")
|
||||
@sprite.bitmap = RPG::Cache.title(translation_name)
|
||||
else
|
||||
if Window_Settings.OneShotMode = true
|
||||
if File.exist?("badend.lock")
|
||||
@sprite.bitmap = RPG::Cache.title("badend")
|
||||
else
|
||||
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||
end
|
||||
end
|
||||
if File.exist?("badend.lock")
|
||||
@sprite.bitmap = RPG::Cache.title("badend")
|
||||
else
|
||||
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||
end
|
||||
end
|
||||
# check for debug file to add debug items
|
||||
if Window_Settings.DebugIsEnabled = true
|
||||
if Window_Settings.DebugIsEnabled
|
||||
# debug save
|
||||
$game_party.gain_item(54, 1)
|
||||
# plight skip
|
||||
$game_party.gain_item(82, 1)
|
||||
#George reroler
|
||||
$game_party.gain_item(81, 1)
|
||||
#George reroler
|
||||
end
|
||||
|
||||
@sprite.zoom_x = 2.0
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ class Window_MainMenu < Window_Selectable
|
|||
@commands << 'Travel'
|
||||
@commands << 'Notes'
|
||||
@commands << 'Settings'
|
||||
|
||||
if Window_Settings.DebugIsEnabled == true
|
||||
@commands << 'TPtLOC'
|
||||
end
|
||||
|
||||
@item_max = @commands.size
|
||||
@column_max = @item_max
|
||||
|
||||
|
|
@ -138,10 +143,26 @@ class Window_MainMenu < Window_Selectable
|
|||
when 1
|
||||
$game_temp.common_event_id = 15
|
||||
@fade_out = true
|
||||
else
|
||||
when 2
|
||||
$game_system.se_play($data_system.decision_se)
|
||||
$game_temp.window_settings_calling = 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
|
||||
return
|
||||
end
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ class Window_Settings
|
|||
class << self
|
||||
attr_accessor :DebugIsEnabled
|
||||
attr_accessor :OneShotMode
|
||||
def OneShotMode?
|
||||
!!@OneShotMode
|
||||
end
|
||||
def DebugIsEnabled?
|
||||
!!@DebugIsEnabled
|
||||
end
|
||||
end
|
||||
@DebugIsEnabled = false
|
||||
#You have only ONE shot!
|
||||
|
|
|
|||
Loading…
Reference in a new issue