A field scene's encounter zones (gBattle_LocationRules, location_rules.s), ended by scene -1. More...
Data Fields | |
| s16 | scene |
| s16 | entrance |
| -1 for any entrance | |
| s16 | flag: 15 |
| -1, or a flag that turns the rule off once set | |
| s16 | firstZoneOnGround: 1 |
| the first zone is for ground 0, not 1 | |
| s16 | firstZone |
| the first of up to seven consecutive zones | |
A field scene's encounter zones (gBattle_LocationRules, location_rules.s), ended by scene -1.
Definition at line 9 of file encounter.c.
| s16 BattleLocationRule::scene |
Definition at line 10 of file encounter.c.
Referenced by Encounter_SelectSceneZones().
| s16 BattleLocationRule::entrance |
-1 for any entrance
Definition at line 11 of file encounter.c.
Referenced by Encounter_SelectSceneZones().
| s16 BattleLocationRule::flag |
-1, or a flag that turns the rule off once set
Definition at line 12 of file encounter.c.
Referenced by Encounter_SelectSceneZones().
| s16 BattleLocationRule::firstZoneOnGround |
the first zone is for ground 0, not 1
Definition at line 13 of file encounter.c.
Referenced by Encounter_SelectSceneZones().
| s16 BattleLocationRule::firstZone |
the first of up to seven consecutive zones
Definition at line 14 of file encounter.c.
Referenced by Encounter_SelectSceneZones().