-
Notifications
You must be signed in to change notification settings - Fork 0
/
move.sub
385 lines (375 loc) · 6.96 KB
/
move.sub
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
int move(int leg, int pos) {
int i;
switch (pos) {
case 0 :
break;
case 1 : //setze fuß vor
legmoveCompleted(leg);
LegPos(leg, 11);
legmoveCompleted(leg);
LegPos(leg, 10);
legmoveCompleted(leg);
LegPos(leg, 4);
break;
case 2 : //setze Fuß zur Mitte
legmoveCompleted(leg);
LegPos(leg, 11);
legmoveCompleted(leg);
LegPos(leg, 5);
break;
case 3 : //setze fuß zurück
legmoveCompleted(leg);
LegPos(leg, 11);
legmoveCompleted(leg);
LegPos(leg, 12);
legmoveCompleted(leg);
LegPos(leg, 6);
break;
case 4 : //ziehe fuß vor
legmoveCompleted(leg);
LegPos(leg, 4);
break;
case 5 : //ziehe fuß zur mitte
legmoveCompleted(leg);
LegPos(leg, 5);
break;
case 6 : //ziehe fuß zurück
legmoveCompleted(leg);
LegPos(leg, 6);
break;
//Idle/Dance Moves
case 10 : //a stomp
LegPos(1,11);
legmoveCompleted(1);
LegPos(1,5);
legmoveCompleted(1);
LegPos(3,11);
legmoveCompleted(3);
LegPos(3,5);
legmoveCompleted(3);
LegPos(5,11);
legmoveCompleted(5);
LegPos(5,5);
legmoveCompleted(5);
LegPos(6,11);
legmoveCompleted(6);
LegPos(6,5);
legmoveCompleted(6);
LegPos(4,11);
legmoveCompleted(4);
LegPos(4,5);
legmoveCompleted(4);
LegPos(2,11);
legmoveCompleted(2);
LegPos(2,5);
legmoveCompleted(2);
break;
case 11: //b stomp
LegPos(2,11);
legmoveCompleted(2);
LegPos(2,5);
legmoveCompleted(2);
LegPos(4,11);
legmoveCompleted(4);
LegPos(4,5);
legmoveCompleted(4);
LegPos(6,11);
legmoveCompleted(6);
LegPos(6,5);
legmoveCompleted(6);
LegPos(5,11);
legmoveCompleted(5);
LegPos(5,5);
legmoveCompleted(5);
LegPos(3,11);
legmoveCompleted(3);
LegPos(3,5);
legmoveCompleted(3);
LegPos(1,11);
legmoveCompleted(1);
LegPos(1,5);
legmoveCompleted(1);
break;
case 12: //Räkeln
for (i=6;i>=0;i--){
printf("Räkeln Bein %i",i);
LegPos(i,11);
legmoveCompleted(i);
LegPos(i,20);
legmoveCompleted(i);
LegPos(i,11);
legmoveCompleted(i);
LegPos(i,16);
legmoveCompleted(i);
LegPos(i,18);
legmoveCompleted(i);
LegPos(i,5);
legmoveCompleted(i);
}
break;
case 13 : //schunkeln
LegPos(1,11);
LegPos(2,5);
LegPos(3,5);
LegPos(4,5);
LegPos(5,5);
LegPos(6,14);
allmoveCompleted();
LegPos(1,5);
LegPos(2,14);
LegPos(3,5);
LegPos(4,5);
LegPos(5,11);
LegPos(6,5);
allmoveCompleted();
LegPos(1,5);
LegPos(2,5);
LegPos(3,14);
LegPos(4,11);
LegPos(5,5);
LegPos(6,5);
allmoveCompleted();
LegPos(1,14);
LegPos(2,5);
LegPos(3,5);
LegPos(4,5);
LegPos(5,5);
LegPos(6,11);
allmoveCompleted();
LegPos(1,5);
LegPos(2,14);
LegPos(3,5);
LegPos(4,5);
LegPos(5,11);
LegPos(6,5);
allmoveCompleted();
LegPos(1,5);
LegPos(2,5);
LegPos(3,11);
LegPos(4,14);
LegPos(5,5);
LegPos(6,5);
allmoveCompleted();
break;
case 14 : //Jump
for (int i=1;i<=6;i++) {
LegPos(i,11);
}
allmoveCompleted();
// for (int i=1;i<=6;i++) {
// LegPos(i,14);
// }
// allmoveCompleted();
for (int i=1;i<=6;i++) {
LegPos(i,5);
}
allmoveCompleted();
break;
case 15 : //start position
for (int i =1; i <= 6 ;i++) {
LegPos(i,11);
legmoveCompleted(i);
LegPos(i,5);
}
allmoveCompleted();
break;
//Head moves
case 20 : //Center
LegPos(0,5);
legmoveCompleted(0);
break;
case 21 : //Nod
legmoveCompleted(0);
LegPos(0,8);
legmoveCompleted(0);
LegPos(0,2);
legmoveCompleted(0);
LegPos(0,5);
break;
case 22 : //Shake
legmoveCompleted(0);
LegPos(0,6);
legmoveCompleted(0);
LegPos(0,4);
legmoveCompleted(0);
LegPos(0,5);
break;
case 23 : //Sniff
break;
case 24 : //Center
break;
case 25 : //Center
break;
case 30 : //breitbeinig stellen
move(1,5);
move(2,5);
move(3,5);
move(4,5);
move(5,5);
move(6,5);
allmoveCompleted();
break;
case 31 : //a Schritt vor
allmoveCompleted();
move(1,1);
move(4,1);
move(5,1);
allmoveCompleted();
LegPos(2,11);
LegPos(3,11);
LegPos(6,11);
allmoveCompleted();
move(1,6);
move(4,6);
move(5,6);
break;
case 32 : //b Schritt vor
allmoveCompleted();
move(2,1);
move(3,1);
move(6,1);
allmoveCompleted();
LegPos(1,11);
LegPos(4,11);
LegPos(5,11);
allmoveCompleted();
move(2,6);
move(3,6);
move(6,6);
break;
case 33 : //a schritt zurück
allmoveCompleted();
move(1,3);
move(4,3);
move(5,3);
allmoveCompleted();
LegPos(2,11);
LegPos(3,11);
LegPos(6,11);
allmoveCompleted();
move(1,4);
move(4,4);
move(5,4);
break;
case 34 : //b schritt zurück
allmoveCompleted();
move(2,3);
move(3,3);
move(6,3);
allmoveCompleted();
LegPos(1,11);
LegPos(4,11);
LegPos(5,11);
allmoveCompleted();
move(2,4);
move(3,4);
move(6,4);
break;
case 35 : //a drehe rechts
allmoveCompleted();
move(1,1);
move(4,3);
move(5,1);
allmoveCompleted();
LegPos(2,11);
LegPos(3,11);
LegPos(6,11);
allmoveCompleted();
move(1,6);
move(4,4);
move(5,6);
break;
case 36 : //b drehe rechts
allmoveCompleted();
move(2,3);
move(3,1);
move(6,3);
allmoveCompleted();
LegPos(1,11);
LegPos(4,11);
LegPos(5,11);
allmoveCompleted();
move(2,4);
move(3,6);
move(6,4);
break;
case 37 : //a drehe links
allmoveCompleted();
move(1,3);
move(4,1);
move(5,3);
allmoveCompleted();
LegPos(2,11);
LegPos(3,11);
LegPos(6,11);
allmoveCompleted();
move(1,4);
move(4,6);
move(5,4);
break;
case 38 : //b drehe links
allmoveCompleted();
move(2,1);
move(3,3);
move(6,1);
allmoveCompleted();
LegPos(1,11);
LegPos(4,11);
LegPos(5,11);
allmoveCompleted();
move(2,6);
move(3,4);
move(6,6);
break;
case 39 : //Catapillar
move(1,1);
move(2,1);
allmoveCompleted();
move(1,5);
move(2,5);
move(3,1);
move(4,1);
move(5,6);
move(6,6);
allmoveCompleted();
move(1,6);
move(2,6);
move(3,5);
move(4,5);
move(5,1);
move(6,1);
allmoveCompleted();
move(1,1);
move(2,1);
move(3,6);
move(4,6);
move(5,5);
move(6,5);
allmoveCompleted();
break;
//vierfuss
case 40 : //Grundstellung
LegPos(1,5);
LegPos(2,5);
LegPos(3,11);
LegPos(4,11);
LegPos(5,5);
LegPos(6,5);
allmoveCompleted();
break;
case 41 : //Vor
move(1,1);
move(6,1);
move(2,6);
move(5,6);
allmoveCompleted();
move(1,6);
move(6,6);
move(2,1);
move(5,1);
allmoveCompleted();
default:
break;
}
return 0;
}