Skip to Content
The Alchemy Project

src/scene/shared/vault_doors.c

Vault, before and after the thieves are caught: Isaac opening a door of the town and going in. More…

Included by vault.c and vault_revisit.c.

Functions

NameDescription
static voidscVaultEnterGemOwnersHouse (void)Isaac opens the door of the house in the east, by the rope bridge (metatile (25, 21)), the gem owner's, and goes in.
static voidscVaultEnterChildsHouse (void)Isaac opens the door of the house east of the inn (metatile (19, 20)), a child's home, and goes in.
static voidscVaultEnterInn (void)Isaac opens the inn's door, in the middle of town (metatile (13, 19)), and goes in.
static voidscVaultEnterItemShop (void)Isaac opens the item shop's door, under the jar sign in the cliff in the east of town (metatile (23, 15)), and goes in.
static voidscVaultEnterWeaponAndArmorShop (void)Isaac opens the weapon and armor shop's door, under the sword sign in the cliff below the bell tower (metatile (18, 12)), and goes in, as at the item shop.
static voidscVaultEnterMayorsHouse (void)Isaac opens the door of the mayor's house, the big house in the town's north-west (metatile (7, 10)), and goes in.

Description

Vault, before and after the thieves are caught: Isaac opening a door of the town and going in. The scene names the room behind each door, which is a room of Log Rooms A before and of Log Rooms B after: VAULT_GEM_OWNERS_HOUSE_EXIT, VAULT_CHILDS_HOUSE_EXIT, VAULT_INN_EXIT, VAULT_ITEM_SHOP_EXIT, VAULT_WEAPON_AND_ARMOR_SHOP_EXIT and VAULT_MAYORS_HOUSE_EXIT.

Functions in detail

scVaultEnterGemOwnersHouse

static void scVaultEnterGemOwnersHouse(void)

Isaac opens the door of the house in the east, by the rope bridge (metatile (25, 21)), the gem owner's, and goes in.

References fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultGemOwnersHouseDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 9 of file vault_doors.c.

scVaultEnterChildsHouse

static void scVaultEnterChildsHouse(void)

Isaac opens the door of the house east of the inn (metatile (19, 20)), a child's home, and goes in.

References fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultChildsHouseDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 18 of file vault_doors.c.

scVaultEnterInn

static void scVaultEnterInn(void)

Isaac opens the inn's door, in the middle of town (metatile (13, 19)), and goes in.

References fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultInnDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 27 of file vault_doors.c.

scVaultEnterItemShop

static void scVaultEnterItemShop(void)

Isaac opens the item shop's door, under the jar sign in the cliff in the east of town (metatile (23, 15)), and goes in. The shop is an old couple's home too.

He vanishes into the doorway as he walks in: the leader is drawn behind the cliff from the door's first step.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultItemShopDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 40 of file vault_doors.c.

scVaultEnterWeaponAndArmorShop

static void scVaultEnterWeaponAndArmorShop(void)

Isaac opens the weapon and armor shop's door, under the sword sign in the cliff below the bell tower (metatile (18, 12)), and goes in, as at the item shop.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultWeaponAndArmorShopDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 56 of file vault_doors.c.

scVaultEnterMayorsHouse

static void scVaultEnterMayorsHouse(void)

Isaac opens the door of the mayor's house, the big house in the town's north-west (metatile (7, 10)), and goes in. Before the thieves are caught, Ivan waits there before he joins.

References fdMapGridPlayMapEdit(), scVaultWalkThroughExit(), sySoundPlay() and VaultMayorsHouseDoorMetatiles.

Referenced by VaultCues, VaultCuesAfterThieves and VaultRevisitCues.

Definition at line 72 of file vault_doors.c.