function reb_egg_slot_20() /* entry=347 class_id=0x0907 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    chest, /* [BP-02h] type=0x24 */
    phold, /* [BP-04h] type=0x24 */
    counter, /* [BP-06h] type=0x69 */
    counter2, /* [BP-08h] type=0x69 */
    x, /* [BP-0Ah] type=0x69 */
    y; /* [BP-0Ch] type=0x69 */

  set_info(0x021B, 0);
  /* loop_selector chest in nearby_items(shape=0x054F, origin=global[0x003C]) */
  while (!condition) {
    x = (Item.getX(chest) + 48);
    y = (Item.getY(chest) + 48);
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xFC string_bytes=0x6 loop_type=0x4 */
    while (!condition) {
      x = (x - 4);
      /* bit_not  */
      counter = (1 + counter);
      /* loopnext  */
    }
    return;
  }
  return;
}
