class Window_Message
def reset_window
if $game_temp.in_battle
self.y = 16
else
case $game_system.message_position
when 0 # up
self.y = 16
self.x = 80
when 1 # middle
self.y = 160
self.x = 80
when 2 # down
#self.y = 304
self.y = 320
self.x = 160
end
end
if $game_system.message_frame == 0
self.opacity = 255
else
self.opacity = 0
end
self.back_opacity = 160
end
end