Advertisement
fggkyle

Untitled

Aug 23rd, 2020 (edited)
1,785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.22 KB | None | 0 0
  1. s32 func_80B02300(GlobalContext *globalCtx) {
  2.     EffectBlureInit1 attackEffect;
  3.    
  4.                             //r  g   b    a
  5.     Color_RGBA8_n sp34 = { 255, 255, 255, 75 };
  6.     Color_RGBA8_n sp30 = { 255, 255, 255, 75 };
  7.     Color_RGBA8_n sp2C = { 255, 255, 255, 0 };
  8.     Color_RGBA8_n sp28 = { 255, 255, 255, 0 };
  9.  
  10.     s32 pad;
  11.     s32 sp20;
  12.    
  13.     attackEffect.p2StartColor.g = sp30.g;
  14.     attackEffect.p1StartColor.g = sp34.g;
  15.     attackEffect.p1StartColor.r = sp34.r;
  16.     attackEffect.p2StartColor.r = sp30.r;
  17.  
  18.     attackEffect.p1EndColor.r = sp2C.r;
  19.     attackEffect.p2EndColor.r = sp28.r;
  20.     attackEffect.p2EndColor.g = sp28.g;
  21.     attackEffect.p1EndColor.g = sp2C.g;
  22.  
  23.     attackEffect.p1StartColor.b = sp34.b;
  24.     attackEffect.p2StartColor.a = sp30.a;
  25.     attackEffect.p1StartColor.a = sp34.a;
  26.     attackEffect.p2EndColor.b = sp28.b;
  27.    
  28.     attackEffect.p1EndColor.b = sp2C.b;
  29.     attackEffect.p1EndColor.a = sp2C.a;
  30.     attackEffect.p2EndColor.a = sp28.a;
  31.     attackEffect.p2StartColor.b = sp30.b;
  32.    
  33.     attackEffect.elemDuration = 6;
  34.     attackEffect.unkFlag = 0;
  35.     attackEffect.calcMode = 3;
  36.    
  37.     Effect_Add(globalCtx, &sp20, EFFECT_BLURE1, 0, 0, &attackEffect);
  38.     return sp20;
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement