function npctrig_slot_20() /* entry=191 class_id=0x0363 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    typeNpc, /* [BP+0Ah] type=0x69 */
    n, /* [BP-02h] type=0x24 */
    item, /* [BP-04h] type=0x24 */
    item2; /* [BP-06h] type=0x24 */

  set_info(0x0001, *(arg_06));
  /* 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=0x2 */
  while (!condition) {
    item2 = item;
    /* loopnext  */
  }
  if (!item2) {
    spawn class_0A11_slot_23(pid, n);
    suspend;
    if (getTargetNPCNumMaybe() == 0) {
      return;
    }
  }
  return;
}
