Added def follower_move_route which makes the next Move Route event command apply to the follower instead, events are no longer automatically erased if they are followers

This commit is contained in:
Maruno17
2021-12-09 23:33:46 +00:00
parent c55f1f0a2a
commit 6a56a8f7d0
3 changed files with 19 additions and 6 deletions

View File

@@ -126,6 +126,7 @@ class Interpreter
#-----------------------------------------------------------------------------
def command_end
@list = nil
end_follower_move_route
# If main map event and event ID are valid, unlock event
if @main && @event_id > 0 && $game_map.events[@event_id]
$game_map.events[@event_id].unlock
@@ -742,6 +743,8 @@ class Interpreter
#-----------------------------------------------------------------------------
def command_209
character = get_character(@parameters[0])
character = Followers.get(@follower_move_route_id) if @follower_move_route
end_follower_move_route
return true if character.nil?
character.force_move_route(@parameters[1])
return true