Thanks, it was very good your explanation!
But the error should be remarked that actually the fact that my script HEADBUTT.
For some value is written to 0x8004 for the script, which makes any status becomes SLEEP in battle, but in POKEMENU become the POISON.
I will try to fix it.
Thank you and congratulations on the job.