function bridge_slot_21() /* entry=373 class_id=0x0A03 slot=0x21 */
{
  var
    item, /* [BP+06h] type=0x24 */
    newtype, /* [BP+08h] type=0x69 */
    x, /* [BP-02h] type=0x69 */
    item2; /* [BP-04h] type=0x24 */

  x = Item.getShape(item);
  if ((x == 0x0413) || (x != 0x0290)) {
    if (newtype == 0x03A6) {
      newtype = 0x0413;
      return;
    }
    else {
      newtype = 0x0290;
    }
  }
  return;
}
