function npc_slot_26() /* entry=387 class_id=0x0A11 slot=0x26 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    toDir, /* [BP+0Ch] type=0x69 */
    stepNum, /* [BP+0Eh] type=0x69 */
    a, /* [BP-02h] type=0x69 */
    b, /* [BP-04h] type=0x69 */
    c, /* [BP-06h] type=0x69 */
    d, /* [BP-08h] type=0x69 */
    e, /* [BP-0Ah] type=0x69 */
    f, /* [BP-0Ch] type=0x69 */
    counter, /* [BP-0Eh] type=0x69 */
    g, /* [BP-10h] type=0x69 */
    h; /* [BP-12h] type=0x69 */

  entry:
    set_info(0x020A, *(arg_06));
    a = Item.getQHi(arg_06);
    b = Intrinsic0050(arg_06);
    if (!Kernel.resetRef(arg_06)) goto block_0A1B;

  block_0A0E:

  block_0A1B:
    c = Item.getQHi(arg_06);
    d = Intrinsic0050(arg_06);
    if (!Kernel.resetRef(arg_06)) goto block_0A92;

  block_0A4A:
    suspend;
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;

  block_0A92:
    e = Item.getQHi(arg_06);
    f = Intrinsic0050(arg_06);
    counter = 1;

  block_0AB5:
    if (counter <= stepNum) goto block_0B07;

  block_0AC0:
    if (!Kernel.resetRef(arg_06)) goto block_0AFA;

  block_0AD3:
    suspend;

  block_0AFA:
    counter = (1 + counter);
    goto block_0AB5;

  block_0B07:
    g = Item.getQHi(arg_06);
    h = Intrinsic0050(arg_06);
    if (!Kernel.resetRef(arg_06)) goto block_0B4A;

  block_0B36:

  block_0B4A:
    return;

}
