the cutting room mirror

Prince of Persia 2: The Shadow and the Flame (DOS)

This article has a talk page!
view on tcrf.net

Cheats#

To access cheats, type in prince yippeeyahoo and go into any level.

Normal Cheats#

After that, you can use a list of commands:

Key

Notes

K

Kills every enemy on screen.

Shift+W

Activating low gravity.

R

Revive yourself for only if your dead.

Shift+R

Shows the current room your in.

Shift+T

Gives you a health point.

Shift+I

Flips the screen vertically.

Shift+K

Depletes a health point.

Alt+V

POP2 VersionShow.png
Shows the game's version.

Alt+N

Skips to the next level.

Debug Cheats#

You also get a list of debug commands:

Key

Notes

Shift+B

POP2DOS ActiveObjects.png
Displays active objects only.

F1

Enables a frame-advance with any key.

F2

POP2DOS PrintDotWalk.png
Prints a dot on the screen near where the prince's collision is. Using this along with frame-advance will show the prince's frame number.

F3

Toggles "player", Unknown to what it does.

F5

Similar to F2, but tracks another part of collision and is colored blue.

F6

POP2DOS MeasureFloor.png
Measures the floor that is under the prince.

Anti-Piracy#

After Level 2, the game will ask for a specific symbol that would only be known if the player actually bought the game along with the manual. Bypassing the screen is impossible.

POP2DOS AntiPiracyManual.png

Crash Handler#

The game contains a crash handler, which will stop gameplay and shows a window, Most errors normally kick the player into DOS. Some errors are less fatal, and gives the choice whenever to continue or quit.

POP2DOS CrashHandler.png

PRINCE.EXE has a complete list of the game's error messages (which are shown below).

AnimNew(): Cast member %d out of range
Error in SaveShad()
Error in LoadShad()
AnimNew(%d)
ERROR:  DrawIt()
ERROR:  Couldn't allocate backport
ERROR: Couldn't find shape list
Id = %d PrinceNewShpItem()
BaseId = %d 
item = %d
usedExisting = %d
Error in PrinceUnpackShape()
StdRsrcError()
StdRsrcVerify()
ERROR:  DrawIt()
x = %d
y = %d
mode = 0x%x
shapeType = %d

DRects Overflow
Error playing recorded game
The program is unable to detect an MCGA video mode
There will be no digital sounds.
The midi sound card selected did not initialize.  There will be no music.
Insufficient far Memory System error.

Press any key to return to DOS.
Couldn't find resource file "%s"
Could not find the system configuration file %s.
Please run SETUP from within the Prince of Persia 2 directory.
Insufficient near Memory

R6000
stack overflow
R6003
integer divide by 0
R6009
not enough space for environment
run-time error
R6002
floating-point support not loaded
R6001
null pointer assignment

References#


  1. https://www.newspapers.com/image/682702029/?terms=%22prince%20of%20persia%202%22&match=1↩︎