lunariafantasia/Scripts/_.86.rb
2024-01-12 03:12:38 -06:00

18 lines
No EOL
843 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#==============================================================================
# ■ Game_Interpreter
#------------------------------------------------------------------------------
#  イベントコマンドを実行するインタプリタです。このクラスは Game_Map クラス、
# Game_Troop クラス、Game_Event クラスの内部で使用されます。
#==============================================================================
class Game_Interpreter
#--------------------------------------------------------------------------
# イベントが特定位置に来るまでウェイト
#--------------------------------------------------------------------------
def event_wait(x, y, id = 0)
character = get_character(id)
until (character.x == x && character.y == y)
wait(15)
end
end
end