Advertisement
Buffet_Time

Untitled

Jan 27th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. Object ScoreStats
  2.  
  3. if global.barehanded=1 and scrGetCurrentLevel()=5 SteamSetAchievement("ACH_THESE_ARE_MY_GUNS")
  4. scrSaveAchievements()
  5. scrCheckGuns()
  6. if global.xbox=1 scrInitXboxButtons()
  7. scrCountFlexibilityScore()
  8. scrCountMobilityScore()
  9. scrCheckLetters()
  10. scrCheckUsedGuns()
  11. scrCheckUsedMasks()
  12. scrCheckUsedThrows()
  13. scrCheckUsedKills()
  14. SteamCheckFinal()
  15. song=working_directory+"\Daisuke.mp3"
  16. //if global.sequence=rmSequence4 or global.sequence=rmSequence8 song=-1//working_directory+"\SilverLights.mp3"
  17. global.myscore=0
  18. bonus[0]=global.killscore
  19. bonus[1]=global.boldscore
  20. bonus[2]=global.comboscore
  21. bonus[3]=floor((18000-global.time)*0.5)
  22. if bonus[3]<0 bonus[3]=0
  23. bonus[4]=global.flexibilityscore
  24. bonus[5]=global.mobilityscore
  25. bonus[6]=global.specialscore
  26. i=0
  27. fastforward=0
  28. repeat (7) {
  29. drawbonus[i]=0
  30. amount[i]=0
  31. global.myscore+=bonus[i]
  32. i+=1
  33. }
  34. global.levelscore[global.currentlevel]=global.myscore
  35. parscore="/"+string(round((scrGetMaxpoints()*(7/15))*(1/500))*500)+"pts"
  36. type[0]="KILLINGS:"
  37. type[1]="BOLDNESS:"
  38. type[2]="COMBOS:"
  39. type[3]="TIME BONUS:"
  40. type[4]="FLEXIBILITY:"
  41. type[5]="MOBILITY:"
  42. type[6]="SPECIAL:"
  43. global.totalscore+=global.myscore
  44. global.newguns=0
  45. allguns=0
  46. i=0
  47. while global.newgun[i]=1 and i<15 {
  48. i+=1
  49. }
  50. if global.totalscore>(i+1)*50000 and global.totalscore-global.myscore<(i+1)*50000 global.newguns=1
  51. i+=1
  52. if global.totalscore>(i+1)*50000 and global.totalscore-global.myscore<(i+1)*50000 global.newguns=2 else i-=1
  53. nextgun=(i+1)*50000
  54. leftgun=global.totalscore
  55. //while leftgun>50000 leftgun-=50000
  56. i=0
  57. while global.newgun[i]=1 and i<16 {
  58. i+=1
  59. }
  60. if i=15 and global.newguns=2 global.newguns=1
  61. if i=16 {allguns=1 global.newguns=0}
  62. current=0
  63. dir=random(360)
  64. factor=0
  65. fade=0
  66. c_amount=0
  67.  
  68. global.surf1=surface_create(room_width,room_height)
  69. surface_set_target(global.surf1)
  70. draw_clear_alpha(c_black,0)
  71. surface_reset_target()
  72.  
  73.  
  74. repeat (5) instance_create(random(room_width),0,objHouseReturn)
  75.  
  76. i=0
  77. repeat (5) {
  78. palmx[i]=(room_width/4)*i
  79. palmindex[i]=floor(random(6))
  80. i+=1
  81. }
  82.  
  83. global.currentmask=0
  84. if global.sequence=rmSequence1 global.currentmask=1
  85. if global.sequence=rmSequence2 global.currentmask=2
  86. if global.sequence=rmSequence3 global.currentmask=3
  87. if global.sequence=rmSequence4 global.currentmask=4
  88. if global.sequence=rmSequence5 global.currentmask=5
  89. if global.sequence=rmSequence6 global.currentmask=6
  90. if global.sequence=rmSequence7 global.currentmask=7
  91. if global.sequence=rmSequence8 global.currentmask=8
  92. if global.sequence=rmSequence9 global.currentmask=9
  93. if global.sequence=rmSequence10 global.currentmask=10
  94. if global.sequence=rmSequence11 global.currentmask=11
  95. if global.sequence=rmSequence12 global.currentmask=12
  96. if global.sequence=rmSequence13 global.currentmask=13
  97. if global.sequence=rmSequence14 global.currentmask=14
  98. if global.sequence=rmMCBar global.currentmask=15
  99. if global.sequence=rmMCSequence2 global.currentmask=16
  100. if global.sequence=rmMCSequence3 global.currentmask=17
  101.  
  102.  
  103.  
  104. /*-Combos = Combo Bonus
  105. -Total time = Time Bonus
  106. -Weapons used = Flexibility Bonus
  107. -Distance between kills = Mobility Bonus
  108. -Only melee bonus = Melee Bonus
  109. -Shots fired during combat = Artillery Bonus
  110. -People who see you kill someone = Boldness Bonus*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement