Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;////////////////////////////
- ;/ /
- ;/ /
- ;/ Dank / ;this is a rather large program making it somewhat hard to navigate
- ;/ Souls II / ;so I made labels to help smooth the process
- ;/ / ;check the labels tab over there ------------------->
- ;/ John Hallman / ;also read comments to help explain different functions incase you need to fix a bug
- ;/ /
- ;////////////////////////////
- SeedRnd MilliSecs()
- .start
- khealth%=200
- thealth%=70
- shealth%=120
- kstam%=150 ;values
- tstam%=100
- smana%=100
- ability%=2
- enemy1hp%=200
- enemy2hp%=250
- enemy3hp%=300
- enemy4hp%=350
- bosshp%=700
- kdamage%=30
- tdamage%=60
- sdamage%=40
- enemy1dam%=30 ;The Gatekeeper (Finished) K-Rest heals for 10hp more | T-Cloak deal more damage when cloaked | S-Equil. stronger mana restore
- enemy2dam%=35 ;The Roaming Knight(Finished) K-deal more damage |T- Cloak heals more | S-More accurate
- enemy3dam%=40 ;The Goliath (Finished) K-Higher chance for enemy to miss|T-Cloak restores 70 stamina (or up to cap)|S-Equil.stronger health restore
- enemy4dam%=45 ;The Pyromancer(Finished) K- 20 more base healh | T-10 more base health | S-15 more base health
- bossdam%=50 ;The Dragon Lord (Finished)
- score%=0
- Graphics 1000,800
- Print "------------------------------------"
- Print "Welcome to Dank Souls II"
- Delay 1000
- name$=Input("What is your name? ")
- Delay 1000
- Print "Greetings " + name$
- Delay 1000
- Print "you can choose from one of 3 classes"
- Delay 1000
- .classselect
- class$=Input("1. Knight 2. Thief 3. Sorcerer 4. Show Class Descriptions ") ;game start
- If class$ = "1" Then
- Print "You have chosen knight"
- Delay 1000
- Goto kgame
- ElseIf class$ = "2" Then
- Print "You have chosen theif"
- Delay 1000
- Goto tgame
- ElseIf class$= "3"
- Print "You have chosen sorcerer"
- Delay 1000
- Goto sgame
- ElseIf class$ = "4" Then
- Goto cdes
- Else
- Print "sorry that is not a valid selection"
- Goto classselect
- EndIf
- .kgame ;Knight's Game
- gatekeeper()
- .gatekeeperknight
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- While enemy1hp% > 0
- If khealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto k1attack
- EndIf
- kskill$=Input("would you like to use your ability?(rest) " )
- If ability% > 0 Then
- If kskill$="yes" Then
- Print "you used your ability (rest) to heal and restore your stamina" ;ability
- ability%=ability%-1
- khealth%=khealth%+30
- kstam%=150
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (rest)"
- EndIf
- EndIf
- .k1attack
- sword%=Input("how much stamina would you like to use? ") ;attack
- If sword% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- kstam%=kstam%+30
- Goto k1hostile
- EndIf
- If sword% > kstam% Then
- Print "you do not have that much stamina"
- Goto k1attack
- EndIf
- If sword% < 0 Then
- Print "you cannot use that value of stamina"
- Goto k1attack
- EndIf
- kstam%=kstam%-sword%
- Delay 1000
- kroll%=Rnd (1,60)
- If sword% > kroll% Then
- Print "you hit The Gatekeeper with " + kdamage% + " damage"
- enemy1hp%=enemy1hp%-kdamage%
- kcrit%=Rnd(1,100)
- If kcrit% > 90 Then
- Print "you hit a critical of " + sword% + " damage" ;crit
- enemy1hp%=enemy1hp%-sword%
- EndIf
- ;hit/miss
- Else Print "you missed"
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Gatekeeper
- .k1hostile
- If enemy1hp% > 0 Then
- Print "The Gatekeeper is about to attack"
- Delay 2000
- e1roll%=Rnd (1,100)
- If e1roll% > 60 ;enemy attack
- Print "The Gatekeeper hit you with " + enemy1dam% + " damage"
- khealth%=khealth%-enemy1dam%
- Else Print "The Gatekeeper missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Gatekeeper" ;enemy dead
- Delay 2000
- score%=score%+ability%+100
- score%=score%+khealth%
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Gatekeeper is dead you are able to enter the castle"
- Delay 1000
- Print "Once you enter you find a well that resets your health and stamina and more abilities"
- khealth%=200
- kstam%=150
- ability%=ability%+2
- Delay 1000
- Print "You turn to your left and notice a dark corridor"
- Delay 1000
- Print "As you walk down the corridor you notice a small gem on the ground"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "Your (Rest) now heals you for 10hp more!"
- Print "------------------------------------------"
- Delay 1000
- Print "When you look up from picking up the gem you see a roaming knight"
- Delay 8000
- .roamingknightknight
- roamingknight()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- While enemy2hp% > 0
- If khealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto k2attack
- EndIf
- kskill$=Input("would you like to use your ability?(rest) " )
- If ability% > 0 Then
- If kskill$="yes" Then
- Print "you used your ability (rest) to heal and restore your stamina" ;ability
- ability%=ability%-1
- khealth%=khealth%+40
- kstam%=150
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (rest)"
- EndIf
- EndIf
- .k2attack
- sword%=Input("how much stamina would you like to use? ") ;attack
- If sword% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- kstam%=kstam%+30
- Goto k2hostile
- EndIf
- If sword% > kstam% Then
- Print "you do not have that much stamina"
- Goto k2attack
- EndIf
- If sword% < 0 Then
- Print "you cannot use that value of stamina"
- Goto k2attack
- EndIf
- kstam%=kstam%-sword%
- Delay 1000
- kroll%=Rnd (1,60)
- If sword% > kroll% Then
- Print "you hit The Roaming Knight with " + kdamage% + " damage"
- enemy2hp%=enemy2hp%-kdamage%
- kcrit%=Rnd(1,100)
- If kcrit% > 90 Then
- Print "you hit a critical of " + sword% + " damage" ;crit
- enemy2hp%=enemy2hp%-sword%
- EndIf ;hit/miss
- Else Print "you missed"
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Roaming Knight
- .k2hostile
- If enemy2hp% > 0 Then
- Print "The Roaming Knight is about to attack"
- Delay 2000
- e2roll%=Rnd (1,100)
- If e2roll% > 60 Then ;enemy attack
- Print "The Roaming Knight hit you with " + enemy2dam% + " damage"
- khealth%=khealth%-enemy2dam%
- Else Print "The Roaming Knight missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Roaming Knight" ;enemy dead
- Delay 2000
- score%=score%+ability%+200
- score%=score%+khealth%
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Roaming Knight is dead you can continue into the castle"
- Delay 1000
- Print "you look to your right and you see a door"
- Delay 1000
- Print "when you open the door you find another well that resets your health and stamina and gives you +2 more ability uses"
- khealth%=200
- kstam%=150
- ability%=ability%+2
- Print "------------------------------------------"
- Print "On the wall of the room you see a painting"
- Delay 1000
- Print "The painting falls off of the wall revealing a button and another gem"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Print "------------------------------------------"
- Print "You now deal more base damage!"
- Print "------------------------------------------"
- Delay 1000
- Print "You press button to reveal the portal being blocked by The Goliath"
- Delay 8000
- .goliathknight
- goliath()
- ;-----------------------------------------------------------------------------------------------------
- kdamage%=kdamage%+10
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- While enemy3hp% > 0
- If khealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto k3attack
- EndIf
- kskill$=Input("would you like to use your ability?(rest) " )
- If ability% > 0 Then
- If kskill$="yes" Then
- Print "you used your ability (rest) to heal and restore your stamina" ;ability
- ability%=ability%-1
- khealth%=khealth%+40
- kstam%=150
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (rest)"
- EndIf
- EndIf
- .k3attack
- sword%=Input("how much stamina would you like to use? ") ;attack
- If sword% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- kstam%=kstam%+30
- Goto k3hostile
- EndIf
- If sword% > kstam% Then
- Print "you do not have that much stamina"
- Goto k3attack
- EndIf
- If sword% < 0 Then
- Print "you cannot use that value of stamina"
- Goto k3attack
- EndIf
- kstam%=kstam%-sword%
- Delay 1000
- kroll%=Rnd (1,60)
- If sword% > kroll% Then
- Print "you hit The Goliath with " + kdamage% + " damage"
- enemy3hp%=enemy3hp%-kdamage%
- kcrit%=Rnd(1,100)
- If kcrit% > 90 Then
- Print "you hit a critical of " + sword% + " damage" ;crit
- enemy3hp%=enemy3hp%-sword%
- EndIf ;hit/miss
- Else Print "you missed"
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Goliath
- .k3hostile
- If enemy3hp% > 0 Then
- Print "The Goliath is about to attack"
- Delay 2000
- e3roll%=Rnd (1,100)
- If e3roll% > 60 Then ;enemy attack
- Print "The Goliath hit you with " + enemy3dam% + " damage"
- khealth%=khealth%-enemy3dam%
- Else Print "The Goliath missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Goliath" ;enemy dead
- Delay 2000
- score%=score%+ability%+300
- score%=score%+khealth%
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Goliath is dead you can now enter the portal to the Dragonlords realm"
- Delay 1000
- Print "As you enter you see another well that resets your health and stamina and gives you +3 more ability uses"
- khealth%=200
- kstam%=150
- ability%=ability%+3
- Print "------------------------------------------"
- Print "you see a tower where The Dragonlord is perched on top"
- Delay 1000
- Print "you enter the tower and find another gem"
- Delay 1000
- Print "as you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "The enemy now has a higher chance to miss you"
- Print "------------------------------------------"
- Print "you climb up the spiral staircase and are confronted by The Pyromancer"
- Delay 8000
- .pyromancerknight
- pyromancer()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- While enemy4hp% > 0
- If khealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto k4attack
- EndIf
- kskill$=Input("would you like to use your ability?(rest) " )
- If ability% > 0 Then
- If kskill$="yes" Then
- Print "you used your ability (rest) to heal and restore your stamina" ;ability
- ability%=ability%-1
- khealth%=khealth%+40
- kstam%=150
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (rest)"
- EndIf
- EndIf
- .k4attack
- sword%=Input("how much stamina would you like to use? ") ;attack
- If sword% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- kstam%=kstam%+30
- Goto k4hostile
- EndIf
- If sword% > kstam% Then
- Print "you do not have that much stamina"
- Goto k4attack
- EndIf
- If sword% < 0 Then
- Print "you cannot use that value of stamina"
- Goto k4attack
- EndIf
- kstam%=kstam%-sword%
- Delay 1000
- kroll%=Rnd (1,60)
- If sword% > kroll% Then
- Print "you hit The Pyromancer with " + kdamage% + " damage"
- enemy4hp%=enemy4hp%-kdamage%
- kcrit%=Rnd(1,100)
- If kcrit% > 90 Then
- Print "you hit a critical of " + sword% + " damage" ;crit
- enemy4hp%=enemy4hp%-sword%
- EndIf ;hit/miss
- Else Print "you missed"
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Pyromancer
- .k4hostile
- If enemy4hp% > 0 Then
- Print "The Pyromancer is about to attack"
- Delay 2000
- e4roll%=Rnd (1,100)
- If e4roll% > 60 Then ;enemy attack
- Print "The Pyromancer hit you with " + enemy4dam% + " damage"
- khealth%=khealth%-enemy4dam%
- Else Print "The Pyromancer missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Pyromancer" ;enemy dead
- Delay 2000
- score%=score%+ability%+400
- score%=score%+khealth%
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "now that The Pyromancer is dead you can now attack The Dragonlord"
- Delay 1000
- Print "as you climb further up the spiral staircase you find a super well"
- Delay 1000
- Print "the super well resets your health and stamina and gives you +5 more ability uses"
- Delay 1000
- Print "the super well also raises your health cap"
- khealth%=200
- kstam%=150
- ability%=ability%+5
- Delay 1000
- Print "you finish your climb to the top of the tower and you now are ready to face The Dragonlord"
- Delay 8000
- .dragonlordknight
- dragonlord()
- ;-----------------------------------------------------------------------------------------------------
- khealth%=khealth% + 20
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- While bosshp% > 0
- If khealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto k5attack
- EndIf
- kskill$=Input("would you like to use your ability?(rest) " )
- If ability% > 0 Then
- If kskill$="yes" Then
- Print "you used your ability (rest) to heal and restore your stamina" ;ability
- ability%=ability%-1
- khealth%=khealth%+40
- kstam%=150
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (rest)"
- EndIf
- EndIf
- .k5attack
- sword%=Input("how much stamina would you like to use? ") ;attack
- If sword% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- kstam%=kstam%+30
- Goto k5hostile
- EndIf
- If sword% > kstam% Then
- Print "you do not have that much stamina"
- Goto k5attack
- EndIf
- If sword% < 0 Then
- Print "you cannot use that value of stamina"
- Goto k5attack
- EndIf
- kstam%=kstam%-sword%
- Delay 1000
- kroll%=Rnd (1,60)
- If sword% > kroll% Then
- Print "you hit The Dragonlord with " + kdamage% + " damage"
- bosshp%=bosshp%-kdamage%
- kcrit%=Rnd(1,100)
- If kcrit% > 90 Then
- Print "you hit a critical of " + sword% + " damage" ;crit
- bosshp%=bosshp%-sword%
- EndIf ;hit/miss
- Else Print "you missed"
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Dragon Lord
- .k5hostile
- If bosshp% > 0 Then
- If bosshp% < 60 Then
- Print "The Dragonlord healed himself because he had critical health"
- Delay 1000
- bosshp%=bosshp%+50
- Print "The Dragonlord now has " + bosshp% ;boss heal
- EndIf
- Print "The Dragonlord is about to attack"
- Delay 2000
- e5roll%=Rnd (1,100)
- If e5roll% > 60 Then ;enemy attack
- Print "The Dragonlord hit you with " + bossdam% + " damage"
- khealth%=khealth%-bossdam%
- Else Print "The Dragonlord missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + khealth% + " health"
- Print "you have " + ability% + " rests left" ;live stats
- Print "you have " + kstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Dragonlord" ;enemy dead
- Delay 2000
- score%=score%+ability%+1000
- score%=score%+khealth%
- ;-----------------------------------------------------------------------------------------------------
- Goto victory
- .tgame ; Thief's Game
- gatekeeper()
- .gatekeeperthief
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- While enemy1hp% > 0
- If thealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto t1attack
- EndIf
- tskill$=Input("would you like to use your ability?(cloak) " )
- If tskill$="yes" Then
- Print "you used your ability (cloak) to heal and regen some stamina and go invisible" ;ability
- If tstam% <=50 Then
- tstam%=tstam%+ 50
- ElseIf tstam > 50 Then
- tstam%=100
- EndIf
- thealth%=thealth%+10
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (cloak)"
- EndIf
- .t1attack
- dagger%=Input("how much stamina would you like to use? ") ;attack
- If dagger% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- tstam%=tstam%+30
- Goto t1hostile
- EndIf
- If dagger% > tstam% Then
- Print "you do not have that much stamina"
- Goto t1attack
- EndIf
- If dagger% < 0 Then
- Print "you cannot use that value of stamina"
- Goto t1attack
- EndIf
- tstam%=tstam%-dagger%
- Delay 1000
- troll%=Rnd (1,60)
- If dagger% > troll% Then
- Print "you hit The Gatekeeper with " + tdamage% + " damage"
- enemy1hp%=enemy1hp%-tdamage%
- tcrit%=Rnd(1,100)
- If tcrit% > 80 Then
- Print "you hit a critical of " + dagger% + " damage" ;crit
- enemy1hp%=enemy1hp%-dagger%
- EndIf ;hit/miss
- Else Print "you missed"
- EndIf
- .t1hostile
- If enemy1hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Gatekeeper
- Print "The Gatekeeper is about to attack"
- Delay 2000
- If ability% > 0 Then
- If tskill$="yes" Then
- Print "you were invisible and The Gatekeeper couldnt attack"
- Goto invis1 ;invis to avoid attack
- EndIf ;enemy attack
- EndIf
- e1roll%=Rnd (1,100)
- If e1roll% > 60
- Print "The Gatekeeper hit you with " + enemy1dam% + " damage"
- thealth%=thealth%-enemy1dam%
- Else Print "The Gatekeeper missed"
- EndIf
- Print "--------------------------------------"
- .invis1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Gatekeeper" ;enemy dead
- Delay 2000
- t1score%=thealth%*2.85
- score%=score%+ability%+100
- score%=score%+t1score%
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Gatekeeper is dead you are able to enter the castle"
- Delay 1000
- Print "Once you enter you find a well that resets your health and stamina and more abilities"
- thealth%=70
- tstam%=100
- ability%=ability%+2
- Delay 1000
- Print "You turn to your left and notice a dark corridor"
- Delay 1000
- Print "As you walk down the corridor you notice a small gem on the ground"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "You now deal more damage when cloaked!"
- Print "------------------------------------------"
- Delay 1000
- Print "When you look up from picking up the gem you see a roaming knight"
- Delay 8000
- .roamingknightthief
- roamingknight()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- While enemy2hp% > 0
- If thealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto t2attack
- EndIf
- tskill$=Input("would you like to use your ability?(cloak) " )
- If tskill$="yes" Then
- Print "you used your ability (cloak) to heal and regen some stamina and go invisible" ;ability
- If tstam% <=50 Then
- tstam%=tstam%+ 50
- ElseIf tstam > 50 Then
- tstam%=100
- EndIf
- thealth%=thealth%+10
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (cloak)"
- EndIf
- .t2attack
- dagger%=Input("how much stamina would you like to use? ") ;attack
- If dagger% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- tstam%=tstam%+30
- Goto t2hostile
- EndIf
- If dagger% > tstam% Then
- Print "you do not have that much stamina"
- Goto t2attack
- EndIf
- If dagger% < 0 Then
- Print "you cannot use that value of stamina"
- Goto t2attack
- EndIf
- tstam%=tstam%-dagger%
- Delay 1000
- troll%=Rnd (1,60)
- If dagger% > troll% Then
- Print "you hit The Roaming Knight with " + tdamage% + " damage"
- enemy2hp%=enemy2hp%-tdamage%
- If ability% > 0 Then
- If tskill$="yes" Then
- enemy2hp%=enemy2hp%-20
- Print "you delt an additional 20 damage because you had (cloak) activated!"
- EndIf
- EndIf
- tcrit%=Rnd(1,100)
- If tcrit% > 80 Then
- Print "you hit a critical of " + dagger% + " damage" ;crit
- enemy2hp%=enemy2hp%-dagger%
- EndIf
- ;hit/miss
- Else Print "you missed"
- EndIf
- .t2hostile
- If enemy2hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Roaming Knight
- Print "The Roaming Knight is about to attack"
- Delay 2000
- If ability% > 0 Then
- If tskill$="yes" Then
- Print "you were invisible and The Roaming Knight couldnt attack"
- Goto invis2 ;invis to avoid attack
- EndIf ;enemy attack
- EndIf
- e2roll%=Rnd (1,100)
- If e2roll% > 60 Then
- Print "The Roaming Knight hit you with " + enemy2dam% + " damage"
- thealth%=thealth%-enemy2dam%
- Else Print "The Roaming Knight missed"
- EndIf
- Print "--------------------------------------"
- .invis2
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Roaming Knight" ;enemy dead
- Delay 2000
- t2score%=thealth%*2.85
- score%=score%+t2score%
- score%=score%+ability%+200
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Roaming Knight is dead you can continue into the castle"
- Delay 1000
- Print "you look to your right and you see a door"
- Delay 1000
- Print "when you open the door you find another well that resets your health and stamina and gives you +2 more ability uses"
- thealth%=70
- tstam%=100
- ability%=ability%+2
- Print "------------------------------------------"
- Print "On the wall of the room you see a painting"
- Delay 1000
- Print "The painting falls off of the wall revealing a button and another gem"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Print "------------------------------------------"
- Print "Your (cloak) heals more!"
- Print "------------------------------------------"
- Delay 1000
- Print "You press button to reveal the portal being blocked by The Goliath"
- Delay 8000
- .goliaththief
- goliath()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- While enemy3hp% > 0
- If thealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto t3attack
- EndIf
- tskill$=Input("would you like to use your ability?(cloak) " )
- If tskill$="yes" Then
- Print "you used your ability (cloak) to heal and regen some stamina and go invisible" ;ability
- If tstam% <=50 Then
- tstam%=tstam%+ 50
- ElseIf tstam > 50 Then
- tstam%=100
- EndIf
- thealth%=thealth%+20
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (cloak)"
- EndIf
- .t3attack
- dagger%=Input("how much stamina would you like to use? ") ;attack
- If dagger% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- tstam%=tstam%+30
- Goto t3hostile
- EndIf
- If dagger% > tstam% Then
- Print "you do not have that much stamina"
- Goto t3attack
- EndIf
- If dagger% < 0 Then
- Print "you cannot use that value of stamina"
- Goto t3attack
- EndIf
- tstam%=tstam%-dagger%
- Delay 1000
- troll%=Rnd (1,60)
- If dagger% > troll% Then
- Print "you hit The Goliath with " + tdamage% + " damage"
- enemy3hp%=enemy3hp%-tdamage%
- If ability% > 0 Then
- If tskill$="yes" Then
- enemy3hp%=enemy3hp%-20
- Print "you delt an additional 20 damage because you had (cloak) activated!"
- EndIf
- EndIf
- tcrit%=Rnd(1,100)
- If tcrit% > 80 Then
- Print "you hit a critical of " + dagger% + " damage" ;crit
- enemy3hp%=enemy3hp%-dagger%
- EndIf
- ;hit/miss
- Else Print "you missed"
- EndIf
- .t3hostile
- If enemy3hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Goliath
- Print "The Goliath is about to attack"
- Delay 2000
- If ability% > 0 Then
- If tskill$="yes" Then
- Print "you were invisible and The Goliath couldnt attack"
- Goto invis3 ;invis to avoid attack
- EndIf ;enemy attack
- EndIf
- e3roll%=Rnd (1,100)
- If e3roll% > 50 Then
- Print "The Goliath hit you with " + enemy3dam% + " damage"
- thealth%=thealth%-enemy3dam%
- Else Print "The Goliath missed"
- EndIf
- Print "--------------------------------------"
- .invis3
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Goliath" ;enemy dead
- Delay 2000
- t3score%=thealth%*2.85
- score%=score%+t3score%
- score%=score%+ability%+300
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Goliath is dead you can now enter the portal to the Dragonlords realm"
- Delay 1000
- Print "As you enter you see another well that resets your health and stamina and gives you +3 more ability uses"
- thealth%=70
- tstam%=100
- ability%=ability%+3
- Print "------------------------------------------"
- Print "you see a tower where The Dragonlord is perched on top"
- Delay 1000
- Print "you enter the tower and find another gem"
- Delay 1000
- Print "as you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "your (cloak) can now restore up to 70 stamina"
- Print "------------------------------------------"
- Print "you climb up the spiral staircase and are confronted by The Pyromancer"
- Delay 8000
- .pyromancerthief
- pyromancer()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- While enemy4hp% > 0
- If thealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto t4attack
- EndIf
- tskill$=Input("would you like to use your ability?(cloak) " )
- If tskill$="yes" Then
- Print "you used your ability (cloak) to heal and regen some stamina and go invisible" ;ability
- If tstam% <=30 Then
- tstam%=tstam%+ 70
- ElseIf tstam > 30 Then
- tstam%=100
- EndIf
- thealth%=thealth%+20
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (cloak)"
- EndIf
- .t4attack
- dagger%=Input("how much stamina would you like to use? ") ;attack
- If dagger% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- tstam%=tstam%+30
- Goto t4hostile
- EndIf
- If dagger% > tstam% Then
- Print "you do not have that much stamina"
- Goto t4attack
- EndIf
- If dagger% < 0 Then
- Print "you cannot use that value of stamina"
- Goto t4attack
- EndIf
- tstam%=tstam%-dagger%
- Delay 1000
- troll%=Rnd (1,60)
- If dagger% > troll% Then
- Print "you hit The Pyromancer with " + tdamage% + " damage"
- enemy4hp%=enemy4hp%-tdamage%
- If ability% > 0 Then
- If tskill$="yes" Then
- enemy4hp%=enemy4hp%-20
- Print "you delt an additional 20 damage because you had (cloak) activated!"
- EndIf
- EndIf
- tcrit%=Rnd(1,100)
- If tcrit% > 80 Then
- Print "you hit a critical of " + dagger% + " damage" ;crit
- enemy4hp%=enemy4hp%-dagger%
- EndIf
- ;hit/miss
- Else Print "you missed"
- EndIf
- .t4hostile
- If enemy4hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Pyromancer
- Print "The Pyromancer is about to attack"
- Delay 2000
- If ability% > 0 Then
- If tskill$="yes" Then
- Print "you were invisible and The Pyromancer couldnt attack"
- Goto invis4 ;invis to avoid attack
- EndIf ;enemy attack
- EndIf
- e4roll%=Rnd (1,100)
- If e4roll% > 55 Then
- Print "The Pyromancer hit you with " + enemy4dam% + " damage"
- thealth%=thealth%-enemy4dam%
- Else Print "The Pyromancer missed"
- EndIf
- Print "--------------------------------------"
- .invis4
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Pyromancer" ;enemy dead
- Delay 2000
- t4score%=thealth%*2.85
- score%=score%+t4score%
- score%=score%+ability%+400
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "now that The Pyromancer is dead you can now attack The Dragonlord"
- Delay 1000
- Print "as you climb further up the spiral staircase you find a super well"
- Delay 1000
- Print "the super well resets your health and stamina and gives you +5 more ability uses"
- Delay 1000
- Print "the super well also raises your health cap"
- thealth%=70
- tstam%=100
- ability%=ability%+5
- Delay 1000
- Print "you finish your climb to the top of the tower and you now are ready to face The Dragonlord"
- Delay 8000
- .dragonlordthief
- dragonlord()
- thealth%=thealth%+10
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- While bosshp% > 0
- If thealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto t5attack
- EndIf
- tskill$=Input("would you like to use your ability?(cloak) " )
- If tskill$="yes" Then
- Print "you used your ability (cloak) to heal and regen some stamina and go invisible" ;ability
- If tstam% <=30 Then
- tstam%=tstam%+ 70
- ElseIf tstam > 30 Then
- tstam%=100
- EndIf
- thealth%=thealth%+20
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (cloak)"
- EndIf
- .t5attack
- dagger%=Input("how much stamina would you like to use? ") ;attack
- If dagger% = 0 Then
- Print "you skipped your turn to gain 30 stamina"
- tstam%=tstam%+30
- Goto t5hostile
- EndIf
- If dagger% > tstam% Then
- Print "you do not have that much stamina"
- Goto t5attack
- EndIf
- If dagger% < 0 Then
- Print "you cannot use that value of stamina"
- Goto t5attack
- EndIf
- tstam%=tstam%-dagger%
- Delay 1000
- troll%=Rnd (1,60)
- If dagger% > troll% Then
- Print "you hit The Dragonlord with " + tdamage% + " damage"
- bosshp%=bosshp%-tdamage%
- If ability% > 0 Then
- If tskill$="yes" Then
- bosshp%=bosshp%-20
- Print "you delt an additional 20 damage because you had (cloak) activated!"
- EndIf
- EndIf
- tcrit%=Rnd(1,100)
- If tcrit% > 80 Then
- Print "you hit a critical of " + dagger% + " damage" ;crit
- bosshp%=bosshp%-dagger%
- EndIf
- ;hit/miss
- Else Print "you missed"
- EndIf
- .t5hostile
- If bosshp% > 0 Then
- If bosshp% < 60 Then
- Print "The Dragonlord healed himself because he had critical health"
- Delay 1000
- bosshp%=bosshp%+50
- Print "The Dragonlord now has " + bosshp% ;boss heal
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Dragonlord
- Print "The Dragonlord is about to attack"
- Delay 2000
- If ability% > 0 Then
- If tskill$="yes" Then
- Print "you were invisible and The Dragonlord couldnt attack"
- Goto invis5 ;invis to avoid attack
- EndIf
- EndIf ;enemy attack
- e5roll%=Rnd (1,100)
- If e5roll% > 40 Then
- Print "The Dragonlord hit you with " + bossdam% + " damage"
- thealth%=thealth%-bossdam%
- Else Print "The Dragonlord missed"
- EndIf
- Print "--------------------------------------"
- .invis5
- Print "--------------------------------------"
- Print "you have " + thealth% + " health"
- Print "you have " + ability% + " cloaks left" ;live stats
- Print "you have " + tstam% + " stamina left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Dragonlord" ;enemy dead
- Delay 2000
- t5score%=thealth%*2.85
- score%=score%+t5score%
- score%=score%+ability%+1000
- ;-----------------------------------------------------------------------------------------------------
- Goto victory
- .sgame ;Sorcerer's Game
- gatekeeper()
- .gatekeepersorc
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- While enemy1hp% > 0
- If shealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto s1attack
- EndIf
- sskill$=Input("would you like to use your ability?(equilibrium) " )
- If ability% > 0 Then ;ability
- If sskill$="yes" Then
- Print "you charged your next shot with (equilibruium)"
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- If sskill$="yes" Then
- Print "your shot is charged with equilibrium"
- EndIf
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (equilibruim)"
- EndIf
- EndIf
- .s1attack
- staff%=Input("how much mana would you like to use? ") ;attack
- If staff% = 0 Then
- Print "you skipped your turn to gain 30 mana"
- smana%=smana%+30
- Goto s1hostile
- EndIf
- If staff% > smana% Then
- Print "you do not have that much mana"
- Goto s1attack
- EndIf
- If staff% < 0 Then
- Print "you cannot use that value of mana"
- Goto s1attack
- EndIf
- smana%=smana%-staff%
- Delay 1000
- sroll%=Rnd (1,30)
- If staff% > sroll% Then
- Print "you hit The Gatekeeper with " + sdamage% + " damage" ;hit/miss
- enemy1hp%=enemy1hp%-sdamage%
- scrit%=Rnd(1,100)
- If scrit% > 70 Then
- Print "you hit a critical of " + staff% + " damage" ;crit
- enemy1hp%=enemy1hp%-staff%
- EndIf
- If ability% > 0 Then
- If sskill$= "yes"
- shealth%=shealth%+sdamage% ;equilibrium's +mana +heath
- smana%=smana%+sdamage%
- EndIf
- EndIf
- Else Print "you missed"
- EndIf
- .s1hostile
- If enemy1hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Gatekeeper
- Print "The Gatekeeper is about to attack"
- Delay 2000
- e1roll%=Rnd (1,100) ;enemy attack
- If e1roll% > 60
- Print "The Gatekeeper hit you with " + enemy1dam% + " damage"
- shealth%=shealth%-enemy1dam%
- Else Print "The Gatekeeper missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Gatekeeper has " + enemy1hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Gatekeeper" ;enemy dead
- Delay 2000
- s1score%=shealth%*1.66
- score%=score%+s1score%
- score%=score%+ability%+100
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Gatekeeper is dead you are able to enter the castle"
- Delay 1000
- Print "Once you enter you find a well that resets your health and mana and gives you +2 more ability uses"
- shealth%=120
- smana%=100
- ability%=ability%+2
- Delay 1000
- Print "You turn to your left and notice a dark corridor"
- Delay 1000
- Print "As you walk down the corridor you notice a small gem on the ground"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "Your (Equilibrium)'s mana restore is now stronger!"
- Print "------------------------------------------"
- Delay 1000
- Print "When you look up from picking up the gem you see a roaming knight"
- Delay 8000
- .roamingknightsorc
- roamingknight()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- While enemy2hp% > 0
- If shealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto s2attack
- EndIf
- sskill$=Input("would you like to use your ability?(equilibrium) " )
- If ability% > 0 Then ;ability
- If sskill$="yes" Then
- Print "you charged your next shot with (equilibruium)"
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- If sskill$="yes" Then
- Print "your shot is charged with equilibrium"
- EndIf
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (equilibruim)"
- EndIf
- EndIf
- .s2attack
- staff%=Input("how much mana would you like to use? ") ;attack
- If staff% = 0 Then
- Print "you skipped your turn to gain 30 mana"
- smana%=smana%+30
- Goto s2hostile
- EndIf
- If staff% > smana% Then
- Print "you do not have that much mana"
- Goto s2attack
- EndIf
- If staff% < 0 Then
- Print "you cannot use that value of mana"
- Goto s2attack
- EndIf
- smana%=smana%-staff%
- Delay 1000
- sroll%=Rnd (1,30)
- If staff% > sroll% Then
- Print "you hit The Roaming Knight with " + sdamage% + " damage" ;hit/miss
- enemy2hp%=enemy2hp%-sdamage%
- scrit%=Rnd(1,100)
- If scrit% > 70 Then
- Print "you hit a critical of " + staff% + " damage" ;crit
- enemy2hp%=enemy2hp%-staff%
- EndIf
- If ability% > 0 Then
- If sskill$= "yes"
- shealth%=shealth%+sdamage% ;equilibrium's +mana +heath
- smana%=smana%+sdamage% + 10
- EndIf
- EndIf
- Else Print "you missed"
- EndIf
- .s2hostile
- If enemy2hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Roaming Knight
- Print "The Roaming Knight is about to attack"
- Delay 2000
- e2roll%=Rnd (1,100) ;enemy attack
- If e2roll% > 60 Then
- Print "The Roaming Knight hit you with " + enemy2dam% + " damage"
- shealth%=shealth%-enemy2dam%
- Else Print "The Roaming Knight missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Roaming Knight has " + enemy2hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Roaming Knight" ;enemy dead
- Delay 2000
- s2score%=shealth%*1.66
- score%=score%+s2score%
- score%=score%+ability%+200
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Roaming Knight is dead you can continue into the castle"
- Delay 1000
- Print "you look to your right and you see a door"
- Delay 1000
- Print "when you open the door you find another well that resets your health and mana and gives you +2 more ability uses"
- shealth%=120
- smana%=100
- ability%=ability%+2
- Print "------------------------------------------"
- Print "On the wall of the room you see a painting"
- Delay 1000
- Print "The painting falls off of the wall revealing a button and another gem"
- Delay 1000
- Print "As you pick up the gem you grow stronger"
- Print "------------------------------------------"
- Print "You are now even more accurate!"
- Print "------------------------------------------"
- Delay 1000
- Print "You press button to reveal the portal being blocked by The Goliath"
- Delay 8000
- .goliathsorc
- goliath()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- While enemy3hp% > 0
- If shealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto s3attack
- EndIf
- sskill$=Input("would you like to use your ability?(equilibrium) " )
- If ability% > 0 Then ;ability
- If sskill$="yes" Then
- Print "you charged your next shot with (equilibruium)"
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Goliath has " + enemy3hp% + " health"
- If sskill$="yes" Then
- Print "your shot is charged with equilibrium"
- EndIf
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (equilibruim)"
- EndIf
- EndIf
- .s3attack
- staff%=Input("how much mana would you like to use? ") ;attack
- If staff% = 0 Then
- Print "you skipped your turn to gain 30 mana"
- smana%=smana%+30
- Goto s3hostile
- EndIf
- If staff% > smana% Then
- Print "you do not have that much mana"
- Goto s3attack
- EndIf
- If staff% < 0 Then
- Print "you cannot use that value of mana"
- Goto s3attack
- EndIf
- smana%=smana%-staff%
- Delay 1000
- sroll%=Rnd (1,20)
- If staff% > sroll% Then
- Print "you hit The Goliath with " + sdamage% + " damage" ;hit/miss
- enemy3hp%=enemy3hp%-sdamage%
- scrit%=Rnd(1,100)
- If scrit% > 70 Then
- Print "you hit a critical of " + staff% + " damage" ;crit
- enemy3hp%=enemy3hp%-staff%
- EndIf
- If ability% > 0 Then
- If sskill$= "yes"
- shealth%=shealth%+sdamage% ;equilibrium's +mana +heath
- smana%=smana%+sdamage% + 10
- EndIf
- EndIf
- Else Print "you missed"
- EndIf
- .s3hostile
- If enemy3hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Golitah
- Print "The Goliath is about to attack"
- Delay 2000
- e3roll%=Rnd (1,100) ;enemy attack
- If e3roll% > 50 Then
- Print "The Goliath hit you with " + enemy3dam% + " damage"
- shealth%=shealth%-enemy3dam%
- Else Print "The Goliath missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Goliath has " + enemy3hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Goliath" ;enemy dead
- Delay 2000
- s3score%=shealth%*1.66
- score%=score%+s3score%
- score%=score%+ability%+300
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "Now that The Goliath is dead you can now enter the portal to the Dragonlords realm"
- Delay 1000
- Print "As you enter you see another well that resets your health and mana and gives you +3 more ability uses"
- shealth%=120
- smana%=100
- ability%=ability%+3
- Print "------------------------------------------"
- Print "you see a tower where The Dragonlord is perched on top"
- Delay 1000
- Print "you enter the tower and find another gem"
- Delay 1000
- Print "as you pick up the gem you grow stronger"
- Delay 1000
- Print "------------------------------------------"
- Print "your (equilibrium)'s health restore is now stronger"
- Print "------------------------------------------"
- Print "you climb up the spiral staircase and are confronted by The Pyromancer"
- .pyromancersorc
- pyromancer()
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- While enemy4hp% > 0
- If shealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto s4attack
- EndIf
- sskill$=Input("would you like to use your ability?(equilibrium) " )
- If ability% > 0 Then ;ability
- If sskill$="yes" Then
- Print "you charged your next shot with (equilibruium)"
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- If sskill$="yes" Then
- Print "your shot is charged with equilibrium"
- EndIf
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (equilibruim)"
- EndIf
- EndIf
- .s4attack
- staff%=Input("how much mana would you like to use? ") ;attack
- If staff% = 0 Then
- Print "you skipped your turn to gain 30 mana"
- smana%=smana%+30
- Goto s4hostile
- EndIf
- If staff% > smana% Then
- Print "you do not have that much mana"
- Goto s4attack
- EndIf
- If staff% < 0 Then
- Print "you cannot use that value of mana"
- Goto s4attack
- EndIf
- smana%=smana%-staff%
- Delay 1000
- sroll%=Rnd (1,20)
- If staff% > sroll% Then
- Print "you hit The Pyromancer with " + sdamage% + " damage" ;hit/miss
- enemy4hp%=enemy4hp%-sdamage%
- scrit%=Rnd(1,100)
- If scrit% > 70 Then
- Print "you hit a critical of " + staff% + " damage" ;crit
- enemy4hp%=enemy4hp%-staff%
- EndIf
- If ability% > 0 Then
- If sskill$= "yes"
- shealth%=shealth%+sdamage% + 10 ;equilibrium's +mana +heath
- smana%=smana%+sdamage% + 10
- EndIf
- EndIf
- Else Print "you missed"
- EndIf
- .s4hostile
- If enemy4hp% > 0 Then
- Delay 1000
- Print "--------------------------------------" ;The Pyromancer
- Print "The Pyromancer is about to attack"
- Delay 2000
- e4roll%=Rnd (1,100) ;enemy attack
- If e4roll% > 55 Then
- Print "The Pyromancer hit you with " + enemy4dam% + " damage"
- shealth%=shealth%-enemy4dam%
- Else Print "The Pyromancer missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Pyromancer has " + enemy4hp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Pyromancer" ;enemy dead
- Delay 2000
- s4score%=shealth%*1.66
- score%=score%+s4score%
- score%=score%+ability%+400
- ;-----------------------------------------------------------------------------------------------------
- Print "------------------------------------------"
- Print "now that The Pyromancer is dead you can now attack The Dragonlord"
- Delay 1000
- Print "as you climb further up the spiral staircase you find a super well"
- Delay 1000
- Print "the super well resets your health and stamina and gives you +5 more ability uses"
- Delay 1000
- Print "the super well also raises your health cap"
- shealth%=120
- smana%=100
- ability%=ability%+5
- Delay 1000
- Print "you finish your climb to the top of the tower and you now are ready to face The Dragonlord"
- Delay 8000
- .dragonlordsorc
- dragonlord()
- shealth%=shealth%+15
- ;-----------------------------------------------------------------------------------------------------
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- While bosshp% > 0
- If shealth% <= 0 Then
- Goto endprompt ;death
- EndIf
- If ability% <= 0 Then
- Goto s5attack
- EndIf
- sskill$=Input("would you like to use your ability?(equilibrium) " )
- If ability% > 0 Then ;ability
- If sskill$="yes" Then
- Print "you charged your next shot with (equilibruium)"
- ability%=ability%-1
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Dragonlord has " + bosshp% + " health"
- If sskill$="yes" Then
- Print "your shot is charged with equilibrium"
- EndIf
- Print "--------------------------------------"
- Else Print "you chose to not use your ability (equilibruim)"
- EndIf
- EndIf
- .s5attack
- staff%=Input("how much mana would you like to use? ") ;attack
- If staff% = 0 Then
- Print "you skipped your turn to gain 30 mana"
- smana%=smana%+30
- Goto s5hostile
- EndIf
- If staff% > smana% Then
- Print "you do not have that much mana"
- Goto s5attack
- EndIf
- If staff% < 0 Then
- Print "you cannot use that value of mana"
- Goto s5attack
- EndIf
- smana%=smana%-staff%
- Delay 1000
- sroll%=Rnd (1,20)
- If staff% > sroll% Then
- Print "you hit The Dragonlord with " + sdamage% + " damage" ;hit/miss
- bosshp%=bosshp%-sdamage%
- scrit%=Rnd(1,100)
- If scrit% > 70 Then
- Print "you hit a critical of " + staff% + " damage" ;crit
- bosshp%=bosshp%-staff%
- EndIf
- If ability% > 0 Then
- If sskill$= "yes"
- shealth%=shealth%+sdamage% + 10 ;equilibrium's +mana +heath
- smana%=smana%+sdamage% + 10
- EndIf
- EndIf
- Else Print "you missed"
- EndIf
- .s5hostile
- If bosshp% > 0 Then
- If bosshp% < 60 Then
- Print "The Dragonlord healed himself because he had critical health"
- Delay 1000
- bosshp%=bosshp%+50
- Print "The Dragonlord now has " + bosshp% ;boss heal
- EndIf
- Delay 1000
- Print "--------------------------------------" ;The Dragonlord
- Print "The Dragonlord is about to attack"
- Delay 2000
- e5roll%=Rnd (1,100) ;enemy attack
- If e5roll% > 40 Then
- Print "The Dragonlord hit you with " + bossdam% + " damage"
- shealth%=shealth%-bossdam%
- Else Print "The Dragonlord missed"
- EndIf
- Print "--------------------------------------"
- Print "--------------------------------------"
- Print "you have " + shealth% + " health"
- Print "you have " + ability% + " equilibriums left" ;live stats
- Print "you have " + smana% + " mana left"
- Print "The Dragonlord has " + bosshp% + " health"
- Print "--------------------------------------"
- Delay 1000
- EndIf
- Wend
- Print "you killed The Dragonlord" ;enemy dead
- Delay 2000
- s5score%=shealth%*1.66
- score%=score%+s5score%
- score%=score%+ability%+1000
- ;-----------------------------------------------------------------------------------------------------
- Goto victory
- .cdes
- Print "---------------------------------------------------------"
- Print "1. Knight: The knight has more health than the other classes and their weapon of choice is a sword"
- Delay 1000
- Print "The knight's sword has a rather low damage compared to the Theif's and Sorcerer's weapons"
- Delay 1000
- Print "The knight's ability (Rest) allows the knight to heal himself and restore his stamina"
- Print "---------------------------------------------------------"
- Delay 1000
- Print "---------------------------------------------------------"
- Print "2. Thief: The thief has the lowest health of the classes but deals the most damage of all the classes"
- Delay 1000
- Print "The thief's weapon of choice is his dagger which has an average chance to hit but it deals alot of damage"
- Delay 1000
- Print "the theif's ability (Cloak) allows the thief to go invisible for a short period of time"
- Delay 1000
- Print "also when the thief is in this mode he cannot be harmed and he restores half of his base stamina and heals for 10hp" ;Class Descriptions
- Print "---------------------------------------------------------"
- Delay 1000
- Print "---------------------------------------------------------"
- Print "3. Sorcerer: The sorcerer has average health and average damage but has the highest % chance to hit"
- Delay 1000
- Print "The sorcerer's weapon of choice is their staff and it has an insanly high % chance to hit their target"
- Delay 1000
- Print "The sorcerer's ability (Equilibrium) takes the damage from the next strike and adds that value to their health and mana"
- Print "---------------------------------------------------------"
- Delay 1000
- Print "you may now choose your class"
- Goto classselect
- .endprompt
- Print "game over"
- Delay 1000
- Print "you got a score of " + score%
- replay$=Input("would you like to play again?")
- If replay$ = "yes" Then
- Goto start
- Else End
- EndIf
- Function gatekeeper()
- Print "--------------------------------------"
- Print "Level 1"
- Print "The Gatekeeper"
- Delay 1000
- Print "you must kill The Gatekeeper to get inside the castle to begin your hunt to kill The Dragon Lord"
- Delay 1000
- End Function
- Function roamingknight()
- Print "--------------------------------------"
- Print "Level 2"
- Print "The Roaming Knight"
- Delay 1000
- Print "you must defeat The Roaming Knight to continue your journey to kill The Dragon Lord"
- Delay 1000
- End Function
- Function goliath()
- Print "--------------------------------------"
- Print "Level 3"
- Print "The Goliath"
- Delay 1000
- Print "you must defeat The Goliath guarding the portal to enter The Dragon Lord's realm"
- Delay 1000
- End Function
- Function pyromancer()
- Print "--------------------------------------"
- Print "Level 4"
- Print "The Pyromancer"
- Delay 1000
- Print "you must defeat The Pyromancer to finally be able to confront The Dragon Lord"
- Delay 1000
- End Function
- Function dragonlord()
- Print "--------------------------------------"
- Print "Final Level"
- Print "The Dragon Lord"
- Delay 1000
- Print "you must now defeat The Dragon Lord to save the world from a firey end"
- Delay 1000
- End Function
- .victory
- Print "congratulations!"
- Delay 1000
- Print "you killed the Dragonlord and saved the world from a fiery destruction"
- Goto endprompt
- .bottomtext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement