Sorry, Sorry, Sorry your right you can't read my mind! Here are the codes I altered.
HiddenMoveHandlers::CanUseMove.add(:SURF,proc{|move,pkmn|
def canUseMoveSurf?
terrain=Kernel.pbFacingTerrainTag
notCliff=$game_map.passable?($game_player.x,$game_player.y,$game_player.direction)
if...