Advertisement
thepreston

Script RPG

Feb 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim Player_HP(1)
  2. dim Player_Atk
  3. dim Player_Exp
  4. dim Enemy_HP(1)
  5. dim Enemy_Atk
  6.  
  7. dim Player_Location
  8.  
  9. dim Prompt
  10.  
  11. dim GamePhase
  12.  
  13. Player_HP(0) = 100
  14. Player_HP(1) = 100
  15. Player_Atk = 10
  16. Player_Exp = 0
  17. Enemy_HP(0) = 0
  18. Enemy_HP(1) = 0
  19. Enemy_Atk = 0
  20.  
  21. Player_Location = "Town"
  22. GamePhase = 1
  23.  
  24. Do while GamePhase = 1
  25.  
  26.     Prompt = "You are at " & Player_Location & "." & Chr(13) & "1 - Search" & Chr(13) & "2 - Recover HP" & Chr(13) & "3 - Travel" & Chr(13) & "4 - Quit Game"
  27.     Client = InputBox(Prompt)
  28.  
  29.     If Client = "1" Then
  30.        
  31.     End If
  32.  
  33.     If Client = "2" Then
  34.         Player_HP(0) = Player_HP(1)
  35.         Prompt = "
  36.         Client = MsgBox
  37.     End If
  38.  
  39.     If Client = "3" Then
  40.        
  41.     End If
  42.  
  43.     If Client = "4" Then
  44.         GamePhase = 0
  45.     End If
  46.  
  47. Loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement