mkxp-sunshine/scripts/EdText.rb
Michael Shirt 7aade486cf Adding Desktop Message
Displays messages for the Desktop screen, can  be called with "@desktop"
just like how "@ed" calls ed messages.
2016-09-22 14:34:33 -06:00

13 lines
384 B
Ruby

module EdText
def self.blue_understand
Oneshot.msgbox Oneshot::Msg::YESNO, tr("Do you understand what this means?")
end
def self.info(text)
text.gsub!("\\p", $game_oneshot.player_name)
Oneshot.msgbox Oneshot::Msg::INFO, tr(text)
end
def self.yesno(text)
text.gsub!("\\p", $game_oneshot.player_name)
Oneshot.msgbox Oneshot::Msg::YESNO, tr(text)
end
end