mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
Adding input for auto-mashing text
This commit is contained in:
parent
b27158c273
commit
629a38aff7
1 changed files with 2 additions and 2 deletions
|
|
@ -398,7 +398,7 @@ class Window_Message < Window_Selectable
|
|||
end
|
||||
tick
|
||||
end
|
||||
if Input.trigger?(Input::ACTION) || Input.trigger?(Input::CANCEL)
|
||||
if Input.trigger?(Input::ACTION) || Input.trigger?(Input::CANCEL) || Input.press?(Input::R)
|
||||
@skip_text = true
|
||||
end
|
||||
else
|
||||
|
|
@ -434,7 +434,7 @@ class Window_Message < Window_Selectable
|
|||
self.pause = true
|
||||
|
||||
# Advance/Close message
|
||||
if Input.trigger?(Input::ACTION) || Input.trigger?(Input::CANCEL)
|
||||
if Input.trigger?(Input::ACTION) || Input.trigger?(Input::CANCEL) || Input.press?(Input::R)
|
||||
if @text.length <= 0
|
||||
terminate_message
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue