# Set Summon Effect Filter Status

### Signature

```c
void set_summon_effect_filter_status(int type, int state); //id:0x0508
```

### Description

Enables or disables the on-screen effect used for Espers that were either summoned by the party or spawned in a location.

### Arguments

#### Type

Controls which type of effect will be displayed (0 -> 1).

If it's 0, it will be the one of the currently summoned Esper.

If it's 1, it will be the one of the Esper in the current location.

#### State

Controls whether the effect will be disabled (0) or enabled (1).

### Notes

{% hint style="warning" %}
If the type argument is 0, this function will just return if any of the following conditions apply:

* An Esper is currently not summoned.
* A Chocobo is currently summoned.
* The current location is a town.
* The player is in an event (e.g. cutscene).
{% endhint %}

{% hint style="warning" %}
If the type argument is 1, this function will just return if the current location includes no Esper. The exact specifics are unknown, but its definitely model related.
{% endhint %}

{% hint style="info" %}
If both effects are enabled at the same time, the effect from the summoned Esper will overwrite that from the Esper in the current location.
{% endhint %}
