Advertisement
fggkyle

Untitled

Aug 22nd, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 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.p1StartColor.r = sp34.r;
  11. attackEffect.p2StartColor.r = sp30.r;
  12. attackEffect.p1EndColor.r = sp2C.r;
  13. attackEffect.p2EndColor.r = sp28.r;
  14.  
  15. attackEffect.p1StartColor.b = sp34.b;
  16. attackEffect.p2StartColor.b = sp30.b;
  17. attackEffect.p1EndColor.b = sp2C.b;
  18. attackEffect.p2EndColor.b = sp28.b;
  19.  
  20. attackEffect.p1StartColor.g = sp34.g;
  21. attackEffect.p2StartColor.g = sp30.g;
  22. attackEffect.p1EndColor.g = sp2C.g;
  23. attackEffect.p2EndColor.g = sp28.g;
  24.  
  25. attackEffect.p1StartColor.a = sp34.a;
  26. attackEffect.p2StartColor.a = sp30.a;
  27. attackEffect.p1EndColor.a = sp2C.a;
  28. attackEffect.p2EndColor.a = sp28.a;
  29.  
  30. attackEffect.elemDuration = 6;
  31. attackEffect.unkFlag = 0;
  32. attackEffect.calcMode = 3;
  33.  
  34. Effect_Add(globalCtx, &sp20, EFFECT_BLURE1, 0, 0, &attackEffect);
  35. return sp20;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement