Hello guys a new question about this great system...
Sometimes...when i create a new map for replace a old one.... and when i change the teleport destiny of all the map that will be linked with the new one... my character can teleport to the new map, but when i move the directional keys ....
i get this error in BLIZZ ABS PART 2 in this line
#----------------------------------------------------------------------------
# tile_check
# x - x-coordinate
# y - y-coordinate
# d - direction
# Checks if passable tile. (pixel movement)
#----------------------------------------------------------------------------
def tile_check(x, y, d)
# get pixel movement rate and set bit
pix, bit = $BlizzABS.pixel, (1 << (d / 2 - 1)) & 0x0F
# passable if virtual passability works
THIS LINE -------return true if ($game_map.virtual_passability[x/pix, y/pix] & bit != 0x00)
# get x and y of next tile
case d
when 2 then nx, ny = x/pix, (y+1)/pix
when 4 then nx, ny = (x-1)/pix, y/pix
when 6 then nx, ny = (x+1)/pix, y/pix
when 8 then nx, ny = x/pix, (y-1)/pix
else
nx = ny = nil
end
# passable if still on the same tile
return (x/pix == nx && y/pix == ny)
end
How can i resolve this???