function dooregg_slot_21() /* entry=429 class_id=0x090A slot=0x21 */
{
  set_info(0x0001, *(arg_06));
  /* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
  while (!condition) {
    if (Item.getQLo(local_02) == Egg.getEggId(arg_06)) {
      spawn DOOR.slot_21(2, local_02);
    }
    /* loopnext  */
  }
  return;
}
