equal
deleted
inserted
replaced
71 function onAmmoStoreInit() |
71 function onAmmoStoreInit() |
72 SetAmmo(amRope, 9, 2, 0) |
72 SetAmmo(amRope, 9, 2, 0) |
73 end |
73 end |
74 |
74 |
75 function onGameTick20() |
75 function onGameTick20() |
76 if startTime = 0 and TurnTimeLeft < maxtime then |
76 if startTime == 0 and TurnTimeLeft < maxtime then |
77 startTime = GameTime |
77 startTime = GameTime |
78 end |
78 end |
79 if CurrentHedgehog ~= nil and TurnTimeLeft <= 20 and TurnTimeLeft > 0 then |
79 if CurrentHedgehog ~= nil and TurnTimeLeft <= 20 and TurnTimeLeft > 0 then |
80 SetHealth(CurrentHedgehog, 0) |
80 SetHealth(CurrentHedgehog, 0) |
81 x, y = GetGearPosition(CurrentHedgehog) |
81 x, y = GetGearPosition(CurrentHedgehog) |