Skip to content

Instantly share code, notes, and snippets.

@gorenje
Last active March 14, 2017 17:41
Show Gist options
  • Save gorenje/a3e3043427d46b7440a7f2a3863b1733 to your computer and use it in GitHub Desktop.
Save gorenje/a3e3043427d46b7440a7f2a3863b1733 to your computer and use it in GitHub Desktop.
Impossible Mission cheat codes

Cheat notes for Impossible Mission - (Javascript version)

Start by creating a new tab and opening the console - i.e. "inspect element", then load mission impossible

Then in the console you can do a number of things:

  • Give yourself 1000 Snoozes
>>> game.snoozes = 1000
  • Give yourself 1000 lift resets
>>> game.liftInits = 1000
  • Activate snooze and extend the snooze time for a room:
>>> game.snoozeTime = 100000

This gets reset after you leave the room, so you'll have to keep doing it.

  • Move the evevator to a new column:
>>> game.elevator.x = 2 // this can be 1 to 8
  • Remove all robots from all rooms (no need for snoozes anymore!):
>>> for(n=1;n<33;n+=1) { game.rooms[n].droids = [] }
  • Reset the lifts in the current room
>>> game.rooms[game.roomId].resetLifts()
  • Remove black balls from all rooms:
>>> for(n=1;n<33;n+=1) { game.rooms[n].blackBall = false }
  • Allow context menu to reuse inspect element and the console:
>>> window.oncontextmenu = function() { }
  • Remove search time for all pieces of furniture:
>>> for(n=1;n<33;n+=1) { for ( m = 0; m < game.rooms[n].furnitures.length; m++) {game.rooms[n].furnitures[m].searchTime = 1; } } ; game.rooms[20].furnitures[2].searchTime = 0
  • Ordering the correct tone fields in organ room:
>>> a=game.rooms[game.roomId].organ.tones.sort(function(a,b){return b.tone < a.tone;}); for(n=0;n<a.length; n++) { console.log("x: " + a[n].x + " y: " + a[n].y); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment