enderKik 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. # enderKik
  2. if health < 10:health = 10
  3. if profi = 1:
  4. profi = 0
  5. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  6. 'Time for the announcement ...'
  7. act 'Goto the middle for the announcement':
  8. if $ARGS[0] = 'win':
  9. cla
  10. *clr
  11. '<center><img src="images/community/kickboxing_win.jpg"></center>'
  12. 'Congratulations! You win!'
  13. KikWinPro += 1
  14. rikudo += 5
  15. end
  16. if $ARGS[0] = 'winKO':
  17. cla
  18. *clr
  19. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  20. 'Congratulations! You win!'
  21. 'And with a knockout!'
  22. KikWinPro += 1
  23. KikWinProKO += 1
  24. rikudo += 10
  25. end
  26. if $ARGS[0] = 'loss':
  27. cla
  28. *clr
  29. '<center><img src="images/community/kickboxing_loss.jpg"></center>'
  30. 'You lose.'
  31. KikLossPro += 1
  32. end
  33. if $ARGS[0] = 'lossKO':
  34. cla
  35. *clr
  36. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  37. 'Suddendly the room starts getting darker and darker ...'
  38. KikLossPro += 1
  39. KikLossProKO += 1
  40. end
  41. if $ARGS[0] = 'draw':
  42. cla
  43. *clr
  44. 'It''s a draw !'
  45. KikDrawPro += 1
  46. end
  47. ! WD: Argument is 'dressing room'
  48. act 'Leave the ring':gt 'fit', 'dressing room'
  49. end
  50. elseif amateur = 1:
  51. amateur = 0
  52. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  53. 'Time for the announcement ...'
  54. act 'Goto the middle for the announcement':
  55. if $ARGS[0] = 'win':
  56. cla
  57. *clr
  58. '<center><img src="images/community/kickboxing_win.jpg"></center>'
  59. 'Congratulations! You win!'
  60. KikWinAm += 1
  61. amateur = 0
  62. amatReit += 1
  63. money += 500 + kikmoney
  64. rikudo += 5
  65. 'You handed over a prize of 500 <b>₽</b>.'
  66. gs 'razrKik'
  67. end
  68. if $ARGS[0] = 'winKO':
  69. cla
  70. *clr
  71. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  72. 'Congratulations! You win!'
  73. 'Great victory!'
  74. KikWinAm += 1
  75. KikWinAmKO += 1
  76. amatReit += 1
  77. amateur = 0
  78. money += 500 + kikmoney
  79. rikudo += 10
  80. 'You handed over a prize of 500 <b>₽</b>.'
  81. gs 'razrKik'
  82. end
  83. if $ARGS[0] = 'loss':
  84. cla
  85. *clr
  86. '<center><img src="images/community/kickboxing_loss.jpg"></center>'
  87. 'You lose.'
  88. KikLossAm += 1
  89. if amatReit > 0:amatReit -= 1
  90. end
  91. if $ARGS[0] = 'lossKO':
  92. cla
  93. *clr
  94. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  95. 'Suddendly the room starts getting darker and darker ...'
  96. KikLossAm += 1
  97. KikLossAmKO += 1
  98. if amatReit > 0:amatReit -= 1
  99. end
  100. if $ARGS[0] = 'draw':
  101. cla
  102. *clr
  103. 'It''s a draw !'
  104. KikDrawAm += 1
  105. end
  106. ! WD: Argument is 'dressing room'
  107. act 'Leave the ring':gt 'fit', 'dressing room'
  108. end
  109. elseif sparing = 1:
  110. sparing = 0
  111. if $ARGS[0] = 'win':
  112. cla
  113. *clr
  114. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  115. 'The session is over.'
  116. 'Your rival comes to you and says,'
  117. '"Nice job in the ring."'
  118. 'She turns around and heads to the dressing room.'
  119. end
  120. if $ARGS[0] = 'winKO':
  121. cla
  122. *clr
  123. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  124. 'The session is over.'
  125. 'You didn''t have to knock her out.... Did you??'
  126. end
  127. if $ARGS[0] = 'loss':
  128. cla
  129. *clr
  130. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  131. 'The session is over.'
  132. 'Your rival comes to you and says,'
  133. '"Keep practicing."'
  134. 'She turns around and heads to the dressing room.'
  135. end
  136. if $ARGS[0] = 'lossKO':
  137. cla
  138. *clr
  139. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  140. 'The session is over.'
  141. 'Suddendly the room starts getting darker and darker ...'
  142. end
  143. if $ARGS[0] = 'draw':
  144. cla
  145. *clr
  146. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  147. 'The session is over.'
  148. 'Your rival comes to you and says,'
  149. '"That was pretty close, good workout."'
  150. 'She turns around and heads to the dressing room.'
  151. end
  152. ! WD: Argument is 'dressing room'
  153. act 'Leave the ring':gt 'fit', 'dressing room'
  154. end
  155. --- enderKik ---------------------------------