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
|
||||
def self.character(filename, hue)
|
||||
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")
|
||||
end
|
||||
self.load_bitmap("Graphics/Characters/", filename, hue)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class Sprite_Character
|
|||
@light_sprite.shader = @sprite.shader =
|
||||
|
||||
#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
|
||||
@light_sprite.mirror_x = @sprite.mirror_x = @character.mirror_x
|
||||
@light_sprite.mirror_y = @sprite.mirror_y = @character.mirror_y
|
||||
|
|
|
|||
Loading…
Reference in a new issue