The storm's lightning work: the colours it flashes between and their difference, the countdown to the next flash and whether the thunder is loud. More...
#include <fxblend.h>
Data Fields | |
| s16 | from [0x540] |
| The storm's dark colours (PALETTE_TRANSFORM_WARM), as the colour buffer's B, G and R channels: each flash fades back to them. | |
| s16 | to [0x540] |
| the lit colours (PALETTE_TRANSFORM_PALE), as from | |
| s16 | delta [0x540] |
| the 12-frame steps from to back to from | |
| s16 | timer |
| Frames to the next flash, which comes in three, 5 frames apart; below 0 stops the lightning. | |
| s16 | enabled |
| Nonzero arms the next flash a random 51 to 549 frames after each, with a thunderclap. | |
| s16 | loud |
| nonzero plays the louder thunderclap, SE_172 for SE_171 | |
| u8 | unk1f86 [2] |
| not named by TBS code | |
The storm's lightning work: the colours it flashes between and their difference, the countdown to the next flash and whether the thunder is loud.
| s16 FieldBlendWork::from[0x540] |
The storm's dark colours (PALETTE_TRANSFORM_WARM), as the colour buffer's B, G and R channels: each flash fades back to them.
Definition at line 16 of file fxblend.h.
Referenced by BattleFx_StartBufferBlend(), and FieldFx_StartLightning().
| s16 FieldBlendWork::to[0x540] |
the lit colours (PALETTE_TRANSFORM_PALE), as from
Definition at line 17 of file fxblend.h.
Referenced by BattleFx_StartBufferBlend(), and FieldFx_StartLightning().
| s16 FieldBlendWork::delta[0x540] |
the 12-frame steps from to back to from
Definition at line 18 of file fxblend.h.
Referenced by BattleFx_StartBufferBlend(), and FieldFx_StartLightning().
| s16 FieldBlendWork::timer |
Frames to the next flash, which comes in three, 5 frames apart; below 0 stops the lightning.
Definition at line 21 of file fxblend.h.
Referenced by BattleFx_StartBufferBlend(), FieldFx_LastLightning(), FieldFx_ResumeLightning(), FieldFx_StartLightning(), FieldFx_StopLightning(), and FieldFx_UpdateLightning().
| s16 FieldBlendWork::enabled |
Nonzero arms the next flash a random 51 to 549 frames after each, with a thunderclap.
Definition at line 24 of file fxblend.h.
Referenced by BattleFx_StartBufferBlend(), FieldFx_LastLightning(), FieldFx_ResumeLightning(), FieldFx_StartLightning(), FieldFx_StopLightning(), and FieldFx_UpdateLightning().
| s16 FieldBlendWork::loud |
nonzero plays the louder thunderclap, SE_172 for SE_171
Definition at line 25 of file fxblend.h.
Referenced by Event_HurryToThePlaza(), FieldFx_UpdateLightning(), and ValeBabi_Initialize().