Skip to Content
The Alchemy Project

include/scene/vault.h

The metatile behaviors of Vault's layout, which SceneIdVault (vault.c) and SceneIdVaultRevisit (vault_revisit.c) both draw and answer.

Included by vault.c and vault_revisit.c.

Enumerations

NameDescription
enumVAULT_METATILE_BEHAVIOR { METATILE_BEHAVIOR_VAULT_BRIDGE_END, METATILE_BEHAVIOR_VAULT_ … }The metatile behaviors Vault's step and examine cues answer; the exits have behaviors of their own.

Variables

NameDescription
extern Sint32VaultBoyRoundTheWellRoute []Both scenes' tables, defined by the shared parts they include: the children's routes round the well (shared/vault_well_routes.c) and the metatiles each door is redrawn with (shared/vault_door_metatiles.c).
extern Sint32VaultGirlRoundTheWellRoute []ACTOR_GIRL_ROUND_THE_WELL's walk round the same eight points, half a circle apart.
extern Uint16VaultGemOwnersHouseDoorMetatiles []Each door's opening, by the room it opens into.
extern Uint16VaultChildsHouseDoorMetatiles []
extern Uint16VaultInnDoorMetatiles []
extern Uint16VaultItemShopDoorMetatiles []
extern Uint16VaultWeaponAndArmorShopDoorMetatiles []
extern Uint16VaultMayorsHouseDoorMetatiles []
extern Uint16VaultJailDoorMetatiles []

Description

The metatile behaviors of Vault's layout, which SceneIdVault (vault.c) and SceneIdVaultRevisit (vault_revisit.c) both draw and answer.

Enumerations in detail

VAULT_METATILE_BEHAVIOR

enum VAULT_METATILE_BEHAVIOR

The metatile behaviors Vault's step and examine cues answer; the exits have behaviors of their own.

EnumeratorValueDescription
METATILE_BEHAVIOR_VAULT_BRIDGE_END1Either end of the rope bridge
METATILE_BEHAVIOR_VAULT_WEST_OF_BRIDGE2in the town's south-east, where stepping on raises the path that runs under the bridge to the bridge's deck (scVaultRaisePathToBridge). The three metatiles west of the bridge's west end, where stepping off lowers the path back under the bridge (scVaultLowerPathUnderBridge).
METATILE_BEHAVIOR_VAULT_GEM_OWNERS_HOUSE_DOOR5The door of the house where a man keeps a sparkling rock the volcano threw.
METATILE_BEHAVIOR_VAULT_CHILDS_HOUSE_DOOR6
METATILE_BEHAVIOR_VAULT_INN_DOOR7
METATILE_BEHAVIOR_VAULT_ITEM_SHOP_DOOR8
METATILE_BEHAVIOR_VAULT_WEAPON_AND_ARMOR_SHOP_DOOR9
METATILE_BEHAVIOR_VAULT_MAYORS_HOUSE_DOOR10
METATILE_BEHAVIOR_VAULT_SANCTUM_DOORWAY11
METATILE_BEHAVIOR_VAULT_DOOR_TO_JAIL12
METATILE_BEHAVIOR_VAULT_INN_LOFT_LADDER13The top of the ladder against the inn's west wall, which Isaac climbs in through the roof (scVaultClimbIntoInnLoft).
METATILE_BEHAVIOR_VAULT_SOUTH_GATE20Before the south gate's exit (VAULT_WORLD_MAP_SOUTH).
METATILE_BEHAVIOR_VAULT_NORTH_GATE21Before the north gate's
METATILE_BEHAVIOR_VAULT_BELL30exit (VAULT_TO_WORLD_MAP_NORTH).
METATILE_BEHAVIOR_VAULT_HIDDEN_PASSAGE40The hidden passage down into Vault Cave, which Reveal shows (VAULT_REVISIT_VAULT_CAVE_PASSAGE).
METATILE_BEHAVIOR_VAULT_CLIFF_CAVE_MOUTH41The cave mouth in the town's northeast cliff (VAULT_REVISIT_VAULT_CAVE_MOUTH).
METATILE_BEHAVIOR_VAULT_WELL90
METATILE_BEHAVIOR_VAULT_WOODEN_BOX101

Definition at line 11 of file vault.h.