Not scripting per se in that game outcomes are not predetermined. The CPU receives varying degrees of stat boosts, which in turn help it to hit crosses and headers, get to loose balls and avoid tackles with a psychic aptitude that's just... incredibly annoying actually.