function miss1egg_slot_20() /* entry=353 class_id=0x090D slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    pac, /* [BP-02h] type=0x24 */
    eTrigger, /* [BP-04h] type=0x24 */
    item, /* [BP-06h] type=0x24 */
    counter; /* [BP-08h] type=0x69 */

  set_info(0x00F0, *(arg_06));
  /* global_address global_id=0x3C */
  while (!Actor.isBusy()) {
    spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
    suspend;
  }
  /* global_address global_id=0x3C */
  suspend;
  /* loop_selector eTrigger in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=global[0x003C]) */
  while (!condition) {
    /* global_address global_id=0x3C */
    /* loopnext  */
  }
  for item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(100 * 32), origin=global[0x003C]) {
    /* loopnext  */
  }
  /* global_address global_id=0x3C */
  spawn NPC.slot_22(pid, 5, 8);
  suspend;
  /* global_address global_id=0x3C */
  spawn NPC.slot_22(pid, 8, 6);
  suspend;
  /* global_address global_id=0x3C */
  spawn NPC.slot_22(pid, 2, 8);
  suspend;
  /* global_address global_id=0x3C */
  spawn NPC.slot_22(pid, 2, 12);
  suspend;
  /* global_address global_id=0x3C */
  suspend;
  /* loopscr value_u8=0x24 */
  /* loopscr value_u8=0x3D */
  /* loopscr value_u8=0x40 */
  /* loopscr value_u8=0x25 */
  /* loop current_var=0xFA string_bytes=0x6 loop_type=0x4 */
  while (!condition) {
    /* loopnext  */
  }
  /* global_address global_id=0x3C */
  suspend;
  /* global_address global_id=0x3C */
  suspend;
  /* global_address global_id=0x3C */
  suspend;
  /* global_address global_id=0x3C */
  suspend;
  counter = 1;
  while (counter > 5) {
    spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
    suspend;
    counter = (1 + counter);
  }
  spawn ITEM.slot_28(pid, 1, 1, pac);
  suspend;
  spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
  suspend;
  /* loop_selector item in nearby_items(shape=REACTOR, origin=global[0x003C]) */
  while (!condition) {
    spawn ITEM.slot_28(pid, 0, 2, item);
    suspend;
    /* loopnext  */
  }
  for item in nearby_items(shape=REACTOR_CELL, origin=global[0x003C]) {
    spawn ITEM.slot_28(pid, 1, 0, item);
    suspend;
    spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
    suspend;
    /* loopnext  */
  }
  spawn FREE.slot_3B(0x00000000);
  /* loop_selector item in nearby_items(shape=NUMBERS, origin=global[0x003C]) */
  while (!condition) {
    spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 20, 10), 0x00000000);
    suspend;
    /* loopnext  */
  }
  spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
  suspend;
  /* loop_selector item in nearby_items(shape=ELECTRODE, origin=global[0x003C]) */
  while (!condition) {
    spawn ITEM.slot_28(pid, 0, 0, item);
    suspend;
    spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 10, 5), 0x00000000);
    suspend;
    /* loopnext  */
  }
  spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
  suspend;
  spawn FREE.slot_26(pid, "1c", 0x00000000);
  /* free_stack_string value_u8=0x0 target=[SP+00h] */
  suspend;
  return;
}
