int local2Global(long id){
  Integer g=m_local2Global.get(id);
  if (g != null)   id=g.intValue();
  return (int)id;
}

int local2Global ( long id ) { Integer g = m_local2Global . get ( id ) ; if ( g != null ) id = g . intValue ( ) ; return ( int ) id ; }
use the local2global script id map that was provided by the player , so that we can take the local id contained in the swd and convert it to a global one that the player has annointed to this script .
