mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Implemented True Memory Mode
This commit is contained in:
parent
9e5bd454b2
commit
3efcc10470
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ module RPG
|
||||||
end
|
end
|
||||||
def self.character(filename, hue)
|
def self.character(filename, hue)
|
||||||
filename = filename.downcase
|
filename = filename.downcase
|
||||||
if $game_switches[160] && filename.start_with?("niko")
|
if ($game_switches[160] || Settings[:true_memory_mode]) && filename.start_with?("niko")
|
||||||
filename.gsub!(/niko/, "en")
|
filename.gsub!(/niko/, "en")
|
||||||
end
|
end
|
||||||
self.load_bitmap("Graphics/Characters/", filename, hue)
|
self.load_bitmap("Graphics/Characters/", filename, hue)
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class Sprite_Character
|
||||||
@light_sprite.shader = @sprite.shader =
|
@light_sprite.shader = @sprite.shader =
|
||||||
|
|
||||||
#idk what is this, maybe later i remake this
|
#idk what is this, maybe later i remake this
|
||||||
@character.character_name.start_with?("en") || (Settings[:twm_shader] && @character.character_name.start_with?("niko") && ($game_switches[160] or Settings[:true_memory_mode])) ? Shader::WorldMachine :
|
@character.character_name.start_with?("en_") || (Settings[:twm_shader] && @character.character_name.start_with?("niko") && ($game_switches[160] or Settings[:true_memory_mode])) ? Shader::WorldMachine :
|
||||||
@character.shader || Shader::Sprite
|
@character.shader || Shader::Sprite
|
||||||
@light_sprite.mirror_x = @sprite.mirror_x = @character.mirror_x
|
@light_sprite.mirror_x = @sprite.mirror_x = @character.mirror_x
|
||||||
@light_sprite.mirror_y = @sprite.mirror_y = @character.mirror_y
|
@light_sprite.mirror_y = @sprite.mirror_y = @character.mirror_y
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue