equal
deleted
inserted
replaced
107 SetWaterLine(32768) |
107 SetWaterLine(32768) |
108 YouWon = false |
108 YouWon = false |
109 YouLost = false |
109 YouLost = false |
110 tauntNoo = false |
110 tauntNoo = false |
111 recordBroken = false |
111 recordBroken = false |
112 if CurrentHedgehog ~= nil then |
112 if CurrentHedgehog ~= nil and CurrentHedgehog ~= dummyHog then |
113 SetGearPosition(CurrentHedgehog, 1951,32640) |
113 SetGearPosition(CurrentHedgehog, 1951,32640) |
114 if not HogsAreInvulnerable then SetEffect(CurrentHedgehog,heInvulnerable,0) end |
114 if not HogsAreInvulnerable then SetEffect(CurrentHedgehog,heInvulnerable,0) end |
115 AddVisualGear(19531,32640,vgtExplosion,0,false) |
115 AddVisualGear(19531,32640,vgtExplosion,0,false) |
116 SetState(CurrentHedgehog,band(GetState(CurrentHedgehog),bnot(gstInvisible))) |
116 SetState(CurrentHedgehog,band(GetState(CurrentHedgehog),bnot(gstInvisible))) |
117 SetWeapon(amRope) |
117 SetWeapon(amRope) |
199 local cx,cy = GetGearPosition(Cake) |
199 local cx,cy = GetGearPosition(Cake) |
200 if y < cy-1500 then |
200 if y < cy-1500 then |
201 DeleteGear(Cake) |
201 DeleteGear(Cake) |
202 Cake = nil |
202 Cake = nil |
203 end |
203 end |
204 if gearIsInCircle(CurrentHedgehog,cx,cy,450) then |
204 |
|
205 if GetHealth(Cake) < 999990 and gearIsInCircle(CurrentHedgehog,cx,cy,450) then |
205 FireBoom(cx,cy,200) -- todo animate |
206 FireBoom(cx,cy,200) -- todo animate |
206 DeleteGear(Cake) |
207 DeleteGear(Cake) |
207 Cake = nil |
208 Cake = nil |
208 end |
209 end |
209 end |
210 end |