function begin_level()
{
level_load("ID.wmb");
reset(main_pan, SHOW);
}

That's what I got, but the script is giving me an error. "'main_pan' is an undeclared identifier."