# ▼▲▼ No70. ピクチャ反転 ▼▲▼ # # # #============================================================================== # --- ミラー --- #============================================================================== class Game_Temp attr_accessor :mirror end class Game_Picture attr_accessor :mirror end #============================================================================== # ◇ ピクチャの表示 #============================================================================== class Interpreter alias sb70_command_231 command_231 def command_231 # 呼び戻す sb70_command_231 # ミラーフラグの初期化判定 $game_temp.mirror = false if $game_temp.mirror == nil # ピクチャ番号を取得 number = @parameters[0] + ($game_temp.in_battle ? 50 : 0) # ピクチャにミラーを転送 $game_screen.pictures[number].mirror = $game_temp.mirror # 継続 return true end end #============================================================================== # --- ピクチャスプライト・反転 --- #============================================================================== module SB70 def update super self.mirror = @picture.mirror end end class Sprite_Picture < Sprite include SB70 end