function bbtrip_hatch() /* entry=351 class_id=0x090B slot=0x07 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    bbetty; /* [BP-04h] type=0x24 */

  set_info(0x0210, *(arg_06));
  process_exclude();
  /* loopscr value_u8=0x24 */
  /* loopscr value_u8=0x3D */
  /* loopscr value_u8=0x40 */
  /* loopscr value_u8=0x25 */
  /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
  while (!condition) {
    if (Item.getFrame(item)) {
      bbetty = item;
      spawn class_0A01_slot_20(pid, bbetty);
      suspend;
    }
    /* loopnext  */
  }
  return;
}
