enderKik 4.6 KB

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