# Is Navi Icon

### Signature

```c
void isnaviicon(int flags); //id:0x0300
```

### Description

Returns whether a map icon is enabled (1) or not (0).

It can also be used to check whether the story progress is within a specific range (1) or not (0).

### Arguments

#### Flags: Identifier

If the type is 0, its the identifier of the map icon (0 -> 511).

If the type is 1, its the identifier of the entry in the `mapjumpgroupflagrom.bin` file (0 -> 152).

#### Flags: Type

If set to 0, the map icon flags in the save game will be checked.

If set to 1, the `mapjumpgroupflagrom.bin` file in the game files will be checked.

### Notes

{% hint style="warning" %}
If the type is 0, the following conditions apply:

* If the identifier is 0, the returned value will always be 1.
* If the identifier is 1, the returned value will always be 0.&#x20;
  {% endhint %}

{% hint style="info" %}
The `mapjumpgroupflagrom.bin` file contains data with a minimum story progress and an optional maximum story progress value. Otherwise, its purpose is unknown.
{% endhint %}
