Alchemy
Loading...
Searching...
No Matches

zonedata.c File Reference

Go to the source code of this file.

Variables

const s16 gWorldMap_EncounterRules [132]
 The world map's encounter zones (struct TerrainRule): {terrain kind, terrain behavior (-1 for any), flag (-1, or a flag that turns the rule off once set), zone}, ended by kind -1.
const u16 gEncounter_AreaEntryTable [160]
 The encounter of each Djinni battle (Encounter_GetDjinnEnemyGroup): {zone, slot}.

Variable Documentation

◆ gWorldMap_EncounterRules

const s16 gWorldMap_EncounterRules[132]
Initial value:
= {
1, 4, -1, 7, 1, 7, -1, 7, 1, 1, -1, 7, 1, 2, -1, 8, 2, 4, -1,
13, 2, 7, -1, 13, 2, 1, -1, 13, 2, 2, -1, 14, 21, 5, -1, 29, 21, 6,
-1, 30, 31, 1, -1, 37, 31, 2, -1, 38, 3, 3, -1, 45, 3, 4, -1, 45, 3,
7, -1, 45, 3, 1, -1, 45, 3, 2, -1, 46, 4, 3, -1, 54, 4, 4, -1, 54,
4, 7, -1, 54, 4, 1, -1, 54, 4, 2, -1, 55, 5, 3, -1, 64, 5, 4, -1,
64, 5, 7, -1, 64, 5, 1, -1, 64, 5, 2, -1, 65, 6, 3, -1, 80, 6, 4,
-1, 80, 6, 7, -1, 80, 6, 1, -1, 80, 6, 2, -1, 81, -1, 0, 0, 0,
}

The world map's encounter zones (struct TerrainRule): {terrain kind, terrain behavior (-1 for any), flag (-1, or a flag that turns the rule off once set), zone}, ended by kind -1.

Definition at line 7 of file zonedata.c.

Referenced by Encounter_ResolveWorldMapZoneAndBackdrop().

◆ gEncounter_AreaEntryTable

const u16 gEncounter_AreaEntryTable[160]
Initial value:
= {
100, 0, 100, 1, 100, 2, 100, 3, 100, 4, 100, 5, 100, 6, 100, 7, 100, 0,
100, 1, 100, 2, 100, 3, 100, 4, 100, 5, 100, 6, 100, 7, 100, 0, 100, 1,
100, 2, 100, 3, 101, 0, 101, 1, 101, 2, 101, 3, 101, 4, 101, 5, 101, 6,
101, 7, 101, 0, 101, 1, 101, 2, 101, 3, 101, 4, 101, 5, 101, 6, 101, 7,
101, 0, 101, 1, 101, 2, 101, 3, 102, 0, 102, 1, 102, 2, 102, 3, 102, 4,
102, 5, 102, 6, 102, 7, 102, 0, 102, 1, 102, 2, 102, 3, 102, 4, 102, 5,
102, 6, 102, 7, 102, 0, 102, 1, 102, 2, 102, 3, 103, 0, 103, 1, 103, 2,
103, 3, 103, 4, 103, 5, 103, 6, 103, 7, 103, 0, 103, 1, 103, 2, 103, 3,
103, 4, 103, 5, 103, 6, 103, 7, 103, 0, 103, 1, 103, 2, 103, 3,
}

The encounter of each Djinni battle (Encounter_GetDjinnEnemyGroup): {zone, slot}.

Definition at line 19 of file zonedata.c.

Referenced by Encounter_GetDjinnEnemyGroup().