src/scene/anemos_inner_sanctum_dullahan.c
The small stone rooms with dragon statues behind the doors at the head of the Anemos Sanctum's steps by Contigo's geoglyph, and in the same map the Inner Sanctum's last room, reached from its Dragon Skin and Orihalcon chests' rooms (SceneIdAnemosInnerSanctumDullahan). More…
#include "shared/actor_set_sprite_priority.c"#include "field/actor_script.h"#include "field/field_engine.h"#include "shared/actor_create_silhouette.c"#include "graphics/palette_buffers.h"#include "field/script_inline.h"#include "scene/scene.h"#include "game/game.h"#include "edition.h"#include "macros.h"#include "shared/scene_create_imported_actor.c"#include "../field/field_effect_move.c"#include "shared/field_effect_spawn.c"#include "text/msg_ids.h"#include "shared/light_sprites_init_channel_pieces.c"#include "shared/field_effect_duration_scripts.c"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_DULLAHAN_BEATEN 0xa9f | Set once the Dullahan, the shadow keeping the light, has been beaten; he is gone. |
#define | FLAG_SYMBOLS_LIT FLAG_SCENE_TEMP(0x00) | Set once the six blocks stand on the dark square: their symbols are lit, for the rest of the visit. |
#define | FLAG_DULLAHAN_FOUGHT FLAG_SCENE_TEMP(0x01) | Set as the battle with the Dullahan starts, for the light to rise when the party returns. |
#define | LIGHT_SPRITE_MIRRORED (1 << 7) | A glow's value with this bit drawn mirrored left to right; its low three bits are its tick. |
#define | EFFECT_SET_MODE fdActorSelectAnimation | |
#define | EFFECT_SET_SCRIPT fdActorStartScript | |
#define | EFFECT_SPRITE_PRIORITY | |
#define | SCENE_ENTRANCES_SECTION LATE_DATA |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { METATILE_BEHAVIOR_ANEMOS_INNER_SANCTUM_DULLAHAN_BLOCK_FLOOR, … } | The last room's metatile behaviours: its floor, where walking into a block pushes it, and the metatiles where Hover, cast once the six blocks stand in their places, floats the party across the gap. |
enum | anonymous enum { GLOW_DEPTH } | Where a glow joins the depth list: its actor's y + z plus this, where the actor's own sprite goes at + 62. |
enum | ANEMOS_INNER_SANCTUM_DULLAHAN_ACTOR_ID { ACTOR_SHADOW, ACTOR_SYMBOL_BLOCK_A, ACTOR_SYMBOL_BLOCK_B, AC … } | The hall's and the last room's actors (AnemosInnerSanctumDullahanPlacements). |
Functions
| Name | Description | |
|---|---|---|
void | scAnemosInnerSanctumDullahanPlaceBlocks (void) | Nothing visible: leaves the six blocks standing where they are, no longer pushed. |
void | scAnemosInnerSanctumDullahanSetLightPicture (Uint16 picture) | Chooses the glows' picture: 0 the still glow, 1 the five-tick flicker. |
void | scAnemosInnerSanctumDullahanStartLightSprites (void) | Sets up the glow sprites from the field engine's cached tiles D, with no picture row chosen yet. |
void | scAnemosInnerSanctumDullahanSetLightPriority (Uint16 priority) | Sets the glow sprites' priority; -1 takes each actor's own. |
void | scAnemosInnerSanctumDullahanOpenTheWay (void) | Felix casts Hover standing on the six blocks once their symbols are lit: one after another they hop up, then float the party 19 metatiles north across the gap (from metatile (12, 28) to (12, 9)) and settle with a thump. |
Sint32 | scAnemosInnerSanctumDullahanRemoveShadow (ACTOR *actor) | The call AnemosInnerSanctumDullahanDragonStatueScript makes: the actor's shadow is no longer drawn. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scAnemosInnerSanctumDullahanShadowChallenges (void) | As the blocks set the party down before him, the shadow at the door speaks, the room's colours warm, and the battle with the Dullahan starts, one the party cannot run from. |
void | scAnemosInnerSanctumDullahanLightRises (void) | Back from beating the Dullahan, the shadow and his light flash white, and the light swells and rises over him while he shrinks away. |
void | scAnemosInnerSanctumDullahanShadowByHeight (ACTOR *actor) | A floating block's shadow shows on the ground while the ground is near under it, and not over the gap. |
void | scAnemosInnerSanctumDullahanMoveBlock (Sint32 unused, Sint32 block) | Felix moves one of the six symbol blocks in the last room, with Move or by pushing it. |
void | scAnemosInnerSanctumDullahanStepWhilePushing (Sint32 behavior) | Felix walks into one of the six symbol blocks on the last room's floor and pushes it a metatile ahead, as scAnemosInnerSanctumDullahanMoveBlock. |
void | scAnemosInnerSanctumDullahanNoOperation (void) | Unused: does nothing. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
Sint32 | scInit (void) | Opens with the window transition. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scLightSpritesDraw (void) | Draws each listed actor's glow: a small 16-pixel glow on its tick, or, in the large mode, a 32 by 64 one. |
void | scLightSpritesAdd (Sint32 id, Sint32 glow) | Gives actor id a glow: glow is its tick, with LIGHT_SPRITE_MIRRORED to draw it mirrored. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | AnemosInnerSanctumDullahanLightGrowsScript [] | The light's rise: it grows and climbs for 40 ticks. |
extern Sint32 | AnemosInnerSanctumDullahanLightShrinksScript [] | The light shrinking back as it sinks, then gone. |
extern Sint32 | AnemosInnerSanctumDullahanShadowScript [] | The shadow shrinking away for 40 ticks, then gone. |
extern Sint8 | AnemosInnerSanctumDullahanBlockOrder [] | The order the blocks hop up in when the way opens. |
extern Sint32 | AnemosInnerSanctumDullahanDragonStatueScript [] | The coiled dragon statues' script, from ACTOR_FIRST_DRAGON_STATUE on: hides each one's sprite, then stops. |
Sint16 | LightSpriteTile | The glows drawn over the symbol blocks (scLightSpritesDraw): the VRAM cache entry of their tiles, how many actors carry one and which, their sprites, the large mode, the priority (-1 for each actor's own) and the picture row. |
Sint16 | LightSpriteCount | |
LIGHT_OAM | LightSpriteOams [16] | |
Sint16 | LightSpritesLarge | |
Sint16 | LightSpritePriority | |
Sint16 | AnemosInnerSanctumDullahanLightPicture | |
extern LATE_DATA ACTOR_PLACE | AnemosInnerSanctumDullahanEmptyPlacements [] | The scene's other room's actors: none. |
extern ACTOR_PLACE | AnemosInnerSanctumDullahanPlacements [] | The hall's and the last room's actors, in ANEMOS_INNER_SANCTUM_DULLAHAN_ACTOR_ID's order. |
extern Sint8 | AnemosInnerSanctumDullahanBlockSpots [] | The metatiles, x then z, where the six blocks must stand before Hover opens the way: the dark square in the middle of the room. |
extern CUE | AnemosInnerSanctumDullahanEmptyCues [] | The scene's other room's cues: none. |
extern CUE | AnemosInnerSanctumDullahanCues [] | The scene's exits, the last room's floor for pushing, Move on each block and Hover on the blocks' metatiles. |
LATE_DATA const Sint32 * | FieldEffectDurationScripts [] | The field effects' three scripts by how long an effect lasts: short, medium and long. |
LATE_DATA Uint32 | SceneExits [] | The room has no exits of its own. |
Description
The small stone rooms with dragon statues behind the doors at the head of the
Anemos Sanctum's steps by Contigo's geoglyph, and in the same map the Inner
Sanctum's last room, reached from its Dragon Skin and Orihalcon chests' rooms
(SceneIdAnemosInnerSanctumDullahan).
In the last room six grey stone blocks, each with a glowing symbol on top, stand around a dark square. Felix pushes them or moves them with Move until all six stand on the square; their symbols light up, and Hover cast standing on them floats the party north across the gap to the shadow who keeps the light. He challenges them, and the battle with the Dullahan begins; once he is beaten, his light rises in his place.
Macros in detail
FLAG_DULLAHAN_BEATEN
#define FLAG_DULLAHAN_BEATEN 0xa9f
Set once the Dullahan, the shadow keeping the light, has been beaten; he is gone.
Referenced by AnemosInnerSanctumDullahanPlacements, scAnemosInnerSanctumDullahanOpenTheWay() and scAnemosInnerSanctumDullahanShadowChallenges().
Definition at line 21 of file anemos_inner_sanctum_dullahan.c.
FLAG_SYMBOLS_LIT
#define FLAG_SYMBOLS_LIT FLAG_SCENE_TEMP(0x00)
Set once the six blocks stand on the dark square: their symbols are lit, for the rest of the visit.
Referenced by AnemosInnerSanctumDullahanCues, scAnemosInnerSanctumDullahanMoveBlock(), scAnemosInnerSanctumDullahanOpenTheWay() and scInit().
Definition at line 25 of file anemos_inner_sanctum_dullahan.c.
FLAG_DULLAHAN_FOUGHT
#define FLAG_DULLAHAN_FOUGHT FLAG_SCENE_TEMP(0x01)
Set as the battle with the Dullahan starts, for the light to rise when the party returns.
Referenced by scAnemosInnerSanctumDullahanShadowChallenges() and scInit().
Definition at line 28 of file anemos_inner_sanctum_dullahan.c.
LIGHT_SPRITE_MIRRORED
#define LIGHT_SPRITE_MIRRORED (1 << 7)
A glow's value with this bit drawn mirrored left to right; its low three bits are its tick.
Referenced by scInit() and scLightSpritesDraw().
Definition at line 41 of file anemos_inner_sanctum_dullahan.c.
EFFECT_SET_MODE
#define EFFECT_SET_MODE fdActorSelectAnimation
Referenced by EFFECT_SPAWN.
Definition at line 81 of file anemos_inner_sanctum_dullahan.c.
EFFECT_SET_SCRIPT
#define EFFECT_SET_SCRIPT fdActorStartScript
Referenced by EFFECT_SPAWN.
Definition at line 82 of file anemos_inner_sanctum_dullahan.c.
EFFECT_SPRITE_PRIORITY
#define EFFECT_SPRITE_PRIORITY
Definition at line 83 of file anemos_inner_sanctum_dullahan.c.
SCENE_ENTRANCES_SECTION
#define SCENE_ENTRANCES_SECTION LATE_DATA
Referenced by LATE_DATA and SceneEntrances.
Definition at line 643 of file anemos_inner_sanctum_dullahan.c.
Enumerations in detail
anonymous enum
enum { METATILE_BEHAVIOR_ANEMOS_INNER_SANCTUM_DULLAHAN_BLOCK_FLOOR, METATILE_BEHAVIOR_ANEMOS_INNER_SANCTUM_DULLAHAN_HOVER }
The last room's metatile behaviours: its floor, where walking into a block pushes it, and the metatiles where Hover, cast once the six blocks stand in their places, floats the party across the gap.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_ANEMOS_INNER_SANCTUM_DULLAHAN_BLOCK_FLOOR | 33 | |
METATILE_BEHAVIOR_ANEMOS_INNER_SANCTUM_DULLAHAN_HOVER | 77 |
Definition at line 33 of file anemos_inner_sanctum_dullahan.c.
anonymous enum
enum { GLOW_DEPTH }
Where a glow joins the depth list: its actor's y + z plus this, where the actor's own sprite goes at + 62.
| Enumerator | Value | Description |
|---|---|---|
GLOW_DEPTH | 58 |
Definition at line 45 of file anemos_inner_sanctum_dullahan.c.
ANEMOS_INNER_SANCTUM_DULLAHAN_ACTOR_ID
enum ANEMOS_INNER_SANCTUM_DULLAHAN_ACTOR_ID
The hall's and the last room's actors (AnemosInnerSanctumDullahanPlacements).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SHADOW | ACTOR_FIRST_PLACED | "I am the shadow, the keeper of light." |
ACTOR_SYMBOL_BLOCK_A | The six grey stone blocks, each with a glowing symbol on top, that Move sets in place before the way opens. | |
ACTOR_SYMBOL_BLOCK_B | ||
ACTOR_SYMBOL_BLOCK_C | ||
ACTOR_SYMBOL_BLOCK_D | ||
ACTOR_SYMBOL_BLOCK_E | ||
ACTOR_SYMBOL_BLOCK_F | ||
ACTOR_LIGHT | The light the shadow keeps, a blue orb: once the Dullahan is beaten it flashes white, swells over him and rises. | |
ACTOR_FIRST_DRAGON_STATUE | The fourteen coiled dragon statues, drawn without shadows by their script. |
Definition at line 62 of file anemos_inner_sanctum_dullahan.c.
Functions in detail
scAnemosInnerSanctumDullahanPlaceBlocks
void scAnemosInnerSanctumDullahanPlaceBlocks(void)
Nothing visible: leaves the six blocks standing where they are, no longer pushed.
References fdActorGetById() and Sint32.
Referenced by scAnemosInnerSanctumDullahanMoveBlock() and scInit().
Definition at lines 50 and 197 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanSetLightPicture
void scAnemosInnerSanctumDullahanSetLightPicture(Uint16 picture)
Chooses the glows' picture: 0 the still glow, 1 the five-tick flicker.
References AnemosInnerSanctumDullahanLightPicture.
Referenced by scAnemosInnerSanctumDullahanMoveBlock() and scInit().
Definition at lines 51 and 569 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanStartLightSprites
void scAnemosInnerSanctumDullahanStartLightSprites(void)
Sets up the glow sprites from the field engine's cached tiles D, with no picture row chosen yet.
References AnemosInnerSanctumDullahanLightPicture, FieldCachedTilesD, LightSpriteActors, LightSpriteCount, LightSpritePriority, LightSpritesLarge, LightSpriteTile, scLightSpritesDraw(), syDecompressTaggedLZ(), syHeapAllocate(), syHeapCallAlternatePool(), syHeapRelease(), sySetEvent(), syVRAMCacheFindFreeEntry() and syVRAMCacheLoad().
Referenced by scInit().
Definition at lines 90 and 532 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanSetLightPriority
void scAnemosInnerSanctumDullahanSetLightPriority(Uint16 priority)
Sets the glow sprites' priority; -1 takes each actor's own.
References LightSpritePriority.
Referenced by scInit().
Definition at lines 91 and 563 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanOpenTheWay
void scAnemosInnerSanctumDullahanOpenTheWay(void)
Felix casts Hover standing on the six blocks once their symbols are lit: one
after another they hop up, then float the party 19 metatiles north across the
gap (from metatile (12, 28) to (12, 9)) and settle with a thump. If the
Dullahan is not yet beaten, the shadow then challenges the party
(scAnemosInnerSanctumDullahanShadowChallenges). Cast again on the far side,
it floats them back south.
References AnemosInnerSanctumDullahanBlockOrder, fdActorFaceDirectionById(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetMoveTarget(), fdActorSetSpriteFlags(), fdActorWaitForMove(), fdMapGridGetMetatileBehaviorAt(), fdScriptEndLastingPsynergy(), MainRoutineStateWork, scAnemosInnerSanctumDullahanShadowByHeight(), scAnemosInnerSanctumDullahanShadowChallenges(), scFieldActorSetMoveTargetFX(), Sint32, syGameFlagGet(), sySoundPlay() and sySynch().
Referenced by AnemosInnerSanctumDullahanCues.
Definition at lines 92 and 293 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanRemoveShadow
Sint32 scAnemosInnerSanctumDullahanRemoveShadow(ACTOR *actor)
The call AnemosInnerSanctumDullahanDragonStatueScript makes: the actor's
shadow is no longer drawn.
References fdActorSetSpriteFlags() and Sint32.
Referenced by AnemosInnerSanctumDullahanDragonStatueScript.
Definition at line 113 of file anemos_inner_sanctum_dullahan.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 119 of file anemos_inner_sanctum_dullahan.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 124 of file anemos_inner_sanctum_dullahan.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 129 of file anemos_inner_sanctum_dullahan.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References AnemosInnerSanctumDullahanEmptyPlacements, AnemosInnerSanctumDullahanPlacements, MainRoutineStateWork, SceneIdAnemosInnerSanctumDullahan and Sint32.
Definition at line 137 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanShadowChallenges
void scAnemosInnerSanctumDullahanShadowChallenges(void)
As the blocks set the party down before him, the shadow at the door speaks, the room's colours warm, and the battle with the Dullahan starts, one the party cannot run from.
References fdActorStartRepeatedMotion(), fdPaletteFadeSetSource(), fdPaletteFadeSetTarget(), fdPaletteFadeStartInterpolation(), fdRequestBattleFromEncounterTable(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, mnFieldMessageShowCentered(), Sint32 and syGameFlagSet().
Referenced by scAnemosInnerSanctumDullahanOpenTheWay().
Definition at line 147 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanLightRises
void scAnemosInnerSanctumDullahanLightRises(void)
Back from beating the Dullahan, the shadow and his light flash white, and the light swells and rises over him while he shrinks away.
References AnemosInnerSanctumDullahanLightGrowsScript, AnemosInnerSanctumDullahanLightShrinksScript, AnemosInnerSanctumDullahanShadowScript, fdActorGetById(), fdActorPlaceOnActor(), fdActorSetMovementTypeAndWaitById(), fdActorSetMovementTypeById(), fdActorSetSpriteColor(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptWait(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at line 169 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanShadowByHeight
void scAnemosInnerSanctumDullahanShadowByHeight(ACTOR *actor)
A floating block's shadow shows on the ground while the ground is near under it, and not over the gap.
References fdActorSetSpriteFlags() and fdMapGetTerrainHeight().
Referenced by scAnemosInnerSanctumDullahanOpenTheWay().
Definition at line 212 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanMoveBlock
void scAnemosInnerSanctumDullahanMoveBlock(Sint32 unused, Sint32 block)
Felix moves one of the six symbol blocks in the last room, with Move or by pushing it. Once all six stand together on the dark square in the middle of the room (metatiles (11, 27) to (13, 28)), their symbols light up and flicker with a rising sound, and the blocks stay put for the rest of the visit.
Each block has its own spot, in AnemosInnerSanctumDullahanBlockSpots.
References AnemosInnerSanctumDullahanBlockSpots, fdActorGetById(), scAnemosInnerSanctumDullahanPlaceBlocks(), scAnemosInnerSanctumDullahanSetLightPicture(), Sint32, syGameFlagSet() and sySoundPlay().
Referenced by AnemosInnerSanctumDullahanCues and scAnemosInnerSanctumDullahanStepWhilePushing().
Definition at line 230 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanStepWhilePushing
void scAnemosInnerSanctumDullahanStepWhilePushing(Sint32 behavior)
Felix walks into one of the six symbol blocks on the last room's floor and
pushes it a metatile ahead, as scAnemosInnerSanctumDullahanMoveBlock. With no
block to push, he jumps two metatiles ahead where the ground allows
(fdTryJumpForward), but only while he stands less than 28 pixels below the
room's ground: never on the sunken floor itself, which lies 32 pixels down
(metatiles (7, 25) to (17, 30)); only up on the blocks, which he walks on as
platforms, or on the step at metatile (12, 25) and the landing at metatile
(12, 9) north of the gap, each 16 pixels down.
References fdActorGetById(), fdFindNearbyTalkTarget(), fdLeaderCanPushObjectAhead(), fdLeaderPushObjectAhead(), fdTryJumpForward(), MainRoutineStateWork, scAnemosInnerSanctumDullahanMoveBlock() and Sint32.
Referenced by AnemosInnerSanctumDullahanCues.
Definition at line 266 of file anemos_inner_sanctum_dullahan.c.
scAnemosInnerSanctumDullahanNoOperation
void scAnemosInnerSanctumDullahanNoOperation(void)
Unused: does nothing.
Definition at line 374 of file anemos_inner_sanctum_dullahan.c.
scGetCues
const CUE *scGetCues(void)
References AnemosInnerSanctumDullahanCues, AnemosInnerSanctumDullahanEmptyCues, MainRoutineStateWork, SceneIdAnemosInnerSanctumDullahan and Sint32.
Definition at line 381 of file anemos_inner_sanctum_dullahan.c.
scInit
Sint32 scInit(void)
Opens with the window transition. In the last room, gives the six blocks their symbols, lets the leader stand on them, and once they are placed this visit leaves them placed and flickering. Back from the Dullahan's battle, the light rises.
References fdActorGetById(), fdScriptGetFlag(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scAnemosInnerSanctumDullahanLightRises(), scAnemosInnerSanctumDullahanPlaceBlocks(), scAnemosInnerSanctumDullahanSetLightPicture(), scAnemosInnerSanctumDullahanSetLightPriority(), scAnemosInnerSanctumDullahanStartLightSprites(), SceneIdAnemosInnerSanctumDullahan, scLightSpritesAdd(), Sint32, syGameFlagClear() and syGameFlagGet().
Definition at line 392 of file anemos_inner_sanctum_dullahan.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 438 of file anemos_inner_sanctum_dullahan.c.
scLightSpritesDraw
void scLightSpritesDraw(void)
Draws each listed actor's glow: a small 16-pixel glow on its tick, or, in the large mode, a 32 by 64 one.
References AnemosInnerSanctumDullahanLightPicture, fdActorGetSpritePriority(), fdMapStateView(), LightSpriteActors, LightSpriteCount, LightSpriteOams, LightSpritePriority, LightSpritesLarge, LightSpriteTile, Sint32, syOAMAddSpriteAtDepthClamped(), TickCount and VramCacheEntries.
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 445 of file anemos_inner_sanctum_dullahan.c.
scLightSpritesAdd
void scLightSpritesAdd(Sint32 id, Sint32 glow)
Gives actor id a glow: glow is its tick, with LIGHT_SPRITE_MIRRORED to
draw it mirrored.
References fdActorGetById(), LightSpriteActors, LightSpriteCount and Sint32.
Referenced by scInit() and scPrepareMap().
Definition at line 550 of file anemos_inner_sanctum_dullahan.c.
Variables in detail
AnemosInnerSanctumDullahanLightGrowsScript
extern Sint32 AnemosInnerSanctumDullahanLightGrowsScript[]
Sint32 AnemosInnerSanctumDullahanLightGrowsScript[]
The light's rise: it grows and climbs for 40 ticks.
References Sint32.
Referenced by scAnemosInnerSanctumDullahanLightRises().
Definition at lines 86 and 578 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanLightShrinksScript
extern Sint32 AnemosInnerSanctumDullahanLightShrinksScript[]
Sint32 AnemosInnerSanctumDullahanLightShrinksScript[]
The light shrinking back as it sinks, then gone.
References Sint32.
Referenced by scAnemosInnerSanctumDullahanLightRises().
Definition at lines 87 and 588 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanShadowScript
extern Sint32 AnemosInnerSanctumDullahanShadowScript[]
Sint32 AnemosInnerSanctumDullahanShadowScript[]
The shadow shrinking away for 40 ticks, then gone.
References Sint32.
Referenced by scAnemosInnerSanctumDullahanLightRises().
Definition at lines 88 and 600 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanBlockOrder
extern Sint8 AnemosInnerSanctumDullahanBlockOrder[]
Sint8 AnemosInnerSanctumDullahanBlockOrder[]
The order the blocks hop up in when the way opens.
Referenced by scAnemosInnerSanctumDullahanOpenTheWay().
Definition at lines 89 and 617 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanDragonStatueScript
extern Sint32 AnemosInnerSanctumDullahanDragonStatueScript[]
LATE_DATA Sint32 AnemosInnerSanctumDullahanDragonStatueScript[]
The coiled dragon statues' script, from ACTOR_FIRST_DRAGON_STATUE on: hides
each one's sprite, then stops.
References scAnemosInnerSanctumDullahanRemoveShadow() and Sint32.
Referenced by AnemosInnerSanctumDullahanPlacements.
Definition at lines 94 and 638 of file anemos_inner_sanctum_dullahan.c.
LightSpriteTile
Sint16 LightSpriteTile
The glows drawn over the symbol blocks (scLightSpritesDraw): the VRAM cache
entry of their tiles, how many actors carry one and which, their sprites, the
large mode, the priority (-1 for each actor's own) and the picture row.
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 101 of file anemos_inner_sanctum_dullahan.c.
LightSpriteCount
Sint16 LightSpriteCount
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesAdd(), scLightSpritesAddCounted(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 102 of file anemos_inner_sanctum_dullahan.c.
LightSpriteOams
LIGHT_OAM LightSpriteOams[16]
Referenced by scLightSpritesDraw().
Definition at line 104 of file anemos_inner_sanctum_dullahan.c.
LightSpritesLarge
Sint16 LightSpritesLarge
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 105 of file anemos_inner_sanctum_dullahan.c.
LightSpritePriority
Sint16 LightSpritePriority
Referenced by scAnemosInnerSanctumDullahanSetLightPriority(), scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow(), scLightSpritesInitPathGlows() and scLightSpritesSetPriority().
Definition at line 106 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanLightPicture
Sint16 AnemosInnerSanctumDullahanLightPicture
Referenced by scAnemosInnerSanctumDullahanSetLightPicture(), scAnemosInnerSanctumDullahanStartLightSprites() and scLightSpritesDraw().
Definition at line 107 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanEmptyPlacements
extern LATE_DATA ACTOR_PLACE AnemosInnerSanctumDullahanEmptyPlacements[]
LATE_DATA ACTOR_PLACE AnemosInnerSanctumDullahanEmptyPlacements[]
The scene's other room's actors: none.
Referenced by scGetActorPlacements().
Definition at lines 134 and 673 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanPlacements
extern ACTOR_PLACE AnemosInnerSanctumDullahanPlacements[]
LATE_DATA ACTOR_PLACE AnemosInnerSanctumDullahanPlacements[]
The hall's and the last room's actors, in
ANEMOS_INNER_SANCTUM_DULLAHAN_ACTOR_ID's order.
References AnemosInnerSanctumDullahanDragonStatueScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 135 and 679 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanBlockSpots
extern Sint8 AnemosInnerSanctumDullahanBlockSpots[]
Sint8 AnemosInnerSanctumDullahanBlockSpots[]
The metatiles, x then z, where the six blocks must stand before Hover opens the way: the dark square in the middle of the room.
Referenced by scAnemosInnerSanctumDullahanMoveBlock().
Definition at lines 222 and 613 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanEmptyCues
extern CUE AnemosInnerSanctumDullahanEmptyCues[]
LATE_DATA CUE AnemosInnerSanctumDullahanEmptyCues[]
The scene's other room's cues: none.
Referenced by scGetCues().
Definition at lines 378 and 882 of file anemos_inner_sanctum_dullahan.c.
AnemosInnerSanctumDullahanCues
extern CUE AnemosInnerSanctumDullahanCues[]
LATE_DATA CUE AnemosInnerSanctumDullahanCues[]
The scene's exits, the last room's floor for pushing, Move on each block and Hover on the blocks' metatiles.
References scAnemosInnerSanctumDullahanMoveBlock(), scAnemosInnerSanctumDullahanOpenTheWay() and scAnemosInnerSanctumDullahanStepWhilePushing().
Referenced by scGetCues().
Definition at lines 379 and 888 of file anemos_inner_sanctum_dullahan.c.
FieldEffectDurationScripts
LATE_DATA const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Referenced by fdEffectSpawnResident(), scFieldEffectSpawn() and scFieldEffectSpawnLocal().
Definition at line 630 of file anemos_inner_sanctum_dullahan.c.
SceneExits
LATE_DATA Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 646 of file anemos_inner_sanctum_dullahan.c.