equal
deleted
inserted
replaced
96 |
96 |
97 function onGearDelete(gear) |
97 function onGearDelete(gear) |
98 |
98 |
99 if (gear == enemy) and (GameOver == false) then |
99 if (gear == enemy) and (GameOver == false) then |
100 ShowMission(loc("Diver"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0) |
100 ShowMission(loc("Diver"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0) |
|
101 SaveMissionVar("Won", "true") |
101 elseif gear == player then |
102 elseif gear == player then |
102 ShowMission(loc("Diver"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
103 ShowMission(loc("Diver"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
103 GameOver = true |
104 GameOver = true |
104 end |
105 end |
105 |
106 |