@Eeveon, the script works fine, when I battle Kyogre, it disappears after battle as it should be, but if I take a step, it appears again and if I try to battle it, it disappears because the script is working...
Why would it appear again when I take a step?