shuvit 5 years ago
parent
commit
9a8002b465
3 changed files with 1984 additions and 125 deletions
  1. 375
    98
      scripts/actionPlayer.py
  2. 1607
    25
      scripts/actionsFSMlist.py
  3. 2
    2
      scripts/controller2.py

+ 375
- 98
scripts/actionPlayer.py View File

2
 import actionsFSMlist
2
 import actionsFSMlist
3
 
3
 
4
 dict = bge.logic.globalDict
4
 dict = bge.logic.globalDict
5
-
5
+zero_blend = False
6
 
6
 
7
 def actionPlayer(ac):
7
 def actionPlayer(ac):
8
 	scene = bge.logic.getCurrentScene()
8
 	scene = bge.logic.getCurrentScene()
20
 	speed = getattr(ac, 'speed')
20
 	speed = getattr(ac, 'speed')
21
 	blendin = getattr(ac, 'blendin')
21
 	blendin = getattr(ac, 'blendin')
22
 	#--------------------------------
22
 	#--------------------------------
23
+	if zero_blend:
24
+		blendin = 0
25
+		print('zeroing blend')
23
 	skater.playAction(name, start,end, layer=layer, play_mode=mode, speed=speed, blendin=blendin)
26
 	skater.playAction(name, start,end, layer=layer, play_mode=mode, speed=speed, blendin=blendin)
24
 	deck.playAction(dname, dstart,dend, layer=layer, play_mode=mode, speed=speed, blendin=blendin)
27
 	deck.playAction(dname, dstart,dend, layer=layer, play_mode=mode, speed=speed, blendin=blendin)
25
-	#print('playing', name)
28
+	print('playing', name, get_frame(ac))
26
 
29
 
27
 def get_frame(ac):
30
 def get_frame(ac):
28
 	skater = dict['p1']
31
 	skater = dict['p1']
48
 		return aState
51
 		return aState
49
 
52
 
50
 	if force != None and fe >= timer:
53
 	if force != None and fe >= timer:
54
+		print('doing exit timer')
51
 		return force
55
 		return force
52
-			
53
-
54
-	
55
-
56
 
56
 
57
 def state_timer(own):
57
 def state_timer(own):
58
 	if own['aState'] == own['l_aState']:
58
 	if own['aState'] == own['l_aState']:
60
 	else:
60
 	else:
61
 		own['stateTimer'] = 0
61
 		own['stateTimer'] = 0
62
 
62
 
63
+def check_land(rA, aState, own):
64
+
65
+	#check if manualling
66
+	if rA in actionsFSMlist.reg_manuallist or rA in actionsFSMlist.reg_grindlist:
67
+		aState = rA
68
+		own['stateTimer'] = 0
69
+		own['aState'] = rA
70
+	#otherwise, force land, offboard or fliptrick
71
+	elif 'land' in rA or 'onboard' in rA or 'offboard' in rA or rA in actionsFSMlist.reg_fliplist:
72
+		print('landing________________________', rA)
73
+		aState = rA
74
+		own['stateTimer'] = 0
75
+		own['aState'] = rA
76
+	return aState	
77
+
63
 def main(cont):
78
 def main(cont):
64
 	own = cont.owner
79
 	own = cont.owner
65
 	dict = bge.logic.globalDict
80
 	dict = bge.logic.globalDict
70
 		own['l_aState'] = None
85
 		own['l_aState'] = None
71
 		own['stateTimer'] = 0
86
 		own['stateTimer'] = 0
72
 
87
 
73
-
74
-	og_state = own['aState']
88
+	
75
 	aState = own['aState']
89
 	aState = own['aState']
76
 	rA = own['requestAction']
90
 	rA = own['requestAction']
77
 	timer = own['stateTimer']
91
 	timer = own['stateTimer']
78
 	newState = own['aState']
92
 	newState = own['aState']
79
-	
93
+	aState = check_land(rA, aState, own)
94
+	newState = aState
95
+	og_state = own['aState']
96
+	print(aState, 'cur aState')
97
+
98
+	if own['l_aState'] in actionsFSMlist.reg_fliplist:
99
+		zero_blend = True
100
+
80
 	#-----------------------
101
 	#-----------------------
81
 	check_state = 'reg_idle'
102
 	check_state = 'reg_idle'
82
 	if aState == check_state:
103
 	if aState == check_state:
83
-		cl = getattr(actionsFSMlist, check_state)
84
-		actionPlayer(cl)
85
-		newState = check_exit(aState, rA, timer, cl)
104
+		action = getattr(actionsFSMlist, check_state)
105
+		actionPlayer(action)
106
+		newState = check_exit(aState, rA, timer, action)
86
 
107
 
87
 	check_state = 'reg_idle2'	
108
 	check_state = 'reg_idle2'	
88
 	if aState == check_state:
109
 	if aState == check_state:
89
-		cl = getattr(actionsFSMlist, check_state)
90
-		actionPlayer(cl)
91
-		newState = check_exit(aState, rA, timer, cl)
110
+		action = getattr(actionsFSMlist, check_state)
111
+		actionPlayer(action)
112
+		newState = check_exit(aState, rA, timer, action)
92
 
113
 
93
 	check_state = 'reg_idle3'
114
 	check_state = 'reg_idle3'
94
 	if aState == check_state:
115
 	if aState == check_state:
95
-		cl = getattr(actionsFSMlist, check_state)
96
-		actionPlayer(cl)
97
-		newState = check_exit(aState, rA, timer, cl)
116
+		action = getattr(actionsFSMlist, check_state)
117
+		actionPlayer(action)
118
+		newState = check_exit(aState, rA, timer, action)
98
 	
119
 	
99
 	check_state = 'reg_idle4'
120
 	check_state = 'reg_idle4'
100
 	if aState == check_state:
121
 	if aState == check_state:
101
-		cl = getattr(actionsFSMlist, check_state)
102
-		actionPlayer(cl)
103
-		newState = check_exit(aState, rA, timer, cl)
122
+		action = getattr(actionsFSMlist, check_state)
123
+		actionPlayer(action)
124
+		newState = check_exit(aState, rA, timer, action)
104
 
125
 
105
 	check_state = 'reg_idle5'
126
 	check_state = 'reg_idle5'
106
 	if aState == check_state:
127
 	if aState == check_state:
107
-		cl = getattr(actionsFSMlist, check_state)
108
-		actionPlayer(cl)
109
-		newState = check_exit(aState, rA, timer, cl)
128
+		action = getattr(actionsFSMlist, check_state)
129
+		actionPlayer(action)
130
+		newState = check_exit(aState, rA, timer, action)
110
 	
131
 	
111
 	check_state = 'reg_jump'
132
 	check_state = 'reg_jump'
112
 	if aState == check_state:
133
 	if aState == check_state:
113
-		cl = getattr(actionsFSMlist, check_state)
114
-		actionPlayer(cl)
115
-		if own['stateTimer'] > getattr(cl, 'fef'):
116
-			nl = getattr(cl, 'force_exit')
117
-			na = getattr(actionsFSMlist, nl)
118
-
119
-			newState = check_exit(aState, rA, timer, cl)
134
+		action = getattr(actionsFSMlist, check_state)
135
+		actionPlayer(action)
136
+		if own['stateTimer'] > getattr(action, 'fef'):
137
+			newState = check_exit(aState, rA, timer, action)
120
 	
138
 	
121
 	check_state = 'reg_walk_air'
139
 	check_state = 'reg_walk_air'
122
 	if aState == check_state:
140
 	if aState == check_state:
123
-		cl = getattr(actionsFSMlist, check_state)
124
-		actionPlayer(cl)
141
+		action = getattr(actionsFSMlist, check_state)
142
+		actionPlayer(action)
125
 		if aState != rA:
143
 		if aState != rA:
126
-			newState = 'reg_walk_air_out'
144
+			newState = getattr(action, 'exits')[0]
127
 	
145
 	
128
 	check_state = 'reg_walk_air_out' 			
146
 	check_state = 'reg_walk_air_out' 			
129
 	if aState == check_state:
147
 	if aState == check_state:
130
-		cl = getattr(actionsFSMlist, check_state)
131
-		actionPlayer(cl)
132
-		print(own['stateTimer'], getattr(cl, 'fef'))
133
-		if own['stateTimer'] > getattr(cl, 'fef'):	
134
-			#newState = check_exit(aState, rA, timer, actionsFSMlist.reg_idle)
135
-			newState = getattr(cl, 'force_exit')
148
+		action = getattr(actionsFSMlist, check_state)
149
+		actionPlayer(action)
150
+		print(own['stateTimer'], getattr(action, 'fef'))
151
+		if own['stateTimer'] > getattr(action, 'fef'):	
152
+			newState = getattr(action, 'force_exit')
136
 
153
 
137
 	check_state = 'reg_sit'
154
 	check_state = 'reg_sit'
138
 	if aState == check_state:
155
 	if aState == check_state:
139
-		cl = getattr(actionsFSMlist, check_state)
140
-		if own['stateTimer'] < 19:
141
-			actionPlayer(actionsFSMlist.reg_sit_in)
156
+		action = getattr(actionsFSMlist, check_state)
157
+		#if own['stateTimer'] < 19:
158
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
159
+			actionPlayer(getattr(actionsFSMlist, 'intro'))
142
 		else:
160
 		else:
143
-			actionPlayer(cl)
161
+			actionPlayer(action)
144
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_sit)
162
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_sit)
145
 
163
 
146
 	#-----------------------
164
 	#-----------------------
147
 	check_state = 'reg_walk'
165
 	check_state = 'reg_walk'
148
 	if aState == check_state:
166
 	if aState == check_state:
149
-		cl = getattr(actionsFSMlist, check_state)
167
+		action = getattr(actionsFSMlist, check_state)
150
 		if own['l_aState'] == 'reg_walkFast':
168
 		if own['l_aState'] == 'reg_walkFast':
151
-			print('--------------------doing last frame')
152
 			frame = get_frame(actionsFSMlist.reg_walkFast)
169
 			frame = get_frame(actionsFSMlist.reg_walkFast)
153
-			actionPlayer(cl)
170
+			actionPlayer(action)
154
 			set_frame(actionsFSMlist.reg_walk, frame)
171
 			set_frame(actionsFSMlist.reg_walk, frame)
155
 		else:	
172
 		else:	
156
-			frame = actionPlayer(cl)
173
+			frame = actionPlayer(action)
157
 		
174
 		
158
-		newState = check_exit(aState, rA, timer, cl)
175
+		newState = check_exit(aState, rA, timer, action)
159
 
176
 
160
 	#-----------------------
177
 	#-----------------------
161
 	check_state = 'reg_walkFast'
178
 	check_state = 'reg_walkFast'
162
 	if aState == check_state:
179
 	if aState == check_state:
163
-		cl = getattr(actionsFSMlist, check_state)
180
+		action = getattr(actionsFSMlist, check_state)
164
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_walkFast)
181
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_walkFast)
165
 
182
 
166
 		if own['l_aState'] == 'reg_walk':
183
 		if own['l_aState'] == 'reg_walk':
167
-			print('--------------------doing last framebbbb')
168
 			frame = get_frame(actionsFSMlist.reg_walk)
184
 			frame = get_frame(actionsFSMlist.reg_walk)
169
-			actionPlayer(cl)
185
+			actionPlayer(action)
170
 			set_frame(actionsFSMlist.reg_walkFast, frame)
186
 			set_frame(actionsFSMlist.reg_walkFast, frame)
171
 
187
 
172
 		else:
188
 		else:
173
-			actionPlayer(cl)
189
+			actionPlayer(action)
174
 		#print(frame)
190
 		#print(frame)
175
 
191
 
176
-
177
 	check_state = 'reg_onboard'
192
 	check_state = 'reg_onboard'
178
 	if aState == check_state:
193
 	if aState == check_state:
179
-		cl = getattr(actionsFSMlist, check_state)
180
-		actionPlayer(cl)
181
-		if own['stateTimer'] > 10:
182
-			newState = check_exit(aState, rA, timer, actionsFSMlist.reg_onboard)
194
+		action = getattr(actionsFSMlist, check_state)
195
+		actionPlayer(action)
196
+		print('checking onbaord state')
197
+		#if own['stateTimer'] > 10:
198
+			#newState = check_exit(aState, rA, timer, actionsFSMlist.reg_onboard)
199
+		if own['stateTimer'] > getattr(action, 'fef'):	
200
+			newState = getattr(action, 'force_exit')			
183
 
201
 
184
 	check_state = 'reg_offboard'
202
 	check_state = 'reg_offboard'
185
 	if aState == check_state:
203
 	if aState == check_state:
186
-		cl = getattr(actionsFSMlist, check_state)
187
-		actionPlayer(cl)
204
+		action = getattr(actionsFSMlist, check_state)
205
+		actionPlayer(action)
188
 		if own['stateTimer'] > 20:
206
 		if own['stateTimer'] > 20:
189
 			newState = check_exit(aState, rA, timer, actionsFSMlist.reg_offboard)			
207
 			newState = check_exit(aState, rA, timer, actionsFSMlist.reg_offboard)			
190
 
208
 
191
 	check_state = 'reg_roll'
209
 	check_state = 'reg_roll'
192
 	if aState == check_state:
210
 	if aState == check_state:
193
-		cl = getattr(actionsFSMlist, check_state)
194
-		actionPlayer(cl)
195
-		newState = check_exit(aState, rA, timer, cl)
211
+		action = getattr(actionsFSMlist, check_state)
212
+		actionPlayer(action)
213
+		newState = check_exit(aState, rA, timer, action)
196
 
214
 
197
 	check_state = 'reg_turnLeft'
215
 	check_state = 'reg_turnLeft'
198
 	if aState == check_state:
216
 	if aState == check_state:
199
-		cl = getattr(actionsFSMlist, check_state)
200
-		actionPlayer(cl)
201
-		newState = check_exit(aState, rA, timer, cl)
217
+		action = getattr(actionsFSMlist, check_state)
218
+		actionPlayer(action)
219
+		newState = check_exit(aState, rA, timer, action)
202
 	
220
 	
203
 	check_state = 'reg_turnRight'
221
 	check_state = 'reg_turnRight'
204
 	if aState == check_state:
222
 	if aState == check_state:
205
-		cl = getattr(actionsFSMlist, check_state)
206
-		actionPlayer(cl)
207
-		newState = check_exit(aState, rA, timer, cl)
223
+		action = getattr(actionsFSMlist, check_state)
224
+		actionPlayer(action)
225
+		newState = check_exit(aState, rA, timer, action)
208
 
226
 
209
 	check_state = 'reg_opos'
227
 	check_state = 'reg_opos'
210
 	if aState == check_state:
228
 	if aState == check_state:
211
-		cl = getattr(actionsFSMlist, check_state)
212
-		actionPlayer(cl)
213
-		newState = check_exit(aState, rA, timer, cl)		
229
+		action = getattr(actionsFSMlist, check_state)
230
+		actionPlayer(action)
231
+		newState = check_exit(aState, rA, timer, action)		
214
 	
232
 	
215
 	check_state = 'reg_nopos'
233
 	check_state = 'reg_nopos'
216
 	if aState == check_state:
234
 	if aState == check_state:
217
-		cl = getattr(actionsFSMlist, check_state)
218
-		actionPlayer(cl)
219
-		newState = check_exit(aState, rA, timer, cl)		
235
+		action = getattr(actionsFSMlist, check_state)
236
+		actionPlayer(action)
237
+		newState = check_exit(aState, rA, timer, action)		
220
 
238
 
221
 	check_state = 'reg_pump'
239
 	check_state = 'reg_pump'
222
 	if aState == check_state:
240
 	if aState == check_state:
223
-		cl = getattr(actionsFSMlist, check_state)
224
-		actionPlayer(cl)
225
-		newState = check_exit(aState, rA, timer, cl)		
241
+		action = getattr(actionsFSMlist, check_state)
242
+		actionPlayer(action)
243
+		newState = check_exit(aState, rA, timer, action)
244
+
245
+	check_state = 'reg_pump_left'
246
+	if aState == check_state:
247
+		action = getattr(actionsFSMlist, check_state)
248
+		actionPlayer(action)
249
+		newState = check_exit(aState, rA, timer, action)				
250
+
251
+	check_state = 'reg_pump_right'
252
+	if aState == check_state:
253
+		action = getattr(actionsFSMlist, check_state)
254
+		actionPlayer(action)
255
+		newState = check_exit(aState, rA, timer, action)				
256
+
226
 
257
 
227
 	check_state = 'reg_push'
258
 	check_state = 'reg_push'
228
 	if aState == check_state:
259
 	if aState == check_state:
229
-		cl = getattr(actionsFSMlist, check_state)
230
-		actionPlayer(cl)
260
+		action = getattr(actionsFSMlist, check_state)
261
+		actionPlayer(action)
231
 		if own['stateTimer'] > 70:
262
 		if own['stateTimer'] > 70:
232
 			newState = 'reg_roll'
263
 			newState = 'reg_roll'
233
 
264
 
234
 	check_state = 'reg_push_goof'
265
 	check_state = 'reg_push_goof'
235
 	if aState == check_state:
266
 	if aState == check_state:
236
-		cl = getattr(actionsFSMlist, check_state)
237
-		actionPlayer(cl)
267
+		action = getattr(actionsFSMlist, check_state)
268
+		actionPlayer(action)
238
 		if own['stateTimer'] > 70:
269
 		if own['stateTimer'] > 70:
239
 			newState = 'reg_roll'			
270
 			newState = 'reg_roll'			
240
 	
271
 	
241
 	check_state = 'reg_powerslide'
272
 	check_state = 'reg_powerslide'
242
 	if aState == check_state:
273
 	if aState == check_state:
243
-		cl = getattr(actionsFSMlist, check_state)
244
-		if own['stateTimer'] < 20:
245
-			actionPlayer(actionsFSMlist.reg_powerslide_in)
274
+		action = getattr(actionsFSMlist, check_state)
275
+		# if own['stateTimer'] < 20:
276
+		# 	actionPlayer(actionsFSMlist.reg_powerslide_in)
277
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
278
+			intro = getattr(action, 'intro')
279
+			actionPlayer(getattr(actionsFSMlist, intro))	
246
 		else:
280
 		else:
247
-			actionPlayer(cl)
248
-		
249
-
281
+			actionPlayer(action)
250
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_powerslide)
282
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_powerslide)
251
 
283
 
252
 	check_state = 'reg_fs_powerslide'
284
 	check_state = 'reg_fs_powerslide'
253
 	if aState == check_state:
285
 	if aState == check_state:
254
-		cl = getattr(actionsFSMlist, check_state)
255
-		if own['stateTimer'] < 20:
256
-			actionPlayer(actionsFSMlist.reg_fs_powerslide_in)
286
+		action = getattr(actionsFSMlist, check_state)
287
+		# if own['stateTimer'] < 20:
288
+		# 	actionPlayer(actionsFSMlist.reg_fs_powerslide_in)
289
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
290
+			intro = getattr(action, 'intro')
291
+			actionPlayer(getattr(actionsFSMlist, intro))	
257
 		else:
292
 		else:
258
-			actionPlayer(cl)
293
+			actionPlayer(action)
259
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_fs_powerslide)				
294
 		newState = check_exit(aState, rA, timer, actionsFSMlist.reg_fs_powerslide)				
260
 
295
 
261
 	check_state = 'reg_manual'
296
 	check_state = 'reg_manual'
262
 	if aState == check_state:
297
 	if aState == check_state:
263
-		cl = getattr(actionsFSMlist, check_state)
264
-		actionPlayer(cl)
265
-		newState = check_exit(aState, rA, timer, cl)
298
+		action = getattr(actionsFSMlist, check_state)
299
+		actionPlayer(action)
300
+		newState = check_exit(aState, rA, timer, action)
266
 
301
 
267
 	check_state = 'reg_nmanual'
302
 	check_state = 'reg_nmanual'
268
 	if aState == check_state:
303
 	if aState == check_state:
269
-		cl = getattr(actionsFSMlist, check_state)
270
-		actionPlayer(cl)
271
-		newState = check_exit(aState, rA, timer, cl)
304
+		action = getattr(actionsFSMlist, check_state)
305
+		actionPlayer(action)
306
+		newState = check_exit(aState, rA, timer, action)
272
 
307
 
308
+	check_state = 'reg_land'
309
+	if aState == check_state:
310
+		action = getattr(actionsFSMlist, check_state)
311
+		actionPlayer(action)
312
+		if own['stateTimer'] > getattr(action, 'fef'):	
313
+			newState = getattr(action, 'force_exit')
314
+
315
+	check_state = 'reg_landL'
316
+	if aState == check_state:
317
+		action = getattr(actionsFSMlist, check_state)
318
+		actionPlayer(action)
319
+		if own['stateTimer'] > getattr(action, 'fef'):	
320
+			newState = getattr(action, 'force_exit')
273
 
321
 
322
+	check_state = 'reg_landLb'
323
+	if aState == check_state:
324
+		action = getattr(actionsFSMlist, check_state)
325
+		actionPlayer(action)
326
+		if own['stateTimer'] > getattr(action, 'fef'):	
327
+			newState = getattr(action, 'force_exit')
274
 
328
 
329
+	check_state = 'reg_landR'
330
+	if aState == check_state:
331
+		action = getattr(actionsFSMlist, check_state)
332
+		actionPlayer(action)
333
+		if own['stateTimer'] > getattr(action, 'fef'):	
334
+			newState = getattr(action, 'force_exit')
275
 
335
 
336
+	check_state = 'reg_landRb'
337
+	if aState == check_state:
338
+		action = getattr(actionsFSMlist, check_state)
339
+		actionPlayer(action)
340
+		if own['stateTimer'] > getattr(action, 'fef'):	
341
+			newState = getattr(action, 'force_exit')												
276
 
342
 
343
+	check_state = 'reg_air'
344
+	if aState == check_state:
345
+		action = getattr(actionsFSMlist, check_state)
346
+		actionPlayer(action)
347
+		newState = check_exit(aState, rA, timer, action)
277
 
348
 
349
+	check_state = 'reg_air_nose'
350
+	if aState == check_state:
351
+		action = getattr(actionsFSMlist, check_state)
352
+		actionPlayer(action)
353
+		newState = check_exit(aState, rA, timer, action)
278
 
354
 
355
+	check_state = 'reg_air_tail'
356
+	if aState == check_state:
357
+		action = getattr(actionsFSMlist, check_state)
358
+		actionPlayer(action)
359
+		newState = check_exit(aState, rA, timer, action)				
279
 
360
 
361
+	check_state = 'reg_ollie'
362
+	if aState == check_state:
363
+		action = getattr(actionsFSMlist, check_state)
364
+		actionPlayer(action)
365
+		if own['stateTimer'] > getattr(action, 'fef'):	
366
+			newState = getattr(action, 'force_exit')												
280
 
367
 
368
+	check_state = 'reg_kickflip'
369
+	if aState == check_state:
370
+		action = getattr(actionsFSMlist, check_state)
371
+		actionPlayer(action)
372
+		if own['stateTimer'] > getattr(action, 'fef'):	
373
+			newState = getattr(action, 'force_exit')												
281
 
374
 
375
+	check_state = 'reg_heelflip'
376
+	if aState == check_state:
377
+		action = getattr(actionsFSMlist, check_state)
378
+		actionPlayer(action)
379
+		if own['stateTimer'] > getattr(action, 'fef'):	
380
+			newState = getattr(action, 'force_exit')
282
 
381
 
382
+	check_state = 'reg_shuvit'
383
+	if aState == check_state:
384
+		action = getattr(actionsFSMlist, check_state)
385
+		actionPlayer(action)
386
+		if own['stateTimer'] > getattr(action, 'fef'):	
387
+			newState = getattr(action, 'force_exit')												
388
+
389
+	check_state = 'reg_shuvit360'
390
+	if aState == check_state:
391
+		action = getattr(actionsFSMlist, check_state)
392
+		actionPlayer(action)
393
+		if own['stateTimer'] > getattr(action, 'fef'):	
394
+			newState = getattr(action, 'force_exit')												
395
+
396
+	check_state = 'reg_fsshuvit'
397
+	if aState == check_state:
398
+		action = getattr(actionsFSMlist, check_state)
399
+		actionPlayer(action)
400
+		if own['stateTimer'] > getattr(action, 'fef'):	
401
+			newState = getattr(action, 'force_exit')												
402
+
403
+	check_state = 'reg_fsshuvit360'
404
+	if aState == check_state:
405
+		action = getattr(actionsFSMlist, check_state)
406
+		actionPlayer(action)
407
+		if own['stateTimer'] > getattr(action, 'fef'):	
408
+			newState = getattr(action, 'force_exit')												
409
+
410
+	check_state = 'reg_5050'
411
+	if aState == check_state:
412
+		action = getattr(actionsFSMlist, check_state)
413
+		actionPlayer(action)
414
+		newState = check_exit(aState, rA, timer, action)
415
+
416
+	check_state = 'reg_bsboard'
417
+	if aState == check_state:
418
+		action = getattr(actionsFSMlist, check_state)
419
+		actionPlayer(action)
420
+		newState = check_exit(aState, rA, timer, action)
283
 
421
 
422
+	check_state = 'reg_fsboard'
423
+	if aState == check_state:
424
+		action = getattr(actionsFSMlist, check_state)
425
+		actionPlayer(action)
426
+		newState = check_exit(aState, rA, timer, action)
427
+
428
+	check_state = 'reg_tailg'
429
+	if aState == check_state:
430
+		action = getattr(actionsFSMlist, check_state)
431
+		actionPlayer(action)
432
+		newState = check_exit(aState, rA, timer, action)
433
+
434
+	check_state = 'reg_tailgr'
435
+	if aState == check_state:
436
+		action = getattr(actionsFSMlist, check_state)
437
+		actionPlayer(action)
438
+		newState = check_exit(aState, rA, timer, action)
439
+
440
+	check_state = 'reg_tailgl'
441
+	if aState == check_state:
442
+		action = getattr(actionsFSMlist, check_state)
443
+		actionPlayer(action)
444
+		newState = check_exit(aState, rA, timer, action)
445
+
446
+	check_state = 'reg_noseg'
447
+	if aState == check_state:
448
+		action = getattr(actionsFSMlist, check_state)
449
+		actionPlayer(action)
450
+		newState = check_exit(aState, rA, timer, action)
451
+
452
+	check_state = 'reg_nosegr'
453
+	if aState == check_state:
454
+		action = getattr(actionsFSMlist, check_state)
455
+		actionPlayer(action)
456
+		newState = check_exit(aState, rA, timer, action)
457
+
458
+	check_state = 'reg_nosegl'
459
+	if aState == check_state:
460
+		action = getattr(actionsFSMlist, check_state)
461
+		actionPlayer(action)
462
+		newState = check_exit(aState, rA, timer, action)
463
+
464
+	check_state = 'reg_tailslide'
465
+	if aState == check_state:
466
+		action = getattr(actionsFSMlist, check_state)
467
+		actionPlayer(action)
468
+		newState = check_exit(aState, rA, timer, action)
469
+
470
+	check_state = 'reg_noseslide'
471
+	if aState == check_state:
472
+		action = getattr(actionsFSMlist, check_state)
473
+		actionPlayer(action)
474
+		newState = check_exit(aState, rA, timer, action)
475
+
476
+
477
+
478
+
479
+
480
+
481
+	check_state = 'frontside_grab'
482
+	if aState == check_state:
483
+		action = getattr(actionsFSMlist, check_state)
484
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
485
+			intro = getattr(action, 'intro')
486
+			actionPlayer(getattr(actionsFSMlist, intro))	
487
+		else:
488
+			actionPlayer(action)		
489
+		newState = check_exit(aState, rA, timer, action)
490
+
491
+	check_state = 'backside_grab'
492
+	if aState == check_state:
493
+		action = getattr(actionsFSMlist, check_state)
494
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
495
+			intro = getattr(action, 'intro')
496
+			actionPlayer(getattr(actionsFSMlist, intro))	
497
+		else:
498
+			actionPlayer(action)		
499
+		newState = check_exit(aState, rA, timer, action)		
500
+		
501
+	check_state = 'frontside_nose_grab'
502
+	if aState == check_state:
503
+		action = getattr(actionsFSMlist, check_state)
504
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
505
+			intro = getattr(action, 'intro')
506
+			actionPlayer(getattr(actionsFSMlist, intro))	
507
+		else:
508
+			actionPlayer(action)		
509
+		newState = check_exit(aState, rA, timer, action)
510
+	
511
+	check_state = 'backside_nose_grab'
512
+	if aState == check_state:
513
+		action = getattr(actionsFSMlist, check_state)
514
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
515
+			intro = getattr(action, 'intro')
516
+			actionPlayer(getattr(actionsFSMlist, intro))	
517
+		else:
518
+			actionPlayer(action)		
519
+		newState = check_exit(aState, rA, timer, action)
520
+	
521
+	check_state = 'frontside_tail_grab'
522
+	if aState == check_state:
523
+		action = getattr(actionsFSMlist, check_state)
524
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
525
+			intro = getattr(action, 'intro')
526
+			actionPlayer(getattr(actionsFSMlist, intro))	
527
+		else:
528
+			actionPlayer(action)		
529
+		newState = check_exit(aState, rA, timer, action)
530
+
531
+	check_state = 'backside_tail_grab'
532
+	if aState == check_state:
533
+		action = getattr(actionsFSMlist, check_state)
534
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
535
+			intro = getattr(action, 'intro')
536
+			actionPlayer(getattr(actionsFSMlist, intro))	
537
+		else:
538
+			actionPlayer(action)		
539
+		newState = check_exit(aState, rA, timer, action)
540
+
541
+	check_state = 'reg_ollie_north'
542
+	if aState == check_state:
543
+		action = getattr(actionsFSMlist, check_state)
544
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
545
+			intro = getattr(action, 'intro')
546
+			actionPlayer(getattr(actionsFSMlist, intro))	
547
+		else:
548
+			actionPlayer(action)		
549
+		newState = check_exit(aState, rA, timer, action)		
550
+
551
+	check_state = 'reg_ollie_south'
552
+	if aState == check_state:
553
+		action = getattr(actionsFSMlist, check_state)
554
+		if own['stateTimer'] < getattr(action, 'intro_frames'):	
555
+			intro = getattr(action, 'intro')
556
+			actionPlayer(getattr(actionsFSMlist, intro))	
557
+		else:
558
+			actionPlayer(action)		
559
+		newState = check_exit(aState, rA, timer, action)
284
 
560
 
285
 
561
 
286
 
562
 
300
 		own['aState'] = newState 
576
 		own['aState'] = newState 
301
 	#print(own['l_aState'], '----l_aState', own['aState'])
577
 	#print(own['l_aState'], '----l_aState', own['aState'])
302
 	own['l_aState'] = og_state
578
 	own['l_aState'] = og_state
579
+	#own['l_aState'] = newState
303
 	print(own['l_aState'], '----l_aState', own['aState'], 'rA', rA)
580
 	print(own['l_aState'], '----l_aState', own['aState'], 'rA', rA)
304
 	state_timer(own)
581
 	state_timer(own)

+ 1607
- 25
scripts/actionsFSMlist.py View File

4
 reg_fliplist = ['reg_ollie', 'reg_nollie', 'reg_nollie', 'reg_kickflip', 'reg_varial_kickflip', 'reg_nollie_varial_kickflip', 'reg_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'reg_varial_heelflip', 'reg_nollie_kickflip',  'reg_heelflip', 'reg_nollie_heelflip', 'reg_shuvit', 'reg_shuvit360', 'reg_fsshuvit360', 'reg_nollie_shuvit', 'fak_nollie_shuvit', 'reg_fsshuvit', 'fak_fsshuvit',  'reg_nollie_fsshuvit', 'reg_nollie_shuvit360', 'reg_nollie_fsshuvit', 'reg_brfoot', 'reg_frfoot', 'reg_blfoot', 'reg_flfoot', 'reg_inward_heelflip', 'reg_hardflip', 'reg_nollie_inward_heelflip', 'reg_nollie_hardflip', 'reg_offboard', 'reg_nollie_fsshuvit_360'] 
4
 reg_fliplist = ['reg_ollie', 'reg_nollie', 'reg_nollie', 'reg_kickflip', 'reg_varial_kickflip', 'reg_nollie_varial_kickflip', 'reg_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'reg_varial_heelflip', 'reg_nollie_kickflip',  'reg_heelflip', 'reg_nollie_heelflip', 'reg_shuvit', 'reg_shuvit360', 'reg_fsshuvit360', 'reg_nollie_shuvit', 'fak_nollie_shuvit', 'reg_fsshuvit', 'fak_fsshuvit',  'reg_nollie_fsshuvit', 'reg_nollie_shuvit360', 'reg_nollie_fsshuvit', 'reg_brfoot', 'reg_frfoot', 'reg_blfoot', 'reg_flfoot', 'reg_inward_heelflip', 'reg_hardflip', 'reg_nollie_inward_heelflip', 'reg_nollie_hardflip', 'reg_offboard', 'reg_nollie_fsshuvit_360'] 
5
 fak_fliplist = ['fak_ollie', 'fak_nollie', 'fak_nollie', 'fak_kickflip', 'fak_varial_kickflip', 'fak_nollie_varial_kickflip', 'fak_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'fak_varial_heelflip', 'fak_nollie_kickflip',  'fak_heelflip','fak_nollie_heelflip', 'fak_shuvit', 'fak_shuvit360', 'fak_fsshuvit360', 'fak_nollie_shuvit', 'fak_nollie_shuvit', 'fak_fsshuvit', 'fak_fsshuvit',  'fak_nollie_fsshuvit', 'fak_nollie_shuvit360', 'fak_nollie_fsshuvit', 'fak_brfoot', 'fak_frfoot', 'fak_blfoot', 'fak_flfoot', 'fak_inward_heelflip', 'fak_hardflip', 'fak_nollie_inward_heelflip', 'fak_nollie_hardflip', 'fak_offboard', 'fak_nollie_fsshuvit_360']     
5
 fak_fliplist = ['fak_ollie', 'fak_nollie', 'fak_nollie', 'fak_kickflip', 'fak_varial_kickflip', 'fak_nollie_varial_kickflip', 'fak_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'fak_varial_heelflip', 'fak_nollie_kickflip',  'fak_heelflip','fak_nollie_heelflip', 'fak_shuvit', 'fak_shuvit360', 'fak_fsshuvit360', 'fak_nollie_shuvit', 'fak_nollie_shuvit', 'fak_fsshuvit', 'fak_fsshuvit',  'fak_nollie_fsshuvit', 'fak_nollie_shuvit360', 'fak_nollie_fsshuvit', 'fak_brfoot', 'fak_frfoot', 'fak_blfoot', 'fak_flfoot', 'fak_inward_heelflip', 'fak_hardflip', 'fak_nollie_inward_heelflip', 'fak_nollie_hardflip', 'fak_offboard', 'fak_nollie_fsshuvit_360']     
6
 
6
 
7
-
7
+reg_manuallist = ['reg_manual', 'reg_nmanual']
8
+reg_grindlist = ['reg_5050', 'reg_fsboard', 'reg_tailg', 'reg_tailgr', 'reg_tailgl', 'reg_noseg', 'reg_nosegr', 'reg_nosegl', 'reg_noseslide', 'reg_tailslide']
8
 class a_class:
9
 class a_class:
9
-	def __init__(self, name, start, end, dname, dstart, dend, layer, speed, mode, blendin, exits, fe, fef):
10
+	def __init__(self, name, start, end, dname, dstart, dend, layer, speed, mode, blendin, intro, intro_frames, exits, fe, fef):
10
 		self.name = name
11
 		self.name = name
11
 		self.start = start
12
 		self.start = start
12
 		self.end = end
13
 		self.end = end
17
 		self.speed = speed
18
 		self.speed = speed
18
 		self.mode = mode
19
 		self.mode = mode
19
 		self.blendin = blendin
20
 		self.blendin = blendin
21
+		self.intro = intro
22
+		self.intro_frames = intro_frames
20
 		self.exits = exits
23
 		self.exits = exits
21
 		self.force_exit = fe
24
 		self.force_exit = fe
22
 		self.fef = fef
25
 		self.fef = fef
42
 	0,
45
 	0,
43
 	#blendin
46
 	#blendin
44
 	20,
47
 	20,
48
+	#intro
49
+	None,
50
+	#number of frames in intro
51
+	0,
45
 	#exits
52
 	#exits
46
 	['reg_walkFast', 'reg_idle', 'reg_jump', 'reg_onboard', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_walk_air', 'reg_walk_air_out'],
53
 	['reg_walkFast', 'reg_idle', 'reg_jump', 'reg_onboard', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_walk_air', 'reg_walk_air_out'],
47
 	#force exit
54
 	#force exit
69
 	0,
76
 	0,
70
 	#blendin
77
 	#blendin
71
 	0, 
78
 	0, 
79
+	#intro
80
+	None,
81
+	#intro length
82
+	0,
72
 	#exits
83
 	#exits
73
 	['reg_walk', 'reg_idle', 'reg_jump', 'reg_onboard'],
84
 	['reg_walk', 'reg_idle', 'reg_jump', 'reg_onboard'],
74
 	#force exit
85
 	#force exit
76
 	#force exit frame
87
 	#force exit frame
77
 	0)
88
 	0)
78
 
89
 
79
-
80
-
81
 reg_idle = a_class(
90
 reg_idle = a_class(
82
 	#player armature action name
91
 	#player armature action name
83
 	'reg_idle1', 
92
 	'reg_idle1', 
99
 	0,
108
 	0,
100
 	#blendin
109
 	#blendin
101
 	20,
110
 	20,
111
+	#intro
112
+	None,
113
+	#intro length
114
+	0,
102
 	#exits
115
 	#exits
103
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_sit', 'reg_onboard'],
116
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_sit', 'reg_onboard'],
104
 	#force exit
117
 	#force exit
127
 	1,
140
 	1,
128
 	#blendin
141
 	#blendin
129
 	20,
142
 	20,
143
+	#intro
144
+	None,
145
+	#intro length
146
+	0,
130
 	#exits
147
 	#exits
131
 	['reg_walk', 'reg_idle', 'reg_idle3', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_onboard'],
148
 	['reg_walk', 'reg_idle', 'reg_idle3', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_onboard'],
132
 	#force exit
149
 	#force exit
155
 	1,
172
 	1,
156
 	#blendin
173
 	#blendin
157
 	20,
174
 	20,
175
+	#intro
176
+	None,
177
+	#intro length
178
+	0,
158
 	#exits
179
 	#exits
159
 	['reg_walk', 'reg_idle2', 'reg_idle', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_onboard'],
180
 	['reg_walk', 'reg_idle2', 'reg_idle', 'reg_idle4', 'reg_idle5', 'reg_jump', 'reg_onboard'],
160
 	#force exit
181
 	#force exit
183
 	1,
204
 	1,
184
 	#blendin
205
 	#blendin
185
 	20,
206
 	20,
207
+	#intro
208
+	None,
209
+	#intro length
210
+	0,
186
 	#exits
211
 	#exits
187
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle', 'reg_idle5', 'reg_jump', 'reg_onboard'],
212
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle', 'reg_idle5', 'reg_jump', 'reg_onboard'],
188
 	#force exit
213
 	#force exit
211
 	1,
236
 	1,
212
 	#blendin
237
 	#blendin
213
 	20,
238
 	20,
239
+	#intro
240
+	None,
241
+	#intro length
242
+	0,
214
 	#exits
243
 	#exits
215
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_idle', 'reg_jump', 'reg_onboard'],
244
 	['reg_walk', 'reg_idle2', 'reg_idle3', 'reg_idle4', 'reg_idle', 'reg_jump', 'reg_onboard'],
216
 	#force exit
245
 	#force exit
239
 	0,
268
 	0,
240
 	#blendin
269
 	#blendin
241
 	10,
270
 	10,
271
+	#intro
272
+	None,
273
+	#intro length
274
+	0,
242
 	#exits
275
 	#exits
243
 	['reg_idle', 'reg_walk_air', 'reg_onboard'],
276
 	['reg_idle', 'reg_walk_air', 'reg_onboard'],
244
 	#force exit
277
 	#force exit
267
 	0,
300
 	0,
268
 	#blendin
301
 	#blendin
269
 	5,
302
 	5,
303
+	#intro
304
+	None,
305
+	#intro length
306
+	0,
270
 	#exits
307
 	#exits
271
-	['reg_walk_air_out'],
308
+	['reg_walk_air_out', 'reg_onboard'],
272
 	#force exit
309
 	#force exit
273
 	None,
310
 	None,
274
 	#force exit frame
311
 	#force exit frame
295
 	1,
332
 	1,
296
 	#blendin
333
 	#blendin
297
 	5,
334
 	5,
335
+	#intro
336
+	None,
337
+	#intro length
338
+	0,
298
 	#exits
339
 	#exits
299
 	['reg_idle', 'reg_walk', 'reg_walkFast', 'reg_onboard'],
340
 	['reg_idle', 'reg_walk', 'reg_walkFast', 'reg_onboard'],
300
 	#force exit
341
 	#force exit
323
 	1,
364
 	1,
324
 	#blendin
365
 	#blendin
325
 	20,
366
 	20,
367
+	#intro
368
+	None,
369
+	#intro length
370
+	0,
326
 	#exits
371
 	#exits
327
 	['reg_idle', 'reg_walk'],
372
 	['reg_idle', 'reg_walk'],
328
 	#force exit
373
 	#force exit
351
 	1,
396
 	1,
352
 	#blendin
397
 	#blendin
353
 	20,
398
 	20,
399
+	#intro
400
+	None,
401
+	#intro length
402
+	0,
354
 	#exits
403
 	#exits
355
 	['reg_idle', 'reg_walk'],
404
 	['reg_idle', 'reg_walk'],
356
 	#force exit
405
 	#force exit
358
 	#force exit frame
407
 	#force exit frame
359
 	0)
408
 	0)
360
 
409
 
361
-#------news
362
-
363
 reg_onboard = a_class(
410
 reg_onboard = a_class(
364
 	#player armature action name
411
 	#player armature action name
365
 	'reg_noffboard', 
412
 	'reg_noffboard', 
380
 	#mode (1 = play, 0 = loop)
427
 	#mode (1 = play, 0 = loop)
381
 	1,
428
 	1,
382
 	#blendin
429
 	#blendin
383
-	10,
430
+	5,
431
+	#intro
432
+	None,
433
+	#intro length
434
+	0,
384
 	#exits
435
 	#exits
385
 	['reg_roll'],
436
 	['reg_roll'],
386
 	#force exit
437
 	#force exit
387
-	None,
438
+	'reg_roll',
388
 	#force exit frame
439
 	#force exit frame
389
-	0)
440
+	18)
390
 
441
 
391
 reg_offboard = a_class(
442
 reg_offboard = a_class(
392
 	#player armature action name
443
 	#player armature action name
409
 	1,
460
 	1,
410
 	#blendin
461
 	#blendin
411
 	5,
462
 	5,
463
+	#intro
464
+	None,
465
+	#intro length
466
+	0,
412
 	#exits
467
 	#exits
413
-	['reg_idle', 'reg_walkFast', 'reg_walk'],
468
+	['reg_idle', 'reg_walkFast', 'reg_walk', 'reg_onboard'],
414
 	#force exit
469
 	#force exit
415
 	None,
470
 	None,
416
 	#force exit frame
471
 	#force exit frame
437
 	1,
492
 	1,
438
 	#blendin
493
 	#blendin
439
 	10,
494
 	10,
495
+	#intro
496
+	None,
497
+	#intro length
498
+	0,
440
 	#exits
499
 	#exits
441
-	['reg_idle', 'reg_offboard', 'reg_turnLeft', 'reg_turnRight', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
500
+	['reg_idle', 'reg_offboard', 'reg_turnLeft', 'reg_turnRight', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
442
 	#force exit
501
 	#force exit
443
 	None,
502
 	None,
444
 	#force exit frame
503
 	#force exit frame
465
 	1,
524
 	1,
466
 	#blendin
525
 	#blendin
467
 	20,
526
 	20,
527
+	#intro
528
+	None,
529
+	#intro length
530
+	0,
468
 	#exits
531
 	#exits
469
-	['reg_roll', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
532
+	['reg_roll', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
470
 	#force exit
533
 	#force exit
471
 	None,
534
 	None,
472
 	#force exit frame
535
 	#force exit frame
493
 	1,
556
 	1,
494
 	#blendin
557
 	#blendin
495
 	20,
558
 	20,
559
+	#intro
560
+	None,
561
+	#intro length
562
+	0,
496
 	#exits
563
 	#exits
497
-	['reg_roll', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
564
+	['reg_roll', 'reg_opos', 'reg_nopos', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
498
 	#force exit
565
 	#force exit
499
 	None,
566
 	None,
500
 	#force exit frame
567
 	#force exit frame
522
 	1,
589
 	1,
523
 	#blendin
590
 	#blendin
524
 	15,
591
 	15,
592
+	#intro
593
+	None,
594
+	#intro length
595
+	0,
525
 	#exits
596
 	#exits
526
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
597
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
527
 	#force exit
598
 	#force exit
528
 	None,
599
 	None,
529
 	#force exit frame
600
 	#force exit frame
550
 	1,
621
 	1,
551
 	#blendin
622
 	#blendin
552
 	15,
623
 	15,
624
+	#intro
625
+	None,
626
+	#intro length
627
+	0,
553
 	#exits
628
 	#exits
554
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
629
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_pump', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
555
 	#force exit
630
 	#force exit
556
 	None,
631
 	None,
557
 	#force exit frame
632
 	#force exit frame
578
 	1,
653
 	1,
579
 	#blendin
654
 	#blendin
580
 	15,
655
 	15,
656
+	#intro
657
+	None,
658
+	#intro length
659
+	0,
660
+	#exits
661
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_pump_left', 'reg_pump_right', 'reg_air', 'reg_air_nose', 'reg_air_tail', 'frontside_grab', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab'],
662
+	#force exit
663
+	None,
664
+	#force exit frame
665
+	0)
666
+
667
+reg_pump_left = a_class(
668
+	#player armature action name
669
+	'nreg_pump_left', 
670
+	#start frame
671
+	10,           
672
+	#end frame
673
+	30,
674
+	#deck action name 
675
+	'b_reg_left', 
676
+	#deck start frame
677
+	1, 
678
+	#deck end frame
679
+	10,
680
+	#layer
681
+	1,
682
+	#speed
683
+	.5,
684
+	#mode (1 = play, 0 = loop)
685
+	1,
686
+	#blendin
687
+	15,
688
+	#intro
689
+	None,
690
+	#intro length
691
+	0,
692
+	#exits
693
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_pump', 'reg_pump_right', 'reg_air', 'reg_air_nose', 'reg_air_tail', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab'],
694
+	#force exit
695
+	None,
696
+	#force exit frame
697
+	0)
698
+
699
+
700
+reg_pump_right = a_class(
701
+	#player armature action name
702
+	'nreg_pump_right', 
703
+	#start frame
704
+	10,           
705
+	#end frame
706
+	30,
707
+	#deck action name 
708
+	'b_reg_right', 
709
+	#deck start frame
710
+	1, 
711
+	#deck end frame
712
+	10,
713
+	#layer
714
+	1,
715
+	#speed
716
+	.5,
717
+	#mode (1 = play, 0 = loop)
718
+	1,
719
+	#blendin
720
+	15,
721
+	#intro
722
+	None,
723
+	#intro length
724
+	0,
581
 	#exits
725
 	#exits
582
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
726
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_pump', 'reg_pump_left', 'reg_air', 'reg_air_nose', 'reg_air_tail', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab'],
583
 	#force exit
727
 	#force exit
584
 	None,
728
 	None,
585
 	#force exit frame
729
 	#force exit frame
606
 	0,
750
 	0,
607
 	#blendin
751
 	#blendin
608
 	10,
752
 	10,
753
+	#intro
754
+	None,
755
+	#intro length
756
+	0,
609
 	#exits
757
 	#exits
610
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
758
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
611
 	#force exit
759
 	#force exit
612
 	None,
760
 	None,
613
 	#force exit frame
761
 	#force exit frame
634
 	0,
782
 	0,
635
 	#blendin
783
 	#blendin
636
 	10,
784
 	10,
785
+	#intro
786
+	None,
787
+	#intro length
788
+	0,
637
 	#exits
789
 	#exits
638
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual'],
790
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_powerslide', 'reg_fs_powerslide', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
639
 	#force exit
791
 	#force exit
640
 	None,
792
 	None,
641
 	#force exit frame
793
 	#force exit frame
663
 	1,
815
 	1,
664
 	#blendin
816
 	#blendin
665
 	10,
817
 	10,
818
+	#intro
819
+	None,
820
+	#intro length
821
+	0,
666
 	#exits
822
 	#exits
667
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual'],
823
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
668
 	#force exit
824
 	#force exit
669
 	None,
825
 	None,
670
 	#force exit frame
826
 	#force exit frame
691
 	1,
847
 	1,
692
 	#blendin
848
 	#blendin
693
 	10,
849
 	10,
850
+	#intro
851
+	'None',
852
+	#intro length
853
+	0,
694
 	#exits
854
 	#exits
695
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual'],
855
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
696
 	#force exit
856
 	#force exit
697
 	None,
857
 	None,
698
 	#force exit frame
858
 	#force exit frame
719
 	1,
879
 	1,
720
 	#blendin
880
 	#blendin
721
 	10,
881
 	10,
882
+	#intro
883
+	'reg_powerslide_in',
884
+	#intro length
885
+	20,
722
 	#exits
886
 	#exits
723
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual'],
887
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
724
 	#force exit
888
 	#force exit
725
 	None,
889
 	None,
726
 	#force exit frame
890
 	#force exit frame
747
 	1,
911
 	1,
748
 	#blendin
912
 	#blendin
749
 	10,
913
 	10,
914
+	#intro
915
+	'reg_fs_powerslide_in',
916
+	#intro length
917
+	20,
750
 	#exits
918
 	#exits
751
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual'],
919
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_manual', 'reg_nmanual', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
752
 	#force exit
920
 	#force exit
753
 	None,
921
 	None,
754
 	#force exit frame
922
 	#force exit frame
776
 	1,
944
 	1,
777
 	#blendin
945
 	#blendin
778
 	10,
946
 	10,
947
+	#intro
948
+	None,
949
+	#intro length
950
+	0,
779
 	#exits
951
 	#exits
780
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos'],
952
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
781
 	#force exit
953
 	#force exit
782
 	None,
954
 	None,
783
 	#force exit frame
955
 	#force exit frame
805
 	1,
977
 	1,
806
 	#blendin
978
 	#blendin
807
 	10,
979
 	10,
980
+	#intro
981
+	None,
982
+	#intro length
983
+	0,
808
 	#exits
984
 	#exits
809
-	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos'],
985
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard', 'reg_air', 'reg_air_nose', 'reg_air_tail'],
810
 	#force exit
986
 	#force exit
811
 	None,
987
 	None,
812
 	#force exit frame
988
 	#force exit frame
813
 	0)
989
 	0)
814
 
990
 
991
+reg_land = a_class(
992
+	#player armature action name
993
+	'reg_land', 
994
+	#start frame
995
+	1,           
996
+	#end frame
997
+	40,
998
+	#deck action name 
999
+	'b_reg', 
1000
+	#deck start frame
1001
+	1, 
1002
+	#deck end frame
1003
+	40,
1004
+	#layer
1005
+	1,
1006
+	#speed
1007
+	1,
1008
+	#mode (1 = play, 0 = loop)
1009
+	1,
1010
+	#blendin
1011
+	10,
1012
+	#intro
1013
+	None,
1014
+	#intro length
1015
+	0,
1016
+	#exits
1017
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard'],
1018
+	#force exit
1019
+	'reg_roll',
1020
+	#force exit frame
1021
+	20)
1022
+
1023
+reg_landL = a_class(
1024
+	#player armature action name
1025
+	'reg_landL', 
1026
+	#start frame
1027
+	1,           
1028
+	#end frame
1029
+	40,
1030
+	#deck action name 
1031
+	'b_reg', 
1032
+	#deck start frame
1033
+	1, 
1034
+	#deck end frame
1035
+	40,
1036
+	#layer
1037
+	1,
1038
+	#speed
1039
+	1,
1040
+	#mode (1 = play, 0 = loop)
1041
+	1,
1042
+	#blendin
1043
+	10,
1044
+	#intro
1045
+	None,
1046
+	#intro length
1047
+	0,
1048
+	#exits
1049
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard'],
1050
+	#force exit
1051
+	'reg_roll',
1052
+	#force exit frame
1053
+	20)
1054
+
1055
+reg_landR = a_class(
1056
+	#player armature action name
1057
+	'reg_landR', 
1058
+	#start frame
1059
+	1,           
1060
+	#end frame
1061
+	40,
1062
+	#deck action name 
1063
+	'b_reg', 
1064
+	#deck start frame
1065
+	1, 
1066
+	#deck end frame
1067
+	40,
1068
+	#layer
1069
+	1,
1070
+	#speed
1071
+	1,
1072
+	#mode (1 = play, 0 = loop)
1073
+	1,
1074
+	#blendin
1075
+	10,
1076
+	#intro
1077
+	None,
1078
+	#intro length
1079
+	0,
1080
+	#exits
1081
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard'],
1082
+	#force exit
1083
+	'reg_roll',
1084
+	#force exit frame
1085
+	20)
1086
+
1087
+reg_landLb = a_class(
1088
+	#player armature action name
1089
+	'reg_landLb', 
1090
+	#start frame
1091
+	1,           
1092
+	#end frame
1093
+	40,
1094
+	#deck action name 
1095
+	'b_reg', 
1096
+	#deck start frame
1097
+	1, 
1098
+	#deck end frame
1099
+	40,
1100
+	#layer
1101
+	1,
1102
+	#speed
1103
+	1,
1104
+	#mode (1 = play, 0 = loop)
1105
+	1,
1106
+	#blendin
1107
+	10,
1108
+	#intro
1109
+	None,
1110
+	#intro length
1111
+	0,
1112
+	#exits
1113
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard'],
1114
+	#force exit
1115
+	'reg_roll',
1116
+	#force exit frame
1117
+	20)
1118
+
1119
+reg_landRb = a_class(
1120
+	#player armature action name
1121
+	'reg_landRb', 
1122
+	#start frame
1123
+	1,           
1124
+	#end frame
1125
+	40,
1126
+	#deck action name 
1127
+	'b_reg', 
1128
+	#deck start frame
1129
+	1, 
1130
+	#deck end frame
1131
+	40,
1132
+	#layer
1133
+	1,
1134
+	#speed
1135
+	1,
1136
+	#mode (1 = play, 0 = loop)
1137
+	1,
1138
+	#blendin
1139
+	10,
1140
+	#intro
1141
+	None,
1142
+	#intro length
1143
+	0,
1144
+	#exits
1145
+	['reg_roll', 'reg_turnRight', 'reg_turnLeft', 'reg_push', 'reg_push_goof', 'reg_pump', 'reg_nopos', 'reg_opos', 'reg_offboard'],
1146
+	#force exit
1147
+	'reg_roll',
1148
+	#force exit frame
1149
+	20)
1150
+
1151
+reg_air = a_class(
1152
+	#player armature action name
1153
+	'reg_air', 
1154
+	#start frame
1155
+	1,           
1156
+	#end frame
1157
+	30,
1158
+	#deck action name 
1159
+	'b_reg', 
1160
+	#deck start frame
1161
+	1, 
1162
+	#deck end frame
1163
+	30,
1164
+	#layer
1165
+	1,
1166
+	#speed
1167
+	1,
1168
+	#mode (1 = play, 0 = loop)
1169
+	1,
1170
+	#blendin
1171
+	10,
1172
+	#intro
1173
+	None,
1174
+	#intro length
1175
+	0,
1176
+	#exits
1177
+	['reg_offboard', 'reg_land', 'frontside_grab', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab', 'reg_air_nose', 'reg_air_tail', 'reg_ollie_north', 'reg_ollie_south'],
1178
+	#force exit
1179
+	None,
1180
+	#force exit frame
1181
+	0)
1182
+
1183
+reg_air_nose = a_class(
1184
+	#player armature action name
1185
+	'reg_noseg.002', 
1186
+	#start frame
1187
+	5,           
1188
+	#end frame
1189
+	5,
1190
+	#deck action name 
1191
+	'b_reg_noseg', 
1192
+	#deck start frame
1193
+	5, 
1194
+	#deck end frame
1195
+	5,
1196
+	#layer
1197
+	1,
1198
+	#speed
1199
+	1,
1200
+	#mode (1 = play, 0 = loop)
1201
+	1,
1202
+	#blendin
1203
+	20,
1204
+	#intro
1205
+	None,
1206
+	#intro length
1207
+	0,
1208
+	#exits
1209
+	['reg_offboard', 'reg_land', 'frontside_grab', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab', 'reg_manual', 'reg_nmanual', 'reg_air_tail', 'reg_ollie_north', 'reg_ollie_south'],
1210
+	#force exit
1211
+	None,
1212
+	#force exit frame
1213
+	0)
1214
+
1215
+reg_air_tail = a_class(
1216
+	#player armature action name
1217
+	'reg_tailg.001', 
1218
+	#start frame
1219
+	35,           
1220
+	#end frame
1221
+	35,
1222
+	#deck action name 
1223
+	'b_reg_tailg', 
1224
+	#deck start frame
1225
+	35, 
1226
+	#deck end frame
1227
+	35,
1228
+	#layer
1229
+	1,
1230
+	#speed
1231
+	1,
1232
+	#mode (1 = play, 0 = loop)
1233
+	1,
1234
+	#blendin
1235
+	20,
1236
+	#intro
1237
+	None,
1238
+	#intro length
1239
+	0,
1240
+	#exits
1241
+	['reg_offboard', 'reg_land', 'frontside_grab', 'backside_grab', 'frontside_nose_grab', 'backside_nose_grab', 'frontside_tail_grab', 'backside_tail_grab', 'reg_manual', 'reg_nmanual', 'reg_air_nose', 'reg_ollie_north', 'reg_ollie_south'],
1242
+	#force exit
1243
+	None,
1244
+	#force exit frame
1245
+	0)
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+#**********************#
1255
+#*******fliptricks*****#
1256
+#**********************#
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+reg_ollie = a_class(
1265
+	#player armature action name
1266
+	'reg_ollie', 
1267
+	#start frame
1268
+	1,           
1269
+	#end frame
1270
+	20,
1271
+	#deck action name 
1272
+	'b_reg_ollie', 
1273
+	#deck start frame
1274
+	1, 
1275
+	#deck end frame
1276
+	20,
1277
+	#layer
1278
+	3,
1279
+	#speed
1280
+	.5,
1281
+	#mode (1 = play, 0 = loop)
1282
+	0,
1283
+	#blendin
1284
+	10,
1285
+	#intro
1286
+	None,
1287
+	#intro length
1288
+	0,
1289
+	#exits
1290
+	['reg_offboard'],
1291
+	#force exit
1292
+	'reg_air',
1293
+	#force exit frame
1294
+	30)
1295
+
1296
+
1297
+reg_heelflip = a_class(
1298
+	#player armature action name
1299
+	'reg_heelflip', 
1300
+	#start frame
1301
+	1,           
1302
+	#end frame
1303
+	20,
1304
+	#deck action name 
1305
+	'b_reg_heelflip', 
1306
+	#deck start frame
1307
+	1, 
1308
+	#deck end frame
1309
+	20,
1310
+	#layer
1311
+	3,
1312
+	#speed
1313
+	.5,
1314
+	#mode (1 = play, 0 = loop)
1315
+	0,
1316
+	#blendin
1317
+	10,
1318
+	#intro
1319
+	None,
1320
+	#intro length
1321
+	0,
1322
+	#exits
1323
+	['reg_offboard'],
1324
+	#force exit
1325
+	'reg_air',
1326
+	#force exit frame
1327
+	30)
1328
+
1329
+
1330
+reg_kickflip = a_class(
1331
+	#player armature action name
1332
+	'reg_kickflip', 
1333
+	#start frame
1334
+	1,           
1335
+	#end frame
1336
+	20,
1337
+	#deck action name 
1338
+	'b_reg_kickflip', 
1339
+	#deck start frame
1340
+	1, 
1341
+	#deck end frame
1342
+	20,
1343
+	#layer
1344
+	3,
1345
+	#speed
1346
+	.5,
1347
+	#mode (1 = play, 0 = loop)
1348
+	0,
1349
+	#blendin
1350
+	10,
1351
+	#intro
1352
+	None,
1353
+	#intro length
1354
+	0,
1355
+	#exits
1356
+	['reg_offboard'],
1357
+	#force exit
1358
+	'reg_air',
1359
+	#force exit frame
1360
+	30)
1361
+
1362
+reg_shuvit = a_class(
1363
+	#player armature action name
1364
+	'reg_shuvit', 
1365
+	#start frame
1366
+	1,           
1367
+	#end frame
1368
+	40,
1369
+	#deck action name 
1370
+	'b_reg_shuvit', 
1371
+	#deck start frame
1372
+	1, 
1373
+	#deck end frame
1374
+	40,
1375
+	#layer
1376
+	3,
1377
+	#speed
1378
+	1,
1379
+	#mode (1 = play, 0 = loop)
1380
+	0,
1381
+	#blendin
1382
+	10,
1383
+	#intro
1384
+	None,
1385
+	#intro length
1386
+	0,
1387
+	#exits
1388
+	['reg_offboard'],
1389
+	#force exit
1390
+	'reg_air',
1391
+	#force exit frame
1392
+	38)
1393
+
1394
+reg_shuvit360 = a_class(
1395
+	#player armature action name
1396
+	'reg_360shuvit', 
1397
+	#start frame
1398
+	1,           
1399
+	#end frame
1400
+	20,
1401
+	#deck action name 
1402
+	'b_reg_360shuvit', 
1403
+	#deck start frame
1404
+	1, 
1405
+	#deck end frame
1406
+	20,
1407
+	#layer
1408
+	3,
1409
+	#speed
1410
+	.5,
1411
+	#mode (1 = play, 0 = loop)
1412
+	0,
1413
+	#blendin
1414
+	10,
1415
+	#intro
1416
+	None,
1417
+	#intro length
1418
+	0,
1419
+	#exits
1420
+	['reg_offboard'],
1421
+	#force exit
1422
+	'reg_air',
1423
+	#force exit frame
1424
+	38)
1425
+
1426
+reg_fsshuvit = a_class(
1427
+	#player armature action name
1428
+	'reg_fsshuvit', 
1429
+	#start frame
1430
+	1,           
1431
+	#end frame
1432
+	40,
1433
+	#deck action name 
1434
+	'b_reg_fsshuvit', 
1435
+	#deck start frame
1436
+	1, 
1437
+	#deck end frame
1438
+	40,
1439
+	#layer
1440
+	3,
1441
+	#speed
1442
+	1,
1443
+	#mode (1 = play, 0 = loop)
1444
+	0,
1445
+	#blendin
1446
+	10,
1447
+	#intro
1448
+	None,
1449
+	#intro length
1450
+	0,
1451
+	#exits
1452
+	['reg_offboard'],
1453
+	#force exit
1454
+	'reg_air',
1455
+	#force exit frame
1456
+	38)
1457
+
1458
+reg_fsshuvit360 = a_class(
1459
+	#player armature action name
1460
+	'reg_360fsshuvit', 
1461
+	#start frame
1462
+	1,           
1463
+	#end frame
1464
+	20,
1465
+	#deck action name 
1466
+	'b_reg_360fsshuvit', 
1467
+	#deck start frame
1468
+	1, 
1469
+	#deck end frame
1470
+	20,
1471
+	#layer
1472
+	3,
1473
+	#speed
1474
+	.5,
1475
+	#mode (1 = play, 0 = loop)
1476
+	0,
1477
+	#blendin
1478
+	10,
1479
+	#intro
1480
+	None,
1481
+	#intro length
1482
+	0,
1483
+	#exits
1484
+	['reg_offboard'],
1485
+	#force exit
1486
+	'reg_air',
1487
+	#force exit frame
1488
+	38)
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+#**********************#
1497
+#*******grabs**********#
1498
+#**********************#
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+
1505
+
1506
+
1507
+frontside_grab_in = a_class(
1508
+	#player armature action name
1509
+	'reg_fg', 
1510
+	#start frame
1511
+	1,           
1512
+	#end frame
1513
+	10,
1514
+	#deck action name 
1515
+	'b_reg', 
1516
+	#deck start frame
1517
+	1, 
1518
+	#deck end frame
1519
+	1,
1520
+	#layer
1521
+	1,
1522
+	#speed
1523
+	.4,
1524
+	#mode (1 = play, 0 = loop)
1525
+	0,
1526
+	#blendin
1527
+	10,
1528
+	#intro
1529
+	None,
1530
+	#intro length
1531
+	0,
1532
+	#exits
1533
+	['frontside_grab'],
1534
+	#force exit
1535
+	'frontside_grab',
1536
+	#force exit frame
1537
+	20)
1538
+
1539
+frontside_grab = a_class(
1540
+	#player armature action name
1541
+	'reg_fg', 
1542
+	#start frame
1543
+	10,           
1544
+	#end frame
1545
+	30,
1546
+	#deck action name 
1547
+	'b_reg', 
1548
+	#deck start frame
1549
+	1, 
1550
+	#deck end frame
1551
+	1,
1552
+	#layer
1553
+	1,
1554
+	#speed
1555
+	.5,
1556
+	#mode (1 = play, 0 = loop)
1557
+	0,
1558
+	#blendin
1559
+	10,
1560
+	#intro
1561
+	'frontside_grab_in',
1562
+	#intro length
1563
+	10,
1564
+	#exits
1565
+	['reg_air'],
1566
+	#force exit
1567
+	None,
1568
+	#force exit frame
1569
+	0)
1570
+
1571
+backside_grab_in = a_class(
1572
+	#player armature action name
1573
+	'reg_bsg2', 
1574
+	#start frame
1575
+	1,           
1576
+	#end frame
1577
+	10,
1578
+	#deck action name 
1579
+	'b_reg', 
1580
+	#deck start frame
1581
+	1, 
1582
+	#deck end frame
1583
+	1,
1584
+	#layer
1585
+	1,
1586
+	#speed
1587
+	.4,
1588
+	#mode (1 = play, 0 = loop)
1589
+	0,
1590
+	#blendin
1591
+	10,
1592
+	#intro
1593
+	None,
1594
+	#intro length
1595
+	0,
1596
+	#exits
1597
+	['backside_grab'],
1598
+	#force exit
1599
+	'backside_grab',
1600
+	#force exit frame
1601
+	20)
1602
+
1603
+backside_grab = a_class(
1604
+	#player armature action name
1605
+	'reg_bsg2', 
1606
+	#start frame
1607
+	10,           
1608
+	#end frame
1609
+	30,
1610
+	#deck action name 
1611
+	'b_reg', 
1612
+	#deck start frame
1613
+	1, 
1614
+	#deck end frame
1615
+	1,
1616
+	#layer
1617
+	1,
1618
+	#speed
1619
+	.5,
1620
+	#mode (1 = play, 0 = loop)
1621
+	0,
1622
+	#blendin
1623
+	10,
1624
+	#intro
1625
+	'backside_grab_in',
1626
+	#intro length
1627
+	10,
1628
+	#exits
1629
+	['reg_air'],
1630
+	#force exit
1631
+	None,
1632
+	#force exit frame
1633
+	0)
1634
+
1635
+
1636
+frontside_nose_grab_in = a_class(
1637
+	#player armature action name
1638
+	'frontside_nose_grab', 
1639
+	#start frame
1640
+	1,           
1641
+	#end frame
1642
+	10,
1643
+	#deck action name 
1644
+	'b_reg', 
1645
+	#deck start frame
1646
+	1, 
1647
+	#deck end frame
1648
+	1,
1649
+	#layer
1650
+	1,
1651
+	#speed
1652
+	.4,
1653
+	#mode (1 = play, 0 = loop)
1654
+	0,
1655
+	#blendin
1656
+	10,
1657
+	#intro
1658
+	None,
1659
+	#intro length
1660
+	0,
1661
+	#exits
1662
+	['frontside_nose_grab'],
1663
+	#force exit
1664
+	'frontside_nose_grab',
1665
+	#force exit frame
1666
+	20)
1667
+
1668
+frontside_nose_grab = a_class(
1669
+	#player armature action name
1670
+	'frontside_nose_grab', 
1671
+	#start frame
1672
+	10,           
1673
+	#end frame
1674
+	30,
1675
+	#deck action name 
1676
+	'b_reg', 
1677
+	#deck start frame
1678
+	1, 
1679
+	#deck end frame
1680
+	1,
1681
+	#layer
1682
+	1,
1683
+	#speed
1684
+	.5,
1685
+	#mode (1 = play, 0 = loop)
1686
+	0,
1687
+	#blendin
1688
+	10,
1689
+	#intro
1690
+	'frontside_nose_grab_in',
1691
+	#intro length
1692
+	10,
1693
+	#exits
1694
+	['reg_air'],
1695
+	#force exit
1696
+	None,
1697
+	#force exit frame
1698
+	0)
1699
+
1700
+backside_nose_grab_in = a_class(
1701
+	#player armature action name
1702
+	'backside_nose_grab', 
1703
+	#start frame
1704
+	1,           
1705
+	#end frame
1706
+	10,
1707
+	#deck action name 
1708
+	'b_reg', 
1709
+	#deck start frame
1710
+	1, 
1711
+	#deck end frame
1712
+	1,
1713
+	#layer
1714
+	1,
1715
+	#speed
1716
+	.4,
1717
+	#mode (1 = play, 0 = loop)
1718
+	0,
1719
+	#blendin
1720
+	10,
1721
+	#intro
1722
+	None,
1723
+	#intro length
1724
+	0,
1725
+	#exits
1726
+	['backside_nose_grab'],
1727
+	#force exit
1728
+	'backside_nose_grab',
1729
+	#force exit frame
1730
+	20)
1731
+
1732
+backside_nose_grab = a_class(
1733
+	#player armature action name
1734
+	'backside_nose_grab', 
1735
+	#start frame
1736
+	10,           
1737
+	#end frame
1738
+	30,
1739
+	#deck action name 
1740
+	'b_reg', 
1741
+	#deck start frame
1742
+	1, 
1743
+	#deck end frame
1744
+	1,
1745
+	#layer
1746
+	1,
1747
+	#speed
1748
+	.5,
1749
+	#mode (1 = play, 0 = loop)
1750
+	0,
1751
+	#blendin
1752
+	10,
1753
+	#intro
1754
+	'backside_nose_grab_in',
1755
+	#intro length
1756
+	10,
1757
+	#exits
1758
+	['reg_air'],
1759
+	#force exit
1760
+	None,
1761
+	#force exit frame
1762
+	0)
1763
+
1764
+
1765
+
1766
+frontside_tail_grab_in = a_class(
1767
+	#player armature action name
1768
+	'frontside_tail_grab', 
1769
+	#start frame
1770
+	1,           
1771
+	#end frame
1772
+	10,
1773
+	#deck action name 
1774
+	'b_reg', 
1775
+	#deck start frame
1776
+	1, 
1777
+	#deck end frame
1778
+	1,
1779
+	#layer
1780
+	1,
1781
+	#speed
1782
+	.4,
1783
+	#mode (1 = play, 0 = loop)
1784
+	0,
1785
+	#blendin
1786
+	10,
1787
+	#intro
1788
+	None,
1789
+	#intro length
1790
+	0,
1791
+	#exits
1792
+	['frontside_tail_grab'],
1793
+	#force exit
1794
+	'frontside_tail_grab',
1795
+	#force exit frame
1796
+	20)
1797
+
1798
+frontside_tail_grab = a_class(
1799
+	#player armature action name
1800
+	'frontside_tail_grab', 
1801
+	#start frame
1802
+	10,           
1803
+	#end frame
1804
+	30,
1805
+	#deck action name 
1806
+	'b_reg', 
1807
+	#deck start frame
1808
+	1, 
1809
+	#deck end frame
1810
+	1,
1811
+	#layer
1812
+	1,
1813
+	#speed
1814
+	.5,
1815
+	#mode (1 = play, 0 = loop)
1816
+	0,
1817
+	#blendin
1818
+	10,
1819
+	#intro
1820
+	'frontside_tail_grab_in',
1821
+	#intro length
1822
+	10,
1823
+	#exits
1824
+	['reg_air'],
1825
+	#force exit
1826
+	None,
1827
+	#force exit frame
1828
+	0)
1829
+
1830
+backside_tail_grab_in = a_class(
1831
+	#player armature action name
1832
+	'backside_tail_grab', 
1833
+	#start frame
1834
+	1,           
1835
+	#end frame
1836
+	10,
1837
+	#deck action name 
1838
+	'b_reg', 
1839
+	#deck start frame
1840
+	1, 
1841
+	#deck end frame
1842
+	1,
1843
+	#layer
1844
+	1,
1845
+	#speed
1846
+	.4,
1847
+	#mode (1 = play, 0 = loop)
1848
+	0,
1849
+	#blendin
1850
+	10,
1851
+	#intro
1852
+	None,
1853
+	#intro length
1854
+	0,
1855
+	#exits
1856
+	['backside_tail_grab'],
1857
+	#force exit
1858
+	'backside_tail_grab',
1859
+	#force exit frame
1860
+	20)
1861
+
1862
+backside_tail_grab = a_class(
1863
+	#player armature action name
1864
+	'backside_tail_grab', 
1865
+	#start frame
1866
+	10,           
1867
+	#end frame
1868
+	30,
1869
+	#deck action name 
1870
+	'b_reg', 
1871
+	#deck start frame
1872
+	1, 
1873
+	#deck end frame
1874
+	1,
1875
+	#layer
1876
+	1,
1877
+	#speed
1878
+	.5,
1879
+	#mode (1 = play, 0 = loop)
1880
+	0,
1881
+	#blendin
1882
+	10,
1883
+	#intro
1884
+	'backside_tail_grab_in',
1885
+	#intro length
1886
+	10,
1887
+	#exits
1888
+	['reg_air'],
1889
+	#force exit
1890
+	None,
1891
+	#force exit frame
1892
+	0)
1893
+
1894
+reg_ollie_north_in = a_class(
1895
+	#player armature action name
1896
+	'reg_ollie_north', 
1897
+	#start frame
1898
+	1,           
1899
+	#end frame
1900
+	10,
1901
+	#deck action name 
1902
+	'b_reg', 
1903
+	#deck start frame
1904
+	1, 
1905
+	#deck end frame
1906
+	1,
1907
+	#layer
1908
+	1,
1909
+	#speed
1910
+	1,
1911
+	#mode (1 = play, 0 = loop)
1912
+	0,
1913
+	#blendin
1914
+	5,
1915
+	#intro
1916
+	None,
1917
+	#intro length
1918
+	0,
1919
+	#exits
1920
+	['reg_ollie_north'],
1921
+	#force exit
1922
+	'reg_ollie_north',
1923
+	#force exit frame
1924
+	20)
1925
+
1926
+reg_ollie_north = a_class(
1927
+	#player armature action name
1928
+	'reg_ollie_north', 
1929
+	#start frame
1930
+	10,           
1931
+	#end frame
1932
+	10,
1933
+	#deck action name 
1934
+	'b_reg', 
1935
+	#deck start frame
1936
+	1, 
1937
+	#deck end frame
1938
+	1,
1939
+	#layer
1940
+	1,
1941
+	#speed
1942
+	1,
1943
+	#mode (1 = play, 0 = loop)
1944
+	0,
1945
+	#blendin
1946
+	5,
1947
+	#intro
1948
+	'reg_ollie_north',
1949
+	#intro length
1950
+	10,
1951
+	#exits
1952
+	['reg_air'],
1953
+	#force exit
1954
+	None,
1955
+	#force exit frame
1956
+	0)
1957
+
1958
+
1959
+reg_ollie_south_in = a_class(
1960
+	#player armature action name
1961
+	'reg_ollie_south', 
1962
+	#start frame
1963
+	1,           
1964
+	#end frame
1965
+	10,
1966
+	#deck action name 
1967
+	'b_reg', 
1968
+	#deck start frame
1969
+	1, 
1970
+	#deck end frame
1971
+	1,
1972
+	#layer
1973
+	1,
1974
+	#speed
1975
+	1,
1976
+	#mode (1 = play, 0 = loop)
1977
+	0,
1978
+	#blendin
1979
+	5,
1980
+	#intro
1981
+	None,
1982
+	#intro length
1983
+	0,
1984
+	#exits
1985
+	['reg_ollie_south'],
1986
+	#force exit
1987
+	'reg_ollie_south',
1988
+	#force exit frame
1989
+	20)
1990
+
1991
+reg_ollie_south = a_class(
1992
+	#player armature action name
1993
+	'reg_ollie_south', 
1994
+	#start frame
1995
+	10,           
1996
+	#end frame
1997
+	10,
1998
+	#deck action name 
1999
+	'b_reg', 
2000
+	#deck start frame
2001
+	1, 
2002
+	#deck end frame
2003
+	1,
2004
+	#layer
2005
+	1,
2006
+	#speed
2007
+	1,
2008
+	#mode (1 = play, 0 = loop)
2009
+	0,
2010
+	#blendin
2011
+	5,
2012
+	#intro
2013
+	'reg_ollie_south',
2014
+	#intro length
2015
+	10,
2016
+	#exits
2017
+	['reg_air'],
2018
+	#force exit
2019
+	None,
2020
+	#force exit frame
2021
+	0)
2022
+
2023
+
2024
+
2025
+
2026
+
2027
+
2028
+
2029
+
2030
+
2031
+#**********************#
2032
+#*******grinds*********#
2033
+#**********************#
2034
+
2035
+
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+reg_5050 = a_class(
2042
+	#player armature action name
2043
+	'reg_5050', 
2044
+	#start frame
2045
+	1,           
2046
+	#end frame
2047
+	30,
2048
+	#deck action name 
2049
+	'b_reg', 
2050
+	#deck start frame
2051
+	1, 
2052
+	#deck end frame
2053
+	1,
2054
+	#layer
2055
+	1,
2056
+	#speed
2057
+	.5,
2058
+	#mode (1 = play, 0 = loop)
2059
+	1,
2060
+	#blendin
2061
+	10,
2062
+	#intro
2063
+	None,
2064
+	#intro length
2065
+	0,
2066
+	#exits
2067
+	['reg_air', 'reg_roll'],
2068
+	#force exit
2069
+	None,
2070
+	#force exit frame
2071
+	0)
2072
+
2073
+reg_bsboard = a_class(
2074
+	#player armature action name
2075
+	'reg_BS_Board2', 
2076
+	#start frame
2077
+	1,           
2078
+	#end frame
2079
+	30,
2080
+	#deck action name 
2081
+	'b_reg', 
2082
+	#deck start frame
2083
+	1, 
2084
+	#deck end frame
2085
+	1,
2086
+	#layer
2087
+	1,
2088
+	#speed
2089
+	.5,
2090
+	#mode (1 = play, 0 = loop)
2091
+	1,
2092
+	#blendin
2093
+	15,
2094
+	#intro
2095
+	None,
2096
+	#intro length
2097
+	0,
2098
+	#exits
2099
+	['reg_air', 'reg_roll'],
2100
+	#force exit
2101
+	None,
2102
+	#force exit frame
2103
+	0)
2104
+
2105
+reg_fsboard = a_class(
2106
+	#player armature action name
2107
+	'reg_FS_Board2', 
2108
+	#start frame
2109
+	1,           
2110
+	#end frame
2111
+	30,
2112
+	#deck action name 
2113
+	'b_reg', 
2114
+	#deck start frame
2115
+	1, 
2116
+	#deck end frame
2117
+	1,
2118
+	#layer
2119
+	1,
2120
+	#speed
2121
+	.5,
2122
+	#mode (1 = play, 0 = loop)
2123
+	1,
2124
+	#blendin
2125
+	15,
2126
+	#intro
2127
+	None,
2128
+	#intro length
2129
+	0,
2130
+	#exits
2131
+	['reg_air', 'reg_roll'],
2132
+	#force exit
2133
+	None,
2134
+	#force exit frame
2135
+	0)
2136
+
2137
+reg_noseg = a_class(
2138
+	#player armature action name
2139
+	'reg_noseg.002', 
2140
+	#start frame
2141
+	11,           
2142
+	#end frame
2143
+	40,
2144
+	#deck action name 
2145
+	'b_reg_noseg', 
2146
+	#deck start frame
2147
+	10, 
2148
+	#deck end frame
2149
+	10,
2150
+	#layer
2151
+	1,
2152
+	#speed
2153
+	.5,
2154
+	#mode (1 = play, 0 = loop)
2155
+	1,
2156
+	#blendin
2157
+	15,
2158
+	#intro
2159
+	None,
2160
+	#intro length
2161
+	0,
2162
+	#exits
2163
+	['reg_air', 'reg_roll'],
2164
+	#force exit
2165
+	None,
2166
+	#force exit frame
2167
+	0)
2168
+
2169
+reg_nosegr = a_class(
2170
+	#player armature action name
2171
+	'reg_nosegR', 
2172
+	#start frame
2173
+	30,           
2174
+	#end frame
2175
+	1,
2176
+	#deck action name 
2177
+	'b_reg_nosegR', 
2178
+	#deck start frame
2179
+	1, 
2180
+	#deck end frame
2181
+	1,
2182
+	#layer
2183
+	1,
2184
+	#speed
2185
+	.5,
2186
+	#mode (1 = play, 0 = loop)
2187
+	1,
2188
+	#blendin
2189
+	15,
2190
+	#intro
2191
+	None,
2192
+	#intro length
2193
+	0,
2194
+	#exits
2195
+	['reg_air', 'reg_roll'],
2196
+	#force exit
2197
+	None,
2198
+	#force exit frame
2199
+	0)
2200
+
2201
+reg_nosegl = a_class(
2202
+	#player armature action name
2203
+	'reg_nosegL', 
2204
+	#start frame
2205
+	30,           
2206
+	#end frame
2207
+	1,
2208
+	#deck action name 
2209
+	'b_reg_nosegL', 
2210
+	#deck start frame
2211
+	1, 
2212
+	#deck end frame
2213
+	1,
2214
+	#layer
2215
+	1,
2216
+	#speed
2217
+	.5,
2218
+	#mode (1 = play, 0 = loop)
2219
+	1,
2220
+	#blendin
2221
+	15,
2222
+	#intro
2223
+	None,
2224
+	#intro length
2225
+	0,
2226
+	#exits
2227
+	['reg_air', 'reg_roll'],
2228
+	#force exit
2229
+	None,
2230
+	#force exit frame
2231
+	0)
2232
+
2233
+reg_tailg = a_class(
2234
+	#player armature action name
2235
+	'reg_tailg.001', 
2236
+	#start frame
2237
+	30,           
2238
+	#end frame
2239
+	1,
2240
+	#deck action name 
2241
+	'b_reg_tailg', 
2242
+	#deck start frame
2243
+	1, 
2244
+	#deck end frame
2245
+	1,
2246
+	#layer
2247
+	1,
2248
+	#speed
2249
+	.5,
2250
+	#mode (1 = play, 0 = loop)
2251
+	1,
2252
+	#blendin
2253
+	15,
2254
+	#intro
2255
+	None,
2256
+	#intro length
2257
+	0,
2258
+	#exits
2259
+	['reg_air', 'reg_roll'],
2260
+	#force exit
2261
+	None,
2262
+	#force exit frame
2263
+	0)
2264
+
2265
+reg_tailgr = a_class(
2266
+	#player armature action name
2267
+	'reg_tailgR', 
2268
+	#start frame
2269
+	30,           
2270
+	#end frame
2271
+	1,
2272
+	#deck action name 
2273
+	'b_reg_tailgR', 
2274
+	#deck start frame
2275
+	1, 
2276
+	#deck end frame
2277
+	1,
2278
+	#layer
2279
+	1,
2280
+	#speed
2281
+	.5,
2282
+	#mode (1 = play, 0 = loop)
2283
+	1,
2284
+	#blendin
2285
+	15,
2286
+	#intro
2287
+	None,
2288
+	#intro length
2289
+	0,
2290
+	#exits
2291
+	['reg_air', 'reg_roll'],
2292
+	#force exit
2293
+	None,
2294
+	#force exit frame
2295
+	0)
2296
+
2297
+reg_tailgl = a_class(
2298
+	#player armature action name
2299
+	'reg_tailgL', 
2300
+	#start frame
2301
+	30,           
2302
+	#end frame
2303
+	1,
2304
+	#deck action name 
2305
+	'b_reg_tailgL', 
2306
+	#deck start frame
2307
+	1, 
2308
+	#deck end frame
2309
+	1,
2310
+	#layer
2311
+	1,
2312
+	#speed
2313
+	.5,
2314
+	#mode (1 = play, 0 = loop)
2315
+	1,
2316
+	#blendin
2317
+	15,
2318
+	#intro
2319
+	None,
2320
+	#intro length
2321
+	0,
2322
+	#exits
2323
+	['reg_air', 'reg_roll'],
2324
+	#force exit
2325
+	None,
2326
+	#force exit frame
2327
+	0)
2328
+
2329
+reg_tailslide = a_class(
2330
+	#player armature action name
2331
+	'fak_noses', 
2332
+	#start frame
2333
+	30,           
2334
+	#end frame
2335
+	1,
2336
+	#deck action name 
2337
+	'b_fak_noses', 
2338
+	#deck start frame
2339
+	1, 
2340
+	#deck end frame
2341
+	1,
2342
+	#layer
2343
+	1,
2344
+	#speed
2345
+	.5,
2346
+	#mode (1 = play, 0 = loop)
2347
+	1,
2348
+	#blendin
2349
+	15,
2350
+	#intro
2351
+	None,
2352
+	#intro length
2353
+	0,
2354
+	#exits
2355
+	['reg_air', 'reg_roll'],
2356
+	#force exit
2357
+	None,
2358
+	#force exit frame
2359
+	0)
2360
+
2361
+reg_noseslide = a_class(
2362
+	#player armature action name
2363
+	'fak_tails', 
2364
+	#start frame
2365
+	30,           
2366
+	#end frame
2367
+	1,
2368
+	#deck action name 
2369
+	'b_fak_tails', 
2370
+	#deck start frame
2371
+	1, 
2372
+	#deck end frame
2373
+	1,
2374
+	#layer
2375
+	1,
2376
+	#speed
2377
+	.5,
2378
+	#mode (1 = play, 0 = loop)
2379
+	1,
2380
+	#blendin
2381
+	15,
2382
+	#intro
2383
+	None,
2384
+	#intro length
2385
+	0,
2386
+	#exits
2387
+	['reg_air', 'reg_roll'],
2388
+	#force exit
2389
+	None,
2390
+	#force exit frame
2391
+	0)
2392
+
2393
+
2394
+
2395
+
2396
+
815
 
2397
 
816
 #******************(((((((((((((((((())))))))))))))))))*************
2398
 #******************(((((((((((((((((())))))))))))))))))*************

+ 2
- 2
scripts/controller2.py View File

154
     q6oncdl = own["Q6oncdl"]
154
     q6oncdl = own["Q6oncdl"]
155
     q7oncdl = own["Q7oncdl"]
155
     q7oncdl = own["Q7oncdl"]
156
     q8oncdl = own["Q8oncdl"]
156
     q8oncdl = own["Q8oncdl"]
157
-    fliplay = 4
157
+    fliplay = 3
158
 
158
 
159
     #setable
159
     #setable
160
     MAX_VEL = dict['MAX_VEL']
160
     MAX_VEL = dict['MAX_VEL']
224
         else:
224
         else:
225
             
225
             
226
             onGround = False   
226
             onGround = False   
227
-            print('jumptimer', own['jump_timer'])
227
+            #print('jumptimer', own['jump_timer'])
228
             #print('not on ground', localHitDist, own['jump_timer'])     
228
             #print('not on ground', localHitDist, own['jump_timer'])     
229
     else:
229
     else:
230
         onGround = False
230
         onGround = False

Loading…
Cancel
Save