forked from smbx/smbx-legacy-source
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfrmNPCAdvanced.frm
157 lines (151 loc) · 4.42 KB
/
frmNPCAdvanced.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
VERSION 5.00
Begin VB.Form frmNPCAdvanced
BorderStyle = 1 'Fixed Single
Caption = "Advanced NPC Settings"
ClientHeight = 1950
ClientLeft = 45
ClientTop = 435
ClientWidth = 4305
Icon = "frmNPCAdvanced.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 1950
ScaleWidth = 4305
Begin VB.Frame WarpFrame
Caption = "Warp to Section"
Height = 615
Left = 120
TabIndex = 10
Top = 1320
Width = 2535
Begin VB.ComboBox WarpSection
Height = 315
Left = 120
TabIndex = 11
Top = 240
Width = 2175
End
End
Begin VB.Frame FireFrame
Caption = "Firebar"
Height = 975
Left = 2760
TabIndex = 7
Top = 960
Width = 1455
Begin VB.HScrollBar scrFire
Height = 255
Left = 120
Max = 32
TabIndex = 8
Top = 480
Value = 1
Width = 1095
End
Begin VB.Label lbFire
Caption = "Position: 1"
Height = 255
Left = 120
TabIndex = 9
Top = 240
Width = 1170
End
End
Begin VB.Frame CheepFrame
Caption = "Cheep Cheep AI"
Enabled = 0 'False
Height = 615
Left = 120
TabIndex = 5
Top = 720
Width = 2535
Begin VB.ComboBox cmbCheep
Enabled = 0 'False
Height = 315
ItemData = "frmNPCAdvanced.frx":0B3A
Left = 120
List = "frmNPCAdvanced.frx":0B4D
Style = 2 'Dropdown List
TabIndex = 6
Top = 240
Width = 2175
End
End
Begin VB.PictureBox FocusNinja
Height = 375
Left = 9000
ScaleHeight = 315
ScaleWidth = 315
TabIndex = 4
Top = 3960
Width = 375
End
Begin VB.Frame LegacyFrame
Caption = "Legacy Boss"
Enabled = 0 'False
Height = 735
Left = 2760
TabIndex = 2
Top = 120
Width = 1455
Begin VB.CommandButton Legacy
Caption = "No"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 3
Top = 240
Width = 1215
End
End
Begin VB.Frame ParaFrame
Caption = "Koopa Para-Troopa AI"
Enabled = 0 'False
Height = 615
Left = 120
TabIndex = 0
Top = 120
Width = 2535
Begin VB.ComboBox cmbPara
Enabled = 0 'False
Height = 315
ItemData = "frmNPCAdvanced.frx":0B88
Left = 120
List = "frmNPCAdvanced.frx":0B98
Style = 2 'Dropdown List
TabIndex = 1
Top = 240
Width = 2175
End
End
End
Attribute VB_Name = "frmNPCAdvanced"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim A As Integer
WarpSection.Clear
For A = 1 To 21
WarpSection.AddItem "Section " & A
Next A
End Sub
Private Sub Form_Unload(Cancel As Integer)
Cancel = 1
Me.Hide
End Sub
Private Sub Legacy_Click()
On Error Resume Next
If Me.Visible = True Then FocusNinja.SetFocus
If Legacy.Caption = "No" Then
Legacy.Caption = "Yes"
Else
Legacy.Caption = "No"
End If
End Sub
Private Sub scrFire_Change()
lbFire.Caption = "Position: " & scrFire.Value
End Sub