Release 6.9.0

This commit is contained in:
chardub
2026-11-02 11:34:46 -05:00
parent 060726298d
commit ae6e2ebc64
5697 changed files with 131795 additions and 17423 deletions
@@ -74,9 +74,7 @@ def moveFancy(follower,direction)
newY = follower.y + deltaY
# Move if new position is the player's, or the new position is passable,
# or the current position is not passable
if ($game_player.x==newX && $game_player.y==newY) ||
pbTestPass(follower,newX,newY,0) ||
!pbTestPass(follower,follower.x,follower.y,0)
if can_move_to_new_position(newX,newY,follower)
oldThrough=follower.through
follower.through=true
case direction
@@ -89,6 +87,13 @@ def moveFancy(follower,direction)
end
end
def can_move_to_new_position(newX,newY, follower)
return true if ($game_player.x==newX && $game_player.y==newY)
return true if pbTestPass(follower,newX,newY,0)
return true unless !pbTestPass(follower,follower.x,follower.y,0)
return false
end
# Same map only
def jumpFancy(follower,direction,leader)
deltaX=(direction == 6 ? 2 : (direction == 4 ? -2 : 0))