Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SetLightningBoltPurple.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "effects.h"
3
4API_CALLABLE(N(SetLightningBoltPurple)) {
5 EffectInstance* effect = (EffectInstance*)script->varTable[15];
6
7 effect->data.lightningBolt->outerColor.r = 85;
8 effect->data.lightningBolt->outerColor.g = 42;
9 effect->data.lightningBolt->outerColor.b = 255;
10 effect->data.lightningBolt->innerColor.r = 255;
11 effect->data.lightningBolt->innerColor.g = 175;
12 effect->data.lightningBolt->innerColor.b = 239;
13
14 return ApiStatus_DONE2;
15}
#define ApiStatus_DONE2
Definition evt.h:118