struct SCENE_ENCOUNTER_RULE
A row of the scenes' encounter rules (SceneEncounterRules): a scene and entrance and, while a flag is clear, the encounter zones of its two kinds of ground.
Declared in field_engine_internal.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | scene | |
Sint16 | entrance | -1 for any |
Sint16 | flags | -1 for none; the rule applies while the flag is clear |
Uint8 | groundZone | ordinary ground |
Uint8 | secondZone | MAP_METATILE_SECOND_ZONE metatiles |
Description
A row of the scenes' encounter rules (SceneEncounterRules): a scene and
entrance and, while a flag is clear, the encounter zones of its two kinds of
ground.
struct SCENE_ENCOUNTER_RULE
Referenced by fdEncounterSelectMapZones() and SceneEncounterRules.
Definition at line 83 of file field_engine_internal.h.
Fields in detail
scene
Sint16 scene
entrance
Sint16 entrance
-1 for any
flags
Sint16 flags
-1 for none; the rule applies while the flag is clear
groundZone
Uint8 groundZone
ordinary ground
secondZone
Uint8 secondZone
MAP_METATILE_SECOND_ZONE metatiles