Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_starfield_fall.c

Meteor and Outer Space; the summons' formations and the burst they end in; brightening the background's colours; and an unused knockback and an unused copy of Nereid. More…

Included by battle_effect.c.

Macros

NameDescription
#defineFORMATION_SPACING 32The grid formations' sprites stand this many pixels apart.
#defineIMPACT_BURST_SHARD_PICTURES 23000The fragment pictures in the sprite sheet, four of 12x24, after the flash.
#defineIMPACT_BURST_FRAGMENT_WIDTH 12Each fragment picture's width.
#defineIMPACT_BURST_FRAGMENT_HEIGHT 24
#defineIMPACT_BURST_TICKS 72
#defineIMPACT_BURST_FRAGMENTS 3Fragments, state->particles 61 to 63.
#defineIMPACT_BURST_DRAWN_LARGE 30Large sparks drawn.
#defineIMPACT_BURST_DRAWN_SMALL 60Small sparks drawn.
#defineIMPACT_BURST_LARGE_SPARKS 64Large sparks thrown.
#defineIMPACT_BURST_SMALL_SPARKS 64Small sparks thrown.
#defineIMPACT_BURST_FIRST_FRAGMENT 61The first fragment in state->particles.
#defineIMPACT_BURST_FRAGMENT_SPEED 32In the units of a spark's speed.
#defineIMPACT_BURST_SHRINK_TICKS 16A spark shrinks a size each time this many ticks of its life run out.
#defineSTARFIELD_FALL_FALL_TICKS 192The fall and the burst, in ticks.
#defineSTARFIELD_FALL_BURST_TICKS 54
#defineSTARFIELD_FALL_DAMAGE_TICK 48The burst's tick the damage is told from.
#defineSTARFIELD_FALL_FLAME_SIZE 32The pictures in FlameSheetB (RESOURCE_FLAME_SHEET_B), each starting where the one before ends: six flames, then three large and three small glows, each glow brighter at its centre than the one before.
#defineSTARFIELD_FALL_LARGE_GLOW_SIZE 24
#defineSTARFIELD_FALL_SMALL_GLOW_SIZE 8
#defineSTARFIELD_FALL_FLASHES 128The burst's flashes in PARTICLES, then its embers, and how many of each it draws.
#defineSTARFIELD_FALL_EMBER_COUNT 512
#defineSTARFIELD_FALL_EMBERS (&PARTICLES[STARFIELD_FALL_FLASHES])
#defineSTARFIELD_FALL_FLASHES_DRAWN 64
#defineSTARFIELD_FALL_EMBERS_DRAWN 64
#defineSTARFIELD_FALL_FLAME_COUNT 32The fall's flames, from state->particles[0], and its landings after them.
#defineSTARFIELD_FALL_LANDINGS 16
#defineSTARFIELD_FALL_STARS 256The starfield's stars.
#defineSTARFIELD_FALL_RAGGED_EDGE 64How far down each column's ragged edge starts: the dissolve sweeps the picture's rows and this many more.
#defineSTARFIELD_FALL_GLOW_BLUE_LEVEL 32The backdrop's glow turns blue, and later green, once its level passes these.
#defineSTARFIELD_FALL_GLOW_GREEN_LEVEL 80
#defineSTARFIELD_FALL_FLASH_TICK 16The burst's flashes rise from this tick on, three more a tick, and the background brightens from STARFIELD_FALL_BRIGHTEN_DELAY ticks after it.
#defineSTARFIELD_FALL_BRIGHTEN_DELAY 20
#defineSTARFIELD_FALL_FLASH_PICTURES 7The blast sprite sheet's flash pictures, each shown two ticks.
#defineSTARFIELD_FALL_EMBER_SIZE_MAX 9An ember's depth is held between these: the nearest are drawn at STARFIELD_FALL_EMBER_SIZE_MAX, each STARFIELD_FALL_EMBER_DEPTH_STEP deeper a size smaller.
#defineSTARFIELD_FALL_EMBER_NEAR 160
#defineSTARFIELD_FALL_EMBER_FAR 799
#defineSTARFIELD_FALL_EMBER_DEPTH_STEP 64
#defineSTARFIELD_FALL_MOTE_PICTURES (16 * 16 + 32 * 32 + 5 * 48 * 48)The mote pictures in the blast sprite sheet, after its seven blast pictures (BLAST_PICTURE_SIZES): two sets, MOTE_SET_BYTES apart.

Enumerations

NameDescription
enumSTARFIELD_FALL_MODE { STARFIELD_FALL_METEOR, STARFIELD_FALL_OUTER_SPACE }The starfield fall's modes (btEffectRunStarfieldFall).
enumFLAME_SHEET_B_PICTURE { STARFIELD_FALL_FLAMES, STARFIELD_FALL_LARGE_GLOW, STARFIELD_ … }Where each picture begins in FlameSheetB, in bytes.

Functions

NameDescription
voidbtEffectStartActorMotionRandomDistance (Sint32 id)Unused: nothing calls it.
voidbtEffectRunNereidCopy (BATTLE_EFFECT_PARM *args)Unused: nothing reaches it (no handler, summon case or call).
voidbtEffectPlaceFormationSprites (Sint32 formation, Sint32 x, Sint32 z)Arranges state->sprites in a formation (SUMMON_FORMATION); x and z are its origin in 16.16 pixels.
voidbtEffectRunImpactBurst (Sint32 formation, Sint32 x, FIXED y)Opens an impact flash and scatters sparks and fragments, keeping the effect's sprites in formation for the first 36 ticks.
voidbtPaletteBrightenBgEntries (Sint32 blueDelta, Sint32 greenDelta, Sint32 redDelta)Brightens background colours 1 to 63 by a step in each channel, or darkens them by a negative one.
voidbtPaletteBrightenBattleBg (Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)Brightens the battle background's colours, BG palettes 6 to 13, by a step in each channel, or darkens them by a negative one.
voidbtPaletteBrightenSavedBattleBg (Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)As btPaletteBrightenBattleBg, from the battle background's own colours as the battle keeps them.
voidbtEffectArmPaletteHBlankDMA (void)Streams the fall's backdrop colours into colour 0, one each line.
voidbtEffectRunMeteor (BATTLE_EFFECT_PARM *args)The battle dissolves into a starfield and a meteor falls through it in flames among falling fireballs, then bursts in embers and flashes.
voidbtEffectRunOuterSpace (BATTLE_EFFECT_PARM *args)The Fusion Dragon leaps out of sight and falls back through a starfield in flames, then bursts in embers and flashes, all in the lightning bolt's colours.
voidbtEffectRunStarfieldFall (BATTLE_EFFECT_PARM *args, Sint32 mode)Meteor and Outer Space: the fall through the starfield, then the burst.

Variables

NameDescription
extern const SCALESummonFormationScaleThe scale of a summon formation's sprites drawn at their own size (btEffectPlaceFormationSprites).
extern const SCALESummonFormationLargeScaleThe scale of a summon formation's sprites drawn a quarter larger.

Description

Meteor and Outer Space; the summons' formations and the burst they end in; brightening the background's colours; and an unused knockback and an unused copy of Nereid. Part of battle_effect.c.

Macros in detail

FORMATION_SPACING

#define FORMATION_SPACING 32

The grid formations' sprites stand this many pixels apart.

Referenced by btEffectPlaceFormationSprites().

Definition at line 313 of file battle_effect_starfield_fall.c.

IMPACT_BURST_SHARD_PICTURES

#define IMPACT_BURST_SHARD_PICTURES 23000

The fragment pictures in the sprite sheet, four of 12x24, after the flash.

Referenced by btEffectRunImpactBurst().

Definition at line 398 of file battle_effect_starfield_fall.c.

IMPACT_BURST_FRAGMENT_WIDTH

#define IMPACT_BURST_FRAGMENT_WIDTH 12

Each fragment picture's width.

Referenced by btEffectRunImpactBurst().

Definition at line 400 of file battle_effect_starfield_fall.c.

IMPACT_BURST_FRAGMENT_HEIGHT

#define IMPACT_BURST_FRAGMENT_HEIGHT 24

Referenced by btEffectRunImpactBurst().

Definition at line 401 of file battle_effect_starfield_fall.c.

IMPACT_BURST_TICKS

#define IMPACT_BURST_TICKS 72

Referenced by btEffectRunImpactBurst().

Definition at line 403 of file battle_effect_starfield_fall.c.

IMPACT_BURST_FRAGMENTS

#define IMPACT_BURST_FRAGMENTS 3

Fragments, state->particles 61 to 63.

Referenced by btEffectRunImpactBurst().

Definition at line 405 of file battle_effect_starfield_fall.c.

IMPACT_BURST_DRAWN_LARGE

#define IMPACT_BURST_DRAWN_LARGE 30

Large sparks drawn.

Referenced by btEffectRunImpactBurst().

Definition at line 407 of file battle_effect_starfield_fall.c.

IMPACT_BURST_DRAWN_SMALL

#define IMPACT_BURST_DRAWN_SMALL 60

Small sparks drawn.

Referenced by btEffectRunImpactBurst().

Definition at line 409 of file battle_effect_starfield_fall.c.

IMPACT_BURST_LARGE_SPARKS

#define IMPACT_BURST_LARGE_SPARKS 64

Large sparks thrown.

Referenced by btEffectRunImpactBurst().

Definition at line 411 of file battle_effect_starfield_fall.c.

IMPACT_BURST_SMALL_SPARKS

#define IMPACT_BURST_SMALL_SPARKS 64

Small sparks thrown.

Referenced by btEffectRunImpactBurst().

Definition at line 413 of file battle_effect_starfield_fall.c.

IMPACT_BURST_FIRST_FRAGMENT

#define IMPACT_BURST_FIRST_FRAGMENT 61

The first fragment in state->particles.

Referenced by btEffectRunImpactBurst().

Definition at line 415 of file battle_effect_starfield_fall.c.

IMPACT_BURST_FRAGMENT_SPEED

#define IMPACT_BURST_FRAGMENT_SPEED 32

In the units of a spark's speed.

Referenced by btEffectRunImpactBurst().

Definition at line 417 of file battle_effect_starfield_fall.c.

IMPACT_BURST_SHRINK_TICKS

#define IMPACT_BURST_SHRINK_TICKS 16

A spark shrinks a size each time this many ticks of its life run out.

Referenced by btEffectRunImpactBurst().

Definition at line 419 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FALL_TICKS

#define STARFIELD_FALL_FALL_TICKS 192

The fall and the burst, in ticks.

Referenced by btEffectRunStarfieldFall().

Definition at line 741 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_BURST_TICKS

#define STARFIELD_FALL_BURST_TICKS 54

Referenced by btEffectRunStarfieldFall().

Definition at line 742 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_DAMAGE_TICK

#define STARFIELD_FALL_DAMAGE_TICK 48

The burst's tick the damage is told from.

Referenced by btEffectRunStarfieldFall().

Definition at line 744 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLAME_SIZE

#define STARFIELD_FALL_FLAME_SIZE 32

The pictures in FlameSheetB (RESOURCE_FLAME_SHEET_B), each starting where the one before ends: six flames, then three large and three small glows, each glow brighter at its centre than the one before. The fall draws only the six and the brightest glow of each size.

Referenced by btEffectRunStarfieldFall().

Definition at line 750 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_LARGE_GLOW_SIZE

#define STARFIELD_FALL_LARGE_GLOW_SIZE 24

Referenced by btEffectRunStarfieldFall().

Definition at line 751 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_SMALL_GLOW_SIZE

#define STARFIELD_FALL_SMALL_GLOW_SIZE 8

Referenced by btEffectRunStarfieldFall().

Definition at line 752 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLASHES

#define STARFIELD_FALL_FLASHES 128

The burst's flashes in PARTICLES, then its embers, and how many of each it draws.

Referenced by btEffectRunStarfieldFall().

Definition at line 772 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBER_COUNT

#define STARFIELD_FALL_EMBER_COUNT 512

Referenced by btEffectRunStarfieldFall().

Definition at line 773 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBERS

#define STARFIELD_FALL_EMBERS (&PARTICLES[STARFIELD_FALL_FLASHES])

Referenced by btEffectRunStarfieldFall().

Definition at line 774 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLASHES_DRAWN

#define STARFIELD_FALL_FLASHES_DRAWN 64

Referenced by btEffectRunStarfieldFall().

Definition at line 775 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBERS_DRAWN

#define STARFIELD_FALL_EMBERS_DRAWN 64

Referenced by btEffectRunStarfieldFall().

Definition at line 776 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLAME_COUNT

#define STARFIELD_FALL_FLAME_COUNT 32

The fall's flames, from state->particles[0], and its landings after them.

Referenced by btEffectRunStarfieldFall().

Definition at line 778 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_LANDINGS

#define STARFIELD_FALL_LANDINGS 16

Referenced by btEffectRunStarfieldFall().

Definition at line 779 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_STARS

#define STARFIELD_FALL_STARS 256

The starfield's stars.

Referenced by btEffectRunStarfieldFall().

Definition at line 781 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_RAGGED_EDGE

#define STARFIELD_FALL_RAGGED_EDGE 64

How far down each column's ragged edge starts: the dissolve sweeps the picture's rows and this many more.

Referenced by btEffectRunStarfieldFall().

Definition at line 784 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_GLOW_BLUE_LEVEL

#define STARFIELD_FALL_GLOW_BLUE_LEVEL 32

The backdrop's glow turns blue, and later green, once its level passes these.

Referenced by btEffectRunStarfieldFall().

Definition at line 786 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_GLOW_GREEN_LEVEL

#define STARFIELD_FALL_GLOW_GREEN_LEVEL 80

Referenced by btEffectRunStarfieldFall().

Definition at line 787 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLASH_TICK

#define STARFIELD_FALL_FLASH_TICK 16

The burst's flashes rise from this tick on, three more a tick, and the background brightens from STARFIELD_FALL_BRIGHTEN_DELAY ticks after it.

Referenced by btEffectRunStarfieldFall().

Definition at line 790 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_BRIGHTEN_DELAY

#define STARFIELD_FALL_BRIGHTEN_DELAY 20

Referenced by btEffectRunStarfieldFall().

Definition at line 791 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_FLASH_PICTURES

#define STARFIELD_FALL_FLASH_PICTURES 7

The blast sprite sheet's flash pictures, each shown two ticks.

Referenced by btEffectRunStarfieldFall().

Definition at line 793 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBER_SIZE_MAX

#define STARFIELD_FALL_EMBER_SIZE_MAX 9

An ember's depth is held between these: the nearest are drawn at STARFIELD_FALL_EMBER_SIZE_MAX, each STARFIELD_FALL_EMBER_DEPTH_STEP deeper a size smaller.

Referenced by btEffectRunStarfieldFall().

Definition at line 797 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBER_NEAR

#define STARFIELD_FALL_EMBER_NEAR 160

Referenced by btEffectRunStarfieldFall().

Definition at line 798 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBER_FAR

#define STARFIELD_FALL_EMBER_FAR 799

Referenced by btEffectRunStarfieldFall().

Definition at line 799 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_EMBER_DEPTH_STEP

#define STARFIELD_FALL_EMBER_DEPTH_STEP 64

Referenced by btEffectRunStarfieldFall().

Definition at line 800 of file battle_effect_starfield_fall.c.

STARFIELD_FALL_MOTE_PICTURES

#define STARFIELD_FALL_MOTE_PICTURES (16 * 16 + 32 * 32 + 5 * 48 * 48)

The mote pictures in the blast sprite sheet, after its seven blast pictures (BLAST_PICTURE_SIZES): two sets, MOTE_SET_BYTES apart.

Referenced by btEffectRunStarfieldFall().

Definition at line 804 of file battle_effect_starfield_fall.c.

Enumerations in detail

STARFIELD_FALL_MODE

enum STARFIELD_FALL_MODE

The starfield fall's modes (btEffectRunStarfieldFall).

EnumeratorValueDescription
STARFIELD_FALL_METEORone spawned sprite falls
STARFIELD_FALL_OUTER_SPACEthe user leaps, and two animated sprites fall in the lightning bolt's colours

Definition at line 6 of file battle_effect_starfield_fall.c.

FLAME_SHEET_B_PICTURE

enum FLAME_SHEET_B_PICTURE

Where each picture begins in FlameSheetB, in bytes.

EnumeratorValueDescription
STARFIELD_FALL_FLAMES0The six 32x32 flames, in a row
STARFIELD_FALL_LARGE_GLOWSTARFIELD_FALL_FLAMES + 6 * STARFIELD_FALL_FLAME_SIZE * STARFIELD_FALL_FLAME_SIZE + 2 * STARFIELD_FALL_LARGE_GLOW_SIZE * STARFIELD_FALL_LARGE_GLOW_SIZEThe brightest 24x24 glow
STARFIELD_FALL_SMALL_GLOWSTARFIELD_FALL_LARGE_GLOW + STARFIELD_FALL_LARGE_GLOW_SIZE * STARFIELD_FALL_LARGE_GLOW_SIZE + 2 * STARFIELD_FALL_SMALL_GLOW_SIZE * STARFIELD_FALL_SMALL_GLOW_SIZEThe brightest 8x8 glow

Definition at line 755 of file battle_effect_starfield_fall.c.

Functions in detail

btEffectStartActorMotionRandomDistance

void btEffectStartActorMotionRandomDistance(Sint32 id)

Unused: nothing calls it. Knocks a unit back: unless it is the Fusion Dragon or one of three of the Doom Dragon's forms, it leaps back to 130 to 193 percent of its place's x, then takes its damage pose.

References btObjectGetStub(), fdActorSelectAnimationStub(), gmUnitGet(), Sint32 and syRandom().

Definition at line 16 of file battle_effect_starfield_fall.c.

btEffectRunNereidCopy

void btEffectRunNereidCopy(BATTLE_EFFECT_PARM *args)

Unused: nothing reaches it (no handler, summon case or call). A second copy of btEffectRunNereid, with its names: Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away.

References btEffectBuildCanvasBlitters(), btEffectCreateSprites(), btEffectEndCanvasLayer(), btEffectPlaceFormationSprites(), btEffectRunImpactBurst(), btEffectShowLivingTargets(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), fdSpriteDestroyStub(), NereidCopyColumns, NereidCopyGravity, PerWork, Sint32, syCloseEvent(), syCos(), syDecompressTaggedLZ(), syDMAXCopy(), syRandom(), syResourceGetTableEntry(), sySin(), sySoundPlayStub() and sySynch().

Definition at line 47 of file battle_effect_starfield_fall.c.

btEffectPlaceFormationSprites

void btEffectPlaceFormationSprites(Sint32 formation, Sint32 x, Sint32 z)

Arranges state->sprites in a formation (SUMMON_FORMATION); x and z are its origin in 16.16 pixels.

References fdRenderApplyProjectedPlacementStub(), Sint32, SummonFormationCybeleX, SummonFormationCybeleZ, SummonFormationLargeScale, SummonFormationMegaeraX, SummonFormationMegaeraZ, SummonFormationNereidX, SummonFormationNereidZ, SummonFormationScale, SummonFormationTiamatAlternateX, SummonFormationTiamatAlternateZ, SummonFormationTiamatX and SummonFormationTiamatZ.

Referenced by btEffectRunCybele(), btEffectRunDragonFire(), btEffectRunImpactBurst(), btEffectRunMegaera(), btEffectRunMoloch(), btEffectRunNereid(), btEffectRunNereidCopy() and btEffectRunThor().

Definition at line 317 of file battle_effect_starfield_fall.c.

btEffectRunImpactBurst

void btEffectRunImpactBurst(Sint32 formation, Sint32 x, FIXED y)

Opens an impact flash and scatters sparks and fragments, keeping the effect's sprites in formation for the first 36 ticks.

References btEffectPlaceFormationSprites(), btEffectTransferCanvas(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), ImpactBurstPictureHeights, ImpactBurstPictures, ImpactBurstPictureWidths, Sint32, syCloseEvent(), syCos(), syRandom(), sySin(), sySoundPlayStub() and syWordsClear().

Referenced by btEffectRunCybele(), btEffectRunDragonFire(), btEffectRunMegaera(), btEffectRunMoloch(), btEffectRunNereid(), btEffectRunNereidCopy() and btEffectRunThor().

Definition at line 423 of file battle_effect_starfield_fall.c.

btPaletteBrightenBgEntries

void btPaletteBrightenBgEntries(Sint32 blueDelta, Sint32 greenDelta, Sint32 redDelta)

Brightens background colours 1 to 63 by a step in each channel, or darkens them by a negative one.

References Sint32.

Referenced by btEffectRunCatastrophe(), btEffectRunCloudSwirl(), btEffectRunCoatlicue(), btEffectRunCruelRuin(), btEffectRunDragonFire(), btEffectRunFormChange(), btEffectRunMegiddo(), btEffectRunMoloch(), btEffectRunOdyssey(), btEffectRunRisingDragonEnemy() and btEffectRunStarfieldFall().

Definition at line 604 of file battle_effect_starfield_fall.c.

btPaletteBrightenBattleBg

void btPaletteBrightenBattleBg(Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)

Brightens the battle background's colours, BG palettes 6 to 13, by a step in each channel, or darkens them by a negative one.

References Sint32.

Referenced by btEffectRunCruelRuin(), btEffectRunDjinniEntrance(), btEffectRunEclipse(), btEffectRunHaures(), btEffectRunMegiddo() and btEffectRunMeteorBlow().

Definition at line 638 of file battle_effect_starfield_fall.c.

btPaletteBrightenSavedBattleBg

void btPaletteBrightenSavedBattleBg(Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)

As btPaletteBrightenBattleBg, from the battle background's own colours as the battle keeps them.

References Sint32.

Referenced by btEffectRunBackgroundFadeIn(), btEffectRunCatastrophe(), btEffectRunCharon(), btEffectRunCoatlicue(), btEffectRunCruelRuin(), btEffectRunEclipse(), btEffectRunHaures() and btEffectRunIris().

Definition at line 672 of file battle_effect_starfield_fall.c.

btEffectArmPaletteHBlankDMA

void btEffectArmPaletteHBlankDMA(void)

Streams the fall's backdrop colours into colour 0, one each line.

References syDMAXCopy().

Referenced by btEffectRunAzul(), btEffectRunCoatlicue() and btEffectRunStarfieldFall().

Definition at line 707 of file battle_effect_starfield_fall.c.

btEffectRunMeteor

void btEffectRunMeteor(BATTLE_EFFECT_PARM *args)

The battle dissolves into a starfield and a meteor falls through it in flames among falling fireballs, then bursts in embers and flashes.

Abilities: Meteor.

References btEffectRunStarfieldFall().

Referenced by btEffectRunSummon().

Definition at line 725 of file battle_effect_starfield_fall.c.

btEffectRunOuterSpace

void btEffectRunOuterSpace(BATTLE_EFFECT_PARM *args)

The Fusion Dragon leaps out of sight and falls back through a starfield in flames, then bursts in embers and flashes, all in the lightning bolt's colours.

Abilities: Outer Space, the Fusion Dragon's.

References btEffectRunStarfieldFall().

Referenced by BattleEffectHandlers.

Definition at line 735 of file battle_effect_starfield_fall.c.

btEffectRunStarfieldFall

void btEffectRunStarfieldFall(BATTLE_EFFECT_PARM *args, Sint32 mode)

Meteor and Outer Space: the fall through the starfield, then the burst.

References BattleEffectMotePictures, BgScrollWork, btCameraShake(), btEffectAdvanceBg2OnInterval(), btEffectArmPaletteHBlankDMA(), btEffectBuildBlitter(), btEffectConfigureEffectDisplay(), btEffectCreateSprites(), btEffectEndCanvasLayer(), btEffectPosProjectPoint(), btEffectSetupBlendedDisplay(), btEffectShowLivingTargets(), btEffectTintBattler(), btEffectTransferCanvas(), btEffectTransferFullScreenImage(), btEffectWipeCanvas(), btObjectGetStub(), btObjectPutStub(), btPaletteBrightenBgEntries(), btParticleAdvanceWithGravity3D(), btResourceLoadAndDecompress(), fdRenderApplyProjectedPlacementStub(), fdScreenPointCoordinates(), fdSpriteCreateStub(), fdSpriteDestroyStub(), fdSpriteStartAnimationStub(), PerWork, ProjectionWork, Sint32, StarfieldFallFireballPoints, StarfieldFallFlashPictures, StarfieldFallFlashSizes, StarfieldFallOrbitPoints, syCloseEvent(), syCos(), syHeapSlotRelease(), syInitMatrix(), syMatrixTranslateVector(), syRandom(), syResourceGetTableEntry(), syRotY(), syRotZ(), sySetEvent(), sySin(), sySoundPlayStub(), sySynch() and syWordsCopy().

Referenced by btEffectRunMeteor() and btEffectRunOuterSpace().

Definition at line 807 of file battle_effect_starfield_fall.c.