equal
deleted
inserted
replaced
225 -- We only use it to determine wheather our hog took damage in order to abort the mission. |
225 -- We only use it to determine wheather our hog took damage in order to abort the mission. |
226 function onGearDamage(gear, damage) |
226 function onGearDamage(gear, damage) |
227 if GetGearType(gear) == gtHedgehog then |
227 if GetGearType(gear) == gtHedgehog then |
228 if not game_lost then |
228 if not game_lost then |
229 game_lost = true |
229 game_lost = true |
230 AddCaption(loc("You lose!", 0xFFFFFFFF, capgrpGameState)) |
230 AddCaption(loc("You lose!"), 0xFFFFFFFF, capgrpGameState) |
231 ShowMission(loc("Bazooka Training") , loc("Aiming Practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0) |
231 ShowMission(loc("Bazooka Training") , loc("Aiming Practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0) |
232 |
232 |
233 time_goal = 1 |
233 time_goal = 1 |
234 end |
234 end |
235 end |
235 end |