There is an error.. please fix
i liked the tutorial.. it was helpful but there is an error in this code
for(i=0;i<99;i++){
if(this.walk.Feet.hitTest("_root.platform" + i)){
platform = eval("_root.platform" + i)
}
}
if(this.walk.Feet.hitTest(platform)){
if(falling == true){
_y = platform._y
velocity = 0
falling = false
}
}else{
falling = true
}
fix it please