# fight
if $ARGS[0] = 'start':
cla
inFight = 1
if night_mode = 1:
fcolor = rgb(255, 255, 255)
bcolor = rgb(0, 0, 0)
lcolor = rgb(106, 90, 205)
else
fcolor = rgb(0, 0, 0)
bcolor = rgb(255, 255, 255)
lcolor = rgb(106, 90, 205)
end
gs'defence'
gs'statBat'
if SasoriBody > 2 and healthV <= 0 or SasoriBody > 2 and mannaV <= 0 or SasoriBody > 2 and willpowerV <= 0:
SasoriBody = SasoriBody - 1
gs'priziv','sasori'
'Doll parts scattered on and immediately entered into battle another puppet Sasori.'
'You''ve heard the sonorous voice Sasori "I have a lot of dolls, you can not win."'
elseif SasoriBody = 2 and healthV <= 0 or SasoriBody = 2 and mannaV <= 0 or SasoriBody = 2 and willpowerV <= 0:
SasoriBody = SasoriBody - 1
gs'priziv','sasori1'
'Last Doll crumbled into pieces and he came to fight Sasori.'
end
if stunV > 0 and SasoriBody > 1:
stunV = 0
'Doll began to move again.'
end
if stunV > 0 and SasoriBody = 1:
stunV = 0
'Sasori move again.'
end
if GedoMazo = 1 and healthV <= 0 or GedoMazo = 1 and mannaV <= 0 or GedoMazo = 1 and willpowerV <= 0:
GedoMazo = 2
barierV = 0
'<<$boydesc>> He fell to the ground turning to dust'
gs'priziv','tobi'
'<<$boydesc>> to attack'
end
if pcs_health <= 0 and heart = 0 and izanagi = 0:
'You lost'
xgt'ender','loss'
exit
elseif healthV <= 0 and heartV = 0 and izanagiV = 0:
'<<$boydesc>> lost'
xgt'ender','win'
exit
elseif pcs_manna <= 0 and heart = 0 and izanagi = 0:
'You lost'
xgt'ender','loss'
exit
elseif mannaV <= 0 and heartV = 0 and izanagiV = 0:
'<<$boydesc>> lost'
xgt'ender','win'
exit
elseif pcs_willpwr <= 0 and heart = 0 and izanagi = 0:
'You lost'
xgt'ender','loss'
exit
elseif willpowerV <= 0 and heartV = 0 and izanagiV = 0:
'<<$boydesc>> lost'
xgt'ender','win'
exit
end
if izanagiV > 0 and healthV <= 0 or izanagiV > 0 and mannaV <= 0 or izanagiV > 0 and willpowerV <= 0:
izanagiV = izanagiV - 1
'<<$boydesc>> simply disappeared'
healthV = vitalV*10 + strenV*5
mannaV = intelV*magikV + magikV*100 + vitalV*10
willpowerV = willV*10
stunV = 0
if program = 6 and izanagiOnce = 0:izanagiOnce = 1 & unmaterialV = 40 & tobizanagi = 0
'<<$boydesc>> appeared in front of you is completely healthy. He folded his arms and magic sign said Izanagi - perfect illusion.'
'One of his eyes was closed forever, I am paying for this spell.'
elseif heartV > 0 and healthV <= 0 or heartV > 0 and mannaV <= 0 or heartV > 0 and willpowerV <= 0:
heartV = heartV - 1
'<<$boydesc>> He staggered, and his heart burst'
healthV = vitalV*10 + strenV*5
mannaV = intelV*magikV + magikV*100 + vitalV*10
willpowerV = willV*10
stunV = 0
'<<$boydesc>> He stood up and rushed into the fray. He has run another heart.'
elseif izanagi > 0 and pcs_health <= 0 or izanagi > 0 and pcs_manna <= 0 or izanagi > 0 and pcs_willpwr <= 0:
izanagi = izanagi - 1
'You are gone'
pcs_health = pcs_vital*10 + pcs_stren*5
pcs_willpwr = pcs_intel*5 + pcs_sprt*5
pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
stun = 0
zerkaloV = 0
poisonV = 0
bloodV = 0
'And then he appeared in front of the enemy completely healthy.'
elseif heart > 0 and pcs_health <= 0 or heart > 0 and pcs_manna <= 0 or heart > 0 and pcs_willpwr <= 0:
heart = heart - 1
zerkaloV = 0
poisonV = 0
bloodV = 0
'Your heart could not resist and snapped.'
pcs_health = pcs_vital*10 + pcs_stren*5
pcs_willpwr = pcs_intel*5 + pcs_sprt*5
pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
stun = 0
'You are not dead, You run another heart.'
end
gs'before'
'= = = = = = = = = = = = = (ROUND <>) = = = = = = = = = = = = ='
'<<$boydesc>> life <>, manna <>, willpower <>'
if defenceV > 0:'Protection <> units'
if defenceMV > 0:'Protection of manna <> units'
if defenceWV > 0:'Protection will <> units'
'Your life <>, manna <>, willpower <>'
if defence > 0:'Protection <> units'
if defenceM > 0:'Protection from impacts on manna <> units'
if defenceW > 0:'Protect from the effects of the will <> units'
if defenceAct > 0:'<> moves regeneration protection'
if defenceActM > 0:'<> stroke recovery protection from the effects of manna'
if unmaterial > 0:'You''re <> strokes are not material.'
'= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ='
gs'init'
if hod = 0:
!player attacks
'You can attack'
if gun > 0:
!Boomstick
if bulletIn > 0:
'<> Charged cartridges in the gun'
act 'Pistol shot':
cla
bulletIn -= 1
gunpower = 150
buu = 1
gunpricel = 1
Gcrime += 1
gt'strelba'
end
elseif bulletIn <= 0:
if bullet = 0:
'Ammunition for the gun ran out.'
elseif bullet>0:
'<> ammunition for pistols'
act 'Charge':
cla
if bullet < 7:
bulletIn = bullet
bullet = 0
'You charge all of the remaining cartridges in the gun.'
end
if bullet >= 7:
bullet -= 7
bulletIn = 7
'You loaded 7 bullets in the gun.'
end
act 'Further':gt'fight','sta'
end
end
end
end
if Mgun > 0:
!Boomstick
if mbulletIn > 0:
'<> Charged cartridges in the machine'
act 'A single from the machine':
cla
mbulletIn -= 1
buu = 1
gunpower = 300
gunpricel = 2
Gcrime += 1
gt'strelba'
end
if mbulletIn >= 3:
act 'A short burst of machine':
cla
mbulletIn -= 3
buu = 3
gunpower = 300
gunpricel = 1
Gcrime += buu
gt'strelba'
end
act 'A long line of machine':
cla
buu = mbulletIn
mbulletIn = 0
gunpower = 300
gunpricel = 0
Gcrime += buu
gt'strelba'
end
end
elseif mbulletIn <= 0:
if mbullet = 0:
'Chucks for machine ran out.'
elseif mbullet > 0:
'<> ammunition for the machine'
act 'Charge':
cla
if mbullet < 7:
mbulletIn = mbullet
mbullet = 0
'You charge all remaining ammunition into the machine.'
end
if mbullet >= 30:
mbullet -= 30
mbulletIn = 30
'You loaded 30 cartridges in the machine.'
end
act 'Further':gt'fight','sta'
end
end
end
end
if tragun > 0:
!travmatik
if tbulletIn > 0:
'Travmatiki charged'
act 'Pistol shot':
cla
tbulletIn -= 1
gunpower = 50
buu = 1
gunpricel = 0
gt'strelba'
end
elseif tbulletIn <= 0:
if tbullet = 0:
'Cartridges for travmatika ended.'
elseif tbullet > 0:
'<> cartridges for travmatika'
act 'Charge':
cla
if tbullet >= 1:
tbullet -= 1
tbulletIn = 1
'You loaded a cartridge in travmatik.'
end
act 'Further':gt'fight','sta'
end
end
end
end
act 'Physical Attack':xgt'boxing'
if pcs_magik > 0:
act 'Magic Attack':gt'magik'
end
elseif hod = 1:
!enemy attacks
'<<$boydesc>> attacks'
act 'Further':xgt'enemy','start'
end
end
if $ARGS[0] = 'sta':
cla
damTip = 0
damTipM = 0
damTipV = 0
damTipMV = 0
magweapbonus = 0
magweapbonusV = 0
bonusSh = 0
bonusShV = 0
eleSh = 0
eleShV = 0
poisonAV = 0
hidanAtk = 0
'= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ='
'<<$boydesc>> life <>, manna <>, willpower <>'
if defenceV > 0:'Protection <> units'
if defenceMV > 0:'Protection of manna <> units'
if defenceWV > 0:'Protection will <> units'
'Your life <>, manna <>, willpower <>'
if defence > 0:'Protection <> units'
if defenceM > 0:'Protection from impacts on manna <> units'
if defenceW > 0:'Protect from the effects of the will <> units'
if defenceAct > 0:'<> moves regeneration protection'
if defenceActM > 0:'<> stroke recovery protection from the effects of manna'
'= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ='
act 'Further':gt'fight','start'
end
if $ARGS[0] = 'Wrestlergen':
if nopornowrestling = 0:
nopornowrestling = 1
NPCnum = 30
NPCnow = 1
!!shag = 1
gs 'npc'
NoView = 1
NPCrost = 30
gs 'generation'
NoView = 1
NPCrost = 30
gs 'generation'
NoView = 1
NPCrost = 30
gs 'generation'
NoView = 1
NPCrost = 30
gs 'generation'
NoView = 1
NPCrost = 30
gs 'generation'
$nikname[1] = 'schoolgirl'
!!musle[0] = 100
!!flex[0] = pcs_agil
!!stamina[0] = pcs_vital * 3
!!wipo[0] = pcs_sprt
!!pcs_intel[0] = 10
!!krasota[0] = pcs_apprnc
!!pcs_hgt[0] = 165
!!salo[0] = 100
!!fat[0] = 100
!!$nikname[1] = 'steel Virgo'
!!musle[1] = 100
!!flex[1] = 100
!!stamina[1] = 300
!!wipo[1] = 50
!!pcs_intel[1] = 10
!!krasota[1] = 10
!!pcs_hgt[1] = 165
!!salo[1] = 100
!!fat[1] = 100
end
end
--- fight ---------------------------------