# Has Job Assigned

### Signature

```c
int hasJobAssigned(int partyMemberId); //id:0x05D7
```

### Description

Returns true if a party member has acquired a first or second job.

### Changes

* Will now also work for all party members (e.g. reks, guests and espers).

### Example

#### Reset Vaan's Jobs If He Has Any

```c
regI0 = 0; //vaan identifier
if (hasJobAssigned(regI0))
{
    resetJobs(regI0);
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xeavin.gitbook.io/the-insurgents-manifesto/vm-extension/current-call-targets/has-job-assigned.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
