You're not making any sense.
The script doesn't care if you're doing sideview or not. It just shoots ahead until it hits a solid block or enemy and then changes the closest walkable combo to an ice block. What part of this are you concerned about in bird's eye perspective?