src/battle_effect/battle_effect_display.c
The display every effect starts from, the timed scroll of BG1 and BG2 the summons' skies use, and the line-by-line feed of window 0's edges. More…
Included by battle_effect.c.
Functions
| Name | Description | |
|---|---|---|
void | btEffectConfigureEffectDisplay (void) | Puts the battle screen back into the display state every effect starts from and ends with. |
void | btEffectAdvanceScrollOnInterval (void) | Scrolls BG1 a step every few frames. |
void | btEffectAdvanceBg2OnInterval (void) | Slides the affine BG2 a step every few frames. |
void | btEffectArmWin0HBlankDMA (void) | Restarts the DMA that feeds window 0's edges from the effect's per-line table. |
Description
The display every effect starts from, the timed scroll of BG1 and BG2 the
summons' skies use, and the line-by-line feed of window 0's edges. Part of
battle_effect.c.
Functions in detail
btEffectConfigureEffectDisplay
void btEffectConfigureEffectDisplay(void)
Puts the battle screen back into the display state every effect starts from and ends with.
References sySynch().
Referenced by btEffectRunAtalanta(), btEffectRunAttackSlash(), btEffectRunBoreas(), btEffectRunDouse(), btEffectRunIce(), btEffectRunJudgment(), btEffectRunKirin(), btEffectRunNeptune(), btEffectRunRamses(), btEffectRunStarfieldFall() and btEffectRunThor().
Definition at line 7 of file battle_effect_display.c.
btEffectAdvanceScrollOnInterval
void btEffectAdvanceScrollOnInterval(void)
Scrolls BG1 a step every few frames.
References BgScrollWork and state.
Referenced by btEffectRunAtalanta() and btEffectRunThor().
Definition at line 21 of file battle_effect_display.c.
btEffectAdvanceBg2OnInterval
void btEffectAdvanceBg2OnInterval(void)
Slides the affine BG2 a step every few frames.
Referenced by btEffectRunStarfieldFall().
Definition at line 35 of file battle_effect_display.c.
btEffectArmWin0HBlankDMA
void btEffectArmWin0HBlankDMA(void)
Restarts the DMA that feeds window 0's edges from the effect's per-line table.
References btDMAStop() and syDMAXCopy().
Referenced by btEffectRunDouse() and btEffectRunIce().
Definition at line 55 of file battle_effect_display.c.