本帖最后由 soulsaga 于 2021-9-1 18:17 编辑
class << Input alias scene_trigger? trigger? def trigger?(key=0) if $scene.is_a?(Scene_Battle) a=$scene.instance_variable_get("@message_window") return false if a and key==Input::C and a and a.visible end scene_trigger?(key) end end
class << Input
alias scene_trigger? trigger?
def trigger?(key=0)
if $scene.is_a?(Scene_Battle)
a=$scene.instance_variable_get("@message_window")
return false if a and key==Input::C and a and a.visible
end
scene_trigger?(key)
end
end
这杽可以吗 |