equal
deleted
inserted
replaced
200 end |
200 end |
201 |
201 |
202 function onNewTurn() |
202 function onNewTurn() |
203 if CurrentHedgehog == paoth1.gear or CurrentHedgehog == paoth2.gear then |
203 if CurrentHedgehog == paoth1.gear or CurrentHedgehog == paoth2.gear then |
204 AnimSwitchHog(hero.gear) |
204 AnimSwitchHog(hero.gear) |
205 TurnTimeLeft = 0 |
205 EndTurn(true) |
206 end |
206 end |
207 end |
207 end |
208 |
208 |
209 function onGameTick() |
209 function onGameTick() |
210 AnimUnWait() |
210 AnimUnWait() |
315 |
315 |
316 function startBattle() |
316 function startBattle() |
317 DeleteGear(professor.human) |
317 DeleteGear(professor.human) |
318 RestoreHog(professor.bot) |
318 RestoreHog(professor.bot) |
319 AnimSwitchHog(professor.gear) |
319 AnimSwitchHog(professor.gear) |
320 TurnTimeLeft = 0 |
320 EndTurn(true) |
321 end |
321 end |