equal
deleted
inserted
replaced
397 -- Forces the first mission panel to be displayed without time limit |
397 -- Forces the first mission panel to be displayed without time limit |
398 firstMission() |
398 firstMission() |
399 end |
399 end |
400 end |
400 end |
401 |
401 |
402 function onGearResurrect(gear) |
402 function onGearResurrect(gear, vGear) |
403 AddCaption(loc("Your hedgehog has been revived!")) |
403 AddCaption(loc("Your hedgehog has been revived!")) |
404 if gear == hog_cappy then |
404 if gear == hog_cappy then |
405 SetGearPosition(gear, 404, 1714) |
405 SetGearPosition(gear, 404, 1714) |
406 elseif gear == hog_greenhorn then |
406 elseif gear == hog_greenhorn then |
407 SetGearPosition(gear, 401, 1850) |
407 SetGearPosition(gear, 401, 1850) |
408 else |
408 else |
409 -- Generic teleport to Rhombus' cage |
409 -- Generic teleport to Rhombus' cage |
410 SetGearPosition(gear, 619, 1559) |
410 SetGearPosition(gear, 619, 1559) |
|
411 end |
|
412 if vGear then |
|
413 SetVisualGearValues(vGear, GetX(gear), GetY(gear)) |
411 end |
414 end |
412 FollowGear(gear) |
415 FollowGear(gear) |
413 end |
416 end |
414 |
417 |
415 function onNewTurn() |
418 function onNewTurn() |