fight 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. # fight
  2. if $ARGS[0] = 'start':
  3. cla
  4. inFight = 1
  5. if night_mode = 1:
  6. fcolor = rgb(255, 255, 255)
  7. bcolor = rgb(0, 0, 0)
  8. lcolor = rgb(106, 90, 205)
  9. else
  10. fcolor = rgb(0, 0, 0)
  11. bcolor = rgb(255, 255, 255)
  12. lcolor = rgb(106, 90, 205)
  13. end
  14. gs'defence'
  15. gs'statBat'
  16. if SasoriBody > 2 and healthV <= 0 or SasoriBody > 2 and mannaV <= 0 or SasoriBody > 2 and willpowerV <= 0:
  17. SasoriBody = SasoriBody - 1
  18. gs'priziv','sasori'
  19. '<b><font color = red>The doll parts scatter all over and immediately head into battle mode.</font></b>'
  20. '<b><font color = red>You hear the sonorous voice of Sasori, "I have a lots of dolls, you can''t beat me."</font></b>'
  21. elseif SasoriBody = 2 and healthV <= 0 or SasoriBody = 2 and mannaV <= 0 or SasoriBody = 2 and willpowerV <= 0:
  22. SasoriBody = SasoriBody - 1
  23. gs'priziv','sasori1'
  24. '<b><font color = red>The last doll crumbles into pieces and you''ve finally reached Sasori.</font></b>'
  25. end
  26. if stunV > 0 and SasoriBody > 1:
  27. stunV = 0
  28. '<b><font color = red>The doll began to move again.</font></b>'
  29. end
  30. if stunV > 0 and SasoriBody = 1:
  31. stunV = 0
  32. '<b><font color = red>Sasori moves again.</font></b>'
  33. end
  34. if GedoMazo = 1 and healthV <= 0 or GedoMazo = 1 and mannaV <= 0 or GedoMazo = 1 and willpowerV <= 0:
  35. GedoMazo = 2
  36. barierV = 0
  37. '<b><font color = green><<$boydesc>> He fell to the ground and turned to dust.</font></b>'
  38. gs'priziv','tobi'
  39. '<b><font color = green><<$boydesc>>Attack</font></b>'
  40. end
  41. if pcs_health <= 0 and heart = 0 and izanagi = 0:
  42. '<b><font color = red>You lost!</font></b>'
  43. xgt'ender','loss'
  44. exit
  45. elseif healthV <= 0 and heartV = 0 and izanagiV = 0:
  46. '<b><font color = green><<$boydesc>>You won!</font></b>'
  47. xgt'ender','win'
  48. exit
  49. elseif pcs_manna <= 0 and heart = 0 and izanagi = 0:
  50. '<b><font color = red>You won!</font></b>'
  51. xgt'ender','loss'
  52. exit
  53. elseif mannaV <= 0 and heartV = 0 and izanagiV = 0:
  54. '<b><font color = green><<$boydesc>> lost!</font></b>'
  55. xgt'ender','win'
  56. exit
  57. elseif pcs_willpwr <= 0 and heart = 0 and izanagi = 0:
  58. '<b><font color = red>You lost!</font></b>'
  59. xgt'ender','loss'
  60. exit
  61. elseif willpowerV <= 0 and heartV = 0 and izanagiV = 0:
  62. '<b><font color = green><<$boydesc>> won!</font></b>'
  63. xgt'ender','win'
  64. exit
  65. end
  66. if izanagiV > 0 and healthV <= 0 or izanagiV > 0 and mannaV <= 0 or izanagiV > 0 and willpowerV <= 0:
  67. izanagiV = izanagiV - 1
  68. '<b><font color = red><<$boydesc>> disappeared.</font></b>'
  69. healthV = vitalV*10 + strenV*5
  70. mannaV = intelV*magikV + magikV*100 + vitalV*10
  71. willpowerV = willV*10
  72. stunV = 0
  73. if program = 6 and izanagiOnce = 0:izanagiOnce = 1 & unmaterialV = 40 & tobizanagi = 0
  74. '<b><font color = red><<$boydesc>> appeared in front of you, completely healthy. He folded his arms and made the magic sign for Izanagi, the perfect illusion.</font></b>'
  75. '<b><font color = red>The price for this spell was to sacrifice one of my eyes.</font></b>'
  76. elseif heartV > 0 and healthV <= 0 or heartV > 0 and mannaV <= 0 or heartV > 0 and willpowerV <= 0:
  77. heartV = heartV - 1
  78. '<b><font color = red><<$boydesc>> staggered, as his heart burst.</font></b>'
  79. healthV = vitalV*10 + strenV*5
  80. mannaV = intelV*magikV + magikV*100 + vitalV*10
  81. willpowerV = willV*10
  82. stunV = 0
  83. '<b><font color = red><<$boydesc>> stood up and got in a frenzy. He must have another heart.</font></b>'
  84. elseif izanagi > 0 and pcs_health <= 0 or izanagi > 0 and pcs_manna <= 0 or izanagi > 0 and pcs_willpwr <= 0:
  85. izanagi = izanagi - 1
  86. '<b><font color = green>He vanishes.</font></b>'
  87. pcs_health = pcs_vital*10 + pcs_stren*5
  88. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  89. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  90. stun = 0
  91. zerkaloV = 0
  92. poisonV = 0
  93. bloodV = 0
  94. '<b><font color = green>All of a sudden he appears in front of you completely healthy.</font></b>'
  95. elseif heart > 0 and pcs_health <= 0 or heart > 0 and pcs_manna <= 0 or heart > 0 and pcs_willpwr <= 0:
  96. heart = heart - 1
  97. zerkaloV = 0
  98. poisonV = 0
  99. bloodV = 0
  100. '<b><font color = green>Your heart took too much of a beating and gave up.</font></b>'
  101. pcs_health = pcs_vital*10 + pcs_stren*5
  102. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  103. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  104. stun = 0
  105. '<b><font color = green>You open your eyes as you''re not dead...</font></b>'
  106. end
  107. gs'before'
  108. '<b>= = = = = = = = = = = = = (ROUND <<round>>) = = = = = = = = = = = = =</b>'
  109. '<b><<$boydesc>></b> life <b><font color = red><<healthV>></font></b>, manna <b><font color = blue><<mannaV>></font></b>, willpower <b><font color = green><<willpowerV>></font></b>'
  110. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  111. if defenceMV > 0:'<b><font color = red>Mana protection <<defenceMV>> units</font></b>'
  112. if defenceWV > 0:'<b><font color = red>Will protection <<defenceWV>> units</font></b>'
  113. 'Your life <b><font color = red><<pcs_health>></font></b>, manna <b><font color = blue><<pcs_manna>></font></b>, willpower <b><font color = green><<pcs_willpwr>></font></b>'
  114. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  115. if defenceM > 0:'<b><font color = green>Mana impact protection <<defenceM>> units</font></b>'
  116. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  117. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  118. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</font></b>'
  119. if unmaterial > 0:'<b><font color = green>You''re <<unmaterial>> strokes are not material.</font></b>'
  120. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  121. gs'init'
  122. if hod = 0:
  123. !player attacks
  124. '<font color = green>Choose your attack</font>'
  125. if gun > 0:
  126. !Boomstick
  127. if bulletIn > 0:
  128. 'You have <<bulletIn>> bullets loaded in the gun.'
  129. act 'Pistol shot':
  130. cla
  131. bulletIn -= 1
  132. gunpower = 150
  133. buu = 1
  134. gunpricel = 1
  135. Gcrime += 1
  136. gt'strelba'
  137. end
  138. elseif bulletIn <= 0:
  139. if bullet = 0:
  140. 'You''re out of ammunition.'
  141. elseif bullet>0:
  142. 'You have <<bullet>> left.'
  143. act 'Reload':
  144. cla
  145. if bullet < 7:
  146. bulletIn = bullet
  147. bullet = 0
  148. 'You reload the empty gun.'
  149. end
  150. if bullet >= 7:
  151. bullet -= 7
  152. bulletIn = 7
  153. 'You reload all the 7 bullets in the gun.'
  154. end
  155. act 'Further':gt'fight','sta'
  156. end
  157. end
  158. end
  159. end
  160. if Mgun > 0:
  161. !Boomstick
  162. if mbulletIn > 0:
  163. 'You have <<mbulletIn>> bullets left in the machine gun.'
  164. act 'Single shot':
  165. cla
  166. mbulletIn -= 1
  167. buu = 1
  168. gunpower = 300
  169. gunpricel = 2
  170. Gcrime += 1
  171. gt'strelba'
  172. end
  173. if mbulletIn >= 3:
  174. act 'Burst shot':
  175. cla
  176. mbulletIn -= 3
  177. buu = 3
  178. gunpower = 300
  179. gunpricel = 1
  180. Gcrime += buu
  181. gt'strelba'
  182. end
  183. act 'Automatic shot':
  184. cla
  185. buu = mbulletIn
  186. mbulletIn = 0
  187. gunpower = 300
  188. gunpricel = 0
  189. Gcrime += buu
  190. gt'strelba'
  191. end
  192. end
  193. elseif mbulletIn <= 0:
  194. if mbullet = 0:
  195. 'You''ve run out of ammunition.'
  196. elseif mbullet > 0:
  197. 'You have <<mbullet>> bullets left in the machine gun.'
  198. act 'Reload':
  199. cla
  200. if mbullet < 7:
  201. mbulletIn = mbullet
  202. mbullet = 0
  203. 'You reload the empty gun.'
  204. end
  205. if mbullet >= 30:
  206. mbullet -= 30
  207. mbulletIn = 30
  208. 'You''ve reloaded 30 bullets for the machine gun.'
  209. end
  210. act 'Further':gt'fight','sta'
  211. end
  212. end
  213. end
  214. end
  215. if tragun > 0:
  216. !travmatik
  217. if tbulletIn > 0:
  218. 'You have <<mbulletIn>> bullets left in the non-lethal gun.'
  219. act 'Pistol shot':
  220. cla
  221. tbulletIn -= 1
  222. gunpower = 50
  223. buu = 1
  224. gunpricel = 0
  225. gt'strelba'
  226. end
  227. elseif tbulletIn <= 0:
  228. if tbullet = 0:
  229. 'You''ve run out of ammunition.'
  230. elseif tbullet > 0:
  231. 'You have <<mbullet>> bullets left in the non-lethal gun.'
  232. act 'Charge':
  233. cla
  234. if tbullet >= 1:
  235. tbullet -= 1
  236. tbulletIn = 1
  237. 'You reload the empty gun.'
  238. end
  239. act 'Further':gt'fight','sta'
  240. end
  241. end
  242. end
  243. end
  244. act 'Physical Attack':xgt'boxing'
  245. if pcs_magik > 0:
  246. act 'Magical Attack':gt'magik'
  247. end
  248. elseif hod = 1:
  249. !enemy attacks
  250. '<font color = red><<$boydesc>> attacks</font>'
  251. act 'Further':xgt'enemy','start'
  252. end
  253. end
  254. if $ARGS[0] = 'sta':
  255. cla
  256. damTip = 0
  257. damTipM = 0
  258. damTipV = 0
  259. damTipMV = 0
  260. magweapbonus = 0
  261. magweapbonusV = 0
  262. bonusSh = 0
  263. bonusShV = 0
  264. eleSh = 0
  265. eleShV = 0
  266. poisonAV = 0
  267. hidanAtk = 0
  268. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  269. '<b><<$boydesc>></b> life <b><font color = red><<healthV>></font></b>, manna <b><font color = blue><<mannaV>></font></b>, willpower <b><font color = green><<willpowerV>></font></b>'
  270. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  271. if defenceMV > 0:'<b><font color = red>Mana protection <<defenceMV>> units</font></b>'
  272. if defenceWV > 0:'<b><font color = red>Will protection <<defenceWV>> units</font></b>'
  273. 'Your life <b><font color = red><<pcs_health>></font></b>, manna <b><font color = blue><<pcs_manna>></font></b>, willpower <b><font color = green><<pcs_willpwr>></font></b>'
  274. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  275. if defenceM > 0:'<b><font color = green>Mana impact protection <<defenceM>> units</font></b>'
  276. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  277. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  278. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</font></b>'
  279. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  280. act 'Further':gt'fight','start'
  281. end
  282. if $ARGS[0] = 'Wrestlergen':
  283. if nopornowrestling = 0:
  284. nopornowrestling = 1
  285. NPCnum = 30
  286. NPCnow = 1
  287. !!shag = 1
  288. gs 'npc'
  289. NoView = 1
  290. NPCrost = 30
  291. gs 'generation'
  292. NoView = 1
  293. NPCrost = 30
  294. gs 'generation'
  295. NoView = 1
  296. NPCrost = 30
  297. gs 'generation'
  298. NoView = 1
  299. NPCrost = 30
  300. gs 'generation'
  301. NoView = 1
  302. NPCrost = 30
  303. gs 'generation'
  304. $nikname[1] = 'schoolgirl'
  305. !!musle[0] = 100
  306. !!flex[0] = pcs_agil
  307. !!stamina[0] = pcs_vital * 3
  308. !!wipo[0] = pcs_sprt
  309. !!pcs_intel[0] = 10
  310. !!krasota[0] = pcs_apprnc
  311. !!pcs_hgt[0] = 165
  312. !!salo[0] = 100
  313. !!fat[0] = 100
  314. !!$nikname[1] = 'steel Virgo'
  315. !!musle[1] = 100
  316. !!flex[1] = 100
  317. !!stamina[1] = 300
  318. !!wipo[1] = 50
  319. !!pcs_intel[1] = 10
  320. !!krasota[1] = 10
  321. !!pcs_hgt[1] = 165
  322. !!salo[1] = 100
  323. !!fat[1] = 100
  324. end
  325. end
  326. --- fight ---------------------------------