function npc_slot_2D() /* entry=387 class_id=0x0A11 slot=0x2D */
{
  var
    referent, /* [BP+00h] type=0x69 */
    damageSource, /* [BP+0Ah] type=0x69 */
    dir, /* [BP+0Ch] type=0x69 */
    aSet; /* [BP-02h] type=0x69 */

  set_info(0x020A, *(arg_06));
  if (*(arg_06) <= 0x0100) {
    return;
  }
  else if (*(arg_06) == 1) {
    if (global[0x0009] == 1) {
      return;
    }
    aSet = Actor.getLastAnimSet(arg_06);
    spawn class_0A11_slot_2E(arg_06);
    return;
  }
  else if (*(arg_06) == getTargetNPCNumMaybe()) {
    class_0A11_slot_2B(arg_06);
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    return;
  }
  return;
}
