Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VERSION 5.00
- Begin VB.Form Form2
- BorderStyle = 1 'Fixed Single
- Caption = "Attack Type Specification"
- ClientHeight = 3495
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4215
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3495
- ScaleWidth = 4215
- StartUpPosition = 3 'Windows Default
- Begin VB.OptionButton Option15
- Caption = "Ghost"
- Height = 255
- Left = 2160
- TabIndex = 16
- Top = 2280
- Width = 1935
- End
- Begin VB.OptionButton Option14
- Caption = "Rock"
- Height = 255
- Left = 2160
- TabIndex = 15
- Top = 1920
- Width = 1935
- End
- Begin VB.OptionButton Option13
- Caption = "Bug"
- Height = 255
- Left = 2160
- TabIndex = 14
- Top = 1560
- Width = 1935
- End
- Begin VB.OptionButton Option12
- Caption = "Psychic"
- Height = 255
- Left = 2160
- TabIndex = 13
- Top = 1200
- Width = 1935
- End
- Begin VB.OptionButton Option11
- Caption = "Flying"
- Height = 255
- Left = 2160
- TabIndex = 12
- Top = 840
- Width = 1935
- End
- Begin VB.OptionButton Option10
- Caption = "Ground"
- Height = 255
- Left = 2160
- TabIndex = 11
- Top = 480
- Width = 1935
- End
- Begin VB.OptionButton Option9
- Caption = "Poison"
- Height = 255
- Left = 2160
- TabIndex = 10
- Top = 120
- Width = 1815
- End
- Begin VB.OptionButton Option8
- Caption = "Dragon"
- Height = 255
- Left = 1680
- TabIndex = 9
- Top = 2640
- Width = 855
- End
- Begin VB.OptionButton Option7
- Caption = "Fighting"
- Height = 255
- Left = 120
- TabIndex = 8
- Top = 2280
- Width = 1815
- End
- Begin VB.OptionButton Option6
- Caption = "Ice"
- Height = 255
- Left = 120
- TabIndex = 7
- Top = 1920
- Width = 1695
- End
- Begin VB.OptionButton Option5
- Caption = "Grass"
- Height = 255
- Left = 120
- TabIndex = 6
- Top = 1560
- Width = 1695
- End
- Begin VB.OptionButton Option4
- Caption = "Electric"
- Height = 255
- Left = 120
- TabIndex = 5
- Top = 1200
- Width = 1695
- End
- Begin VB.OptionButton Option3
- Caption = "Water"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 840
- Width = 1695
- End
- Begin VB.OptionButton Option2
- Caption = "Fire"
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 480
- Width = 1695
- End
- Begin VB.OptionButton Option1
- Caption = "Normal"
- Height = 255
- Left = 120
- TabIndex = 2
- Top = 120
- Width = 1575
- End
- Begin VB.CommandButton Command2
- Caption = "&Cancel"
- Height = 375
- Left = 2160
- TabIndex = 1
- Top = 3000
- Width = 1935
- End
- Begin VB.CommandButton Command1
- Caption = "&OK"
- Height = 375
- Left = 120
- TabIndex = 0
- Top = 3000
- Width = 1935
- End
- End
- Attribute VB_Name = "Form2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If Option1.Value = True Then
- Form1.Label7.Caption = "Normal"
- attack = 0
- ElseIf Option2.Value = True Then
- Form1.Label7.Caption = "Fire"
- attack = 1
- ElseIf Option3.Value = True Then
- Form1.Label7.Caption = "Water"
- attack = 2
- ElseIf Option4.Value = True Then
- Form1.Label7.Caption = "Electric"
- attack = 3
- ElseIf Option5.Value = True Then
- Form1.Label7.Caption = "Grass"
- attack = 4
- ElseIf Option6.Value = True Then
- Form1.Label7.Caption = "Ice"
- attack = 5
- ElseIf Option7.Value = True Then
- Form1.Label7.Caption = "Fighting"
- attack = 6
- ElseIf Option8.Value = True Then
- Form1.Label7.Caption = "Dragon"
- attack = 14
- ElseIf Option9.Value = True Then
- Form1.Label7.Caption = "Poison"
- attack = 7
- ElseIf Option10.Value = True Then
- Form1.Label7.Caption = "Ground"
- attack = 8
- ElseIf Option11.Value = True Then
- Form1.Label7.Caption = "Flying"
- attack = 9
- ElseIf Option12.Value = True Then
- Form1.Label7.Caption = "Psychic"
- attack = 10
- ElseIf Option13.Value = True Then
- Form1.Label7.Caption = "Bug"
- attack = 11
- ElseIf Option14.Value = True Then
- Form1.Label7.Caption = "Rock"
- attack = 12
- ElseIf Option15.Value = True Then
- Form1.Label7.Caption = "Ghost"
- attack = 13
- End If
- Unload Me
- End Sub
- Private Sub Command2_Click()
- Unload Me
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment