Advertisement
fggkyle

Untitled

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