equal
deleted
inserted
replaced
85 end |
85 end |
86 |
86 |
87 function onGearDelete(gear) |
87 function onGearDelete(gear) |
88 |
88 |
89 if (gear == enemy) and (GameOver == false) then |
89 if (gear == enemy) and (GameOver == false) then |
90 ShowMission(loc("Operation Diver"), loc("MISSION SUCCESS"), loc("Congratulations!"), 0, 0) |
90 ShowMission(loc("Operation Diver"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0) |
91 elseif gear == player then |
91 elseif gear == player then |
92 ShowMission(loc("Operation Diver"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
92 ShowMission(loc("Operation Diver"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
93 GameOver = true |
93 GameOver = true |
94 end |
94 end |
95 |
95 |