equal
deleted
inserted
replaced
45 local teamC = {} |
45 local teamC = {} |
46 local teamD = {} |
46 local teamD = {} |
47 -- hedgehogs values |
47 -- hedgehogs values |
48 hero.name = loc("Hog Solo") |
48 hero.name = loc("Hog Solo") |
49 hero.x = 520 |
49 hero.x = 520 |
50 hero.y = 845 |
50 hero.y = 871 |
51 hero.dead = false |
51 hero.dead = false |
52 paoth1.name = loc("H") |
52 paoth1.name = loc("H") |
53 paoth1.x = 3730 |
53 paoth1.x = 3730 |
54 paoth1.y = 1480 |
54 paoth1.y = 1538 |
55 paoth2.name = loc("Dr. Cornelius") |
55 paoth2.name = loc("Dr. Cornelius") |
56 paoth2.x = 3800 |
56 paoth2.x = 3800 |
57 paoth2.y = 1480 |
57 paoth2.y = 1538 |
58 professor.name = loc("Prof. Hogevil") |
58 professor.name = loc("Prof. Hogevil") |
59 professor.dead = false |
59 professor.dead = false |
60 thug1.x = 1265 |
60 thug1.x = 1265 |
61 thug1.y = 1400 |
61 thug1.y = 1465 |
62 thug1.health = 70 |
62 thug1.health = 70 |
63 thug2.x = 2035 |
63 thug2.x = 2035 |
64 thug2.y = 1320 |
64 thug2.y = 1380 |
65 thug2.health = 95 |
65 thug2.health = 95 |
66 thug3.x = 1980 |
66 thug3.x = 1980 |
67 thug3.y = 815 |
67 thug3.y = 863 |
68 thug3.health = 35 |
68 thug3.health = 35 |
69 thug3.turnLeft = true |
69 thug3.turnLeft = true |
70 thug4.x = 2830 |
70 thug4.x = 2830 |
71 thug4.y = 1960 |
71 thug4.y = 2007 |
72 thug4.health = 80 |
72 thug4.health = 80 |
73 thug5.x = 2890 |
73 thug5.x = 2890 |
74 thug5.y = 1960 |
74 thug5.y = 2007 |
75 thug5.health = 80 |
75 thug5.health = 80 |
76 thug6.x = 2940 |
76 thug6.x = 2940 |
77 thug6.y = 1960 |
77 thug6.y = 2007 |
78 thug6.health = 80 |
78 thug6.health = 80 |
79 thug7.x = 2990 |
79 thug7.x = 2990 |
80 thug7.y = 1960 |
80 thug7.y = 2007 |
81 thug7.health = 80 |
81 thug7.health = 80 |
82 teamA.name = loc("Hog Solo") |
82 teamA.name = loc("Hog Solo") |
83 teamA.color = -6 |
83 teamA.color = -6 |
84 teamB.name = loc("PAotH") |
84 teamB.name = loc("PAotH") |
85 teamB.color = teamA.color |
85 teamB.color = teamA.color |
325 |
325 |
326 -------------- OTHER FUNCTIONS ----------------- |
326 -------------- OTHER FUNCTIONS ----------------- |
327 |
327 |
328 function startBattle() |
328 function startBattle() |
329 ShowMission(unpack(goals[dialog01])) |
329 ShowMission(unpack(goals[dialog01])) |
|
330 AddVisualGear(GetX(professor.human), GetY(professor.human), vgtExplosion, 0, false) |
330 HideHog(professor.human) |
331 HideHog(professor.human) |
331 RestoreHog(professor.bot) |
332 RestoreHog(professor.bot) |
|
333 AddVisualGear(GetX(professor.bot), GetY(professor.bot), vgtExplosion, 0, false) |
|
334 PlaySound(sndWarp) |
332 SetGearMessage(hero.gear, 0) |
335 SetGearMessage(hero.gear, 0) |
333 AnimSwitchHog(professor.gear) |
336 AnimSwitchHog(professor.gear) |
|
337 FollowGear(professor.gear) |
334 EndTurn(true) |
338 EndTurn(true) |
335 end |
339 end |