Advertisement
MiaMyLove

SunShineSilver.mdA

Jun 15th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. void func_6426(var uParam0, int iParam1)
  2. {
  3. float fVar0;
  4. float fVar1;
  5. int iVar2;
  6. struct<7> Var3;
  7. int iVar4;
  8.  
  9. if (func_6459(-1))
  10. {
  11. if (func_6458() == 0)
  12. {
  13. if (*uParam0 == 0)
  14. {
  15. fVar0 = func_6457(joaat("mpply_overall_badsport"));
  16. func_6455();
  17. func_6454();
  18. if (func_6070(joaat("mpply_was_i_bad_sport")) == 1 && NETWORK::NETWORK_PLAYER_IS_BADSPORT() == 0)
  19. {
  20. fVar1 = func_6457(joaat("mpply_overall_badsport"));
  21. iVar2 = func_1760(joaat("mpply_became_badsport_num"));
  22. if (iVar2 == 0)
  23. {
  24. fVar1 = (fVar1 + 0f);
  25. }
  26. else if (iVar2 == 1)
  27. {
  28. fVar1 = (fVar1 + 5f);
  29. }
  30. else if (iVar2 == 2)
  31. {
  32. fVar1 = (fVar1 + 10f);
  33. }
  34. else if (iVar2 == 3)
  35. {
  36. fVar1 = (fVar1 + 15f);
  37. }
  38. else if (iVar2 == 4)
  39. {
  40. fVar1 = (fVar1 + 20f);
  41. }
  42. else
  43. {
  44. fVar1 = (fVar1 + 25f);
  45. }
  46. func_6453(joaat("mpply_overall_badsport"), fVar1);
  47. }
  48. if (NETWORK::NETWORK_PLAYER_IS_BADSPORT())
  49. {
  50. if (func_6070(joaat("mpply_was_i_bad_sport")) == 0)
  51. {
  52. func_6451(joaat("mpply_became_badsport_dt"), func_6452());
  53. }
  54. }
  55. else if (func_6070(joaat("mpply_was_i_bad_sport")))
  56. {
  57. func_1777(joaat("mpply_was_i_bad_sport"), 0);
  58. func_6451(joaat("mpply_became_badsport_dt"), Var3);
  59. }
  60. iVar4 = func_6450();
  61. if (iParam1 == 0)
  62. {
  63. func_6449(iVar4);
  64. func_6448(iVar4);
  65. func_6447(iVar4);
  66. func_6446(iVar4);
  67. func_6445(iVar4);
  68. func_6444(iVar4);
  69. func_6443(iVar4);
  70. func_6442(iVar4);
  71. func_6441(iVar4);
  72. func_6436(iVar4);
  73. func_6434();
  74. func_6431();
  75. func_6430();
  76. }
  77. if (fVar0 != func_6457(joaat("mpply_overall_badsport")) && !func_6428(func_6429(joaat("mpply_became_badsport_dt"))))
  78. {
  79. func_6427(SYSTEM::FLOOR(fVar0));
  80. }
  81. fVar0 = func_6457(joaat("mpply_overall_badsport"));
  82. *uParam0 = 1;
  83. }
  84. }
  85. }
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement