equal
deleted
inserted
replaced
426 makeSinglePlayerLoserStats() |
426 makeSinglePlayerLoserStats() |
427 YouLost = true |
427 YouLost = true |
428 end |
428 end |
429 -- FIXME: Hog is also in winning box if it just walks into the chair from the left, touching it. Intentional? |
429 -- FIXME: Hog is also in winning box if it just walks into the chair from the left, touching it. Intentional? |
430 if not YouWon and not YouLost and gearIsInBox(CurrentHedgehog, 1920, 252, 50, 50) then |
430 if not YouWon and not YouLost and gearIsInBox(CurrentHedgehog, 1920, 252, 50, 50) then |
|
431 SaveMissionVar("Won", "true") |
431 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState) |
432 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState) |
432 ShowMission(loc("Climb Home"), |
433 ShowMission(loc("Climb Home"), |
433 loc("Made it!"), |
434 loc("Made it!"), |
434 string.format(loc("Ahhh, home, sweet home. Made it in %d seconds."), roundedFinishTime), |
435 string.format(loc("Ahhh, home, sweet home. Made it in %d seconds."), roundedFinishTime), |
435 -amRope, 0) |
436 -amRope, 0) |