class Scene_XXX def on_item_ok(id) create_command(id) @commadn.uppos(#........ #....... end def on_item_ok1; on_item_ok 1; end def on_item_ok2; on_item_ok 2; end # ... end
class Scene_XXX def on_item_ok create_command(@some_window.index) @commadn.uppos(#........ #....... end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |