If your problem is: after fighting the pokemon, the spite did vanish, but if you take just one step then it will appear again, then open up Advance Map, type in 0200 for Person ID. (0200 is the value of the flag you used in the script, if you change this value, then change Person ID as well).