function miss1egg_hatch() /* entry=353 class_id=0x090D slot=0x07 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    pad2, /* [BP-04h] type=0x24 */
    buster, /* [BP-06h] type=0x24 */
    slot; /* [BP-08h] type=0x69 */

  set_info(0x0210, *(arg_06));
  process_exclude();
  if (Egg.getEggId(arg_06) == 1) {
    spawn MISS1EGG.slot_21(arg_06);
    /* global_address global_id=0x3C */
    spawn NPC.slot_23(pid);
    suspend;
    return;
  }
  else if (Egg.getEggId(arg_06) == 2) {
    if (global[0x003B]) {
      /* pop_global global_id=0x3B size=0x1 */
      /* loop_selector buster in nearby_items(shape=NPC_TECH, origin=arg_06) */
      while (!condition) {
        ITEM.slot_23(4, buster);
        spawn MISS1EGG.slot_22(buster, arg_06);
        /* loopnext  */
      }
    }
    return;
  }
  else if (Egg.getEggId(arg_06) == 3) {
    FREE.slot_41();
    spawn MISS1EGG.slot_23(pid, arg_06);
    suspend;
    return;
  }
  else if (Egg.getEggId(arg_06) == 7) {
    FREE.slot_41();
    spawn MISS1EGG.slot_20(pid, arg_06);
    suspend;
    return;
  }
  return;
}
