Saffith
11-03-2006, 01:16 PM
A simple script to follow push blocks. This allows for multi-tile blocks, like the statues in ALttP.
Two arguments: D0 and D1 get, respectively, the X and Y position of the block in tiles, starting from 0.
There's one improbable potential bug that I'm aware of: if you push a block in a direction other than the direction Link is facing, the FFC will move the wrong way. I don't think that's normally possible, though.
If the block itself disappears or changes to another combo type, the FFC will go crazy. Also, if for some reason the undercombo is the same type of combo as the block itself, the FFC won't move.
TallPushBlock.txt (http://saffith.homestead.com/files/zcscripts/TallPushBlock.txt)
TallPushBlock.qst (http://rapidshare.com/files/67079627/TallPushBlock.qst.html)
Two arguments: D0 and D1 get, respectively, the X and Y position of the block in tiles, starting from 0.
There's one improbable potential bug that I'm aware of: if you push a block in a direction other than the direction Link is facing, the FFC will move the wrong way. I don't think that's normally possible, though.
If the block itself disappears or changes to another combo type, the FFC will go crazy. Also, if for some reason the undercombo is the same type of combo as the block itself, the FFC won't move.
TallPushBlock.txt (http://saffith.homestead.com/files/zcscripts/TallPushBlock.txt)
TallPushBlock.qst (http://rapidshare.com/files/67079627/TallPushBlock.qst.html)