FightCrouch.qsrc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # FightCrouch
  2. menu_off = 1
  3. gs 'fightStat'
  4. stoper = 0
  5. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cro.jpg"></center>'
  6. if crouch = 1:
  7. enrand = rand(0, 1)
  8. if enrand = 0:$text = '<<$nameE>> falls flat to the floor.'
  9. if enrand = 1:$text = '<<$nameE>> is trying to roll over on their back.'
  10. if enrand = 2:$text = '<<$nameE>> is trying to counter roll.'
  11. '<<$nameE>> is on all fours in front of you.'
  12. act 'Attempt a headlock':
  13. cls
  14. endur -= 2
  15. 'You are trying to headlock your opponent. <<$text>>'
  16. if enrand = 0:
  17. pointE += 1
  18. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cron.jpg"></center>'
  19. 'Your opponent manages to press themselves to the floor but you''re too fast and manage to grab hold of your opponent.'
  20. act '...':gt 'fightfw'
  21. elseif enrand = 1:
  22. point += 2
  23. endurE -= 1
  24. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crob.jpg"></center>'
  25. 'You reverse the opponent''s attempt to roll you over and instead you lock them in.'
  26. act '...':gt 'fight1'
  27. end
  28. end
  29. act 'Attempt a cradle':
  30. cls
  31. endur -= 1
  32. 'You attempt to perform a cradle move. <<$text>>'
  33. if enrand = 0:
  34. point += 1
  35. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crou.jpg"></center>'
  36. 'Your opponent manages to press themselves to the floor and you''re unable to grab hold of your opponent.'
  37. act '...':gt 'fight2'
  38. elseif enrand = 1:
  39. pointE += 1
  40. endurE -= 1
  41. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cronu.jpg"></center>'
  42. 'You reverse the opponent''s attempt to roll you over and instead you lock them in.'
  43. act '...':gt 'fight3'
  44. elseif enrand = 2:
  45. ''
  46. end
  47. end
  48. else
  49. enrand = rand(0, 1)
  50. if enrand = 0:$text = '<<$nameE>> attempts a move.'
  51. if enrand = 1:$text = '<<$nameE>> attempts to hold you down.'
  52. 'You''re on all fours in front of your opponent.'
  53. act 'Drop down':
  54. cls
  55. 'You press yourself to the floor. <<$text>>'
  56. if enrand = 0:
  57. point += 1
  58. endurE -= 2
  59. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cron.jpg"></center>'
  60. 'The opponent is unable to perform the move.'
  61. act '...':gt 'fightE'
  62. elseif enrand = 1:
  63. pointE += 1
  64. endurE -= 1
  65. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crou.jpg"></center>'
  66. 'The opponent successfully performs a move.'
  67. act '...':gt 'fightE1'
  68. end
  69. end
  70. act 'Bridge':
  71. cls
  72. endur -= 1
  73. 'You''re attempting a brigde. <<$text>>'
  74. if enrand = 0:
  75. pointE += 2
  76. endurE -= 2
  77. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crob.jpg"></center>'
  78. 'The opponent easily reverses you attempt and gains an advantage on you.'
  79. act '...':gt 'fightE2'
  80. elseif enrand = 1:
  81. point += 1
  82. endurE -= 1
  83. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cronu.jpg"></center>'
  84. 'You successfully manage to perform the move on your opponent and grab hold of their back.'
  85. act '...':gt 'fightE3'
  86. end
  87. end
  88. end
  89. --- FightCrouch ---------------------------------