function miss1egg_slot_23() /* entry=353 class_id=0x090D slot=0x23 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    pathegg, /* [BP-04h] type=0x24 */
    n, /* [BP-06h] type=0x24 */
    guardBoy, /* [BP-08h] type=0x24 */
    door; /* [BP-0Ah] type=0x24 */

  set_info(0x0001, *(arg_06));
  spawn MISS1EGG.slot_25(arg_06);
  /* loop_selector item in nearby_items(shape=0x04E0, origin=global[0x003C]) */
  while (!condition) {
    n = item;
    /* loopnext  */
  }
  if (n) {
    return;
  }
  else {
    suspend;
    /* loop_selector item in nearby_items(shape=door_shape_007b, origin=arg_06) */
    while (!condition) {
      if (Item.getQLo(item) == 23) {
        door = item;
        spawn DOOR.slot_20(pid, door);
        suspend;
      }
      /* loopnext  */
    }
    spawn NPC.slot_22(pid, 5, 4, n);
    suspend;
    suspend;
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
    spawn FREE.slot_3B(0x00000000);
    /* loop_selector guardBoy in nearby_items(shape=npcdeath_shape_02fd, origin=global[0x003C]) */
    while (!condition) {
      /* loopnext  */
    }
    /* pop_global global_id=0x2F size=0x1 */
    spawn MISS1EGG.slot_24(1, pid, n, arg_06);
    suspend;
  }
  return;
}
