class Scene_ItemBase def show_sub_window(window) width_remain = Graphics.width - window.width window.x = cursor_left? ? width_remain : 0 window.z += 100 #~ @viewport.rect.x = @viewport.ox = cursor_left? ? 0 : window.width #~ @viewport.rect.width = width_remain window.show.activate end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |