Prince of Persia 2: The Shadow and the Flame is a platform game originally released on PC (DOS) by Brøderbund in 1993. Unlike the first game (which has ported of a dozen other systems) this second game has only 3 ports: Macintosh (Released on 1994), SNES (Released on 1995), and a cancelled/unreleased Genesis version (This game is almost finished, except for one flaw/forgotten of Stage 9).
The SNES port Prince of Persia 2 is generally regarded as a bad port of a very hard platforming puzzle game. The controls are clumsy, the puzzles are seemingly random, and the player dies very easily. The port also leaves out the last level. Fortunately there is a major bug in the game that allows large parts of it to be skipped. And this new TAS shows for the first time, new bugs exclusive of this SNES port!

Game Objectives

  • Emulator used: BizHawk 1.11.7
  • Aims for fastest time (Not in-game time, since clear time on final of each level no longer exists on this game).
  • Uses death to save time
  • Takes damage to save time
  • Heavy glitch abuse
This run is 1:53.10 (6797 frames) faster (on Bizhawk, due of more accurate emulation) than Alyosha's published run, thanks for several new improvements, including much better gameplay optimization, some new bugs, skips on Stage 5, 6 and 7, ghost glitch activated on Stage 8 instead of Stage 9, and Shadow, Flame, & Jaffar, on Stage 13, no longer exists in this run.
Some days before submitting my Prince of Persia SNES TAS, I remembered of a glitch (discovered 6 years ago) that works only on lava when rising. And activing this glitch, it's possible to skip most half of Stage 5! And during my research to finding new ways to activate this glitch without lava, accidentaly I discovered 2 big new shortcuts! One of Stage 6, and other of Stage 7. After this findings, I started this TAS. During this work, I found much more improvements on this game than when was working on Prince of Persia 1.

Table of improvements:

LevelsFrames savedTotal
Level 1 14 14
Level 2 14 28
Level 3 51 79
Level 4 78 157
Level 5 2728 2885
Level 6 1123 4008
Level 7 1128 5136
Level 8 -527 4609
Level 9 689 5298
Level 10 26 5324
Level 11 626 5950
Level 12 55 6005
Level 13 782 6787

Stage-by-Stage comments (Every level has been improved and gameplay optimized):

  • Level 1 - After dodging the 4th guard, instead moving to left, I stopped movement and press up instead, saving 9 frames. Other frames is for better optimization.
  • Level 2 - The last 2 frames optimized before of final of Level 1, changed a bit of RNG of these tiles of Stage 2. Because of this, Instead to get sun, I changed to skull, otherwise, several frames that gained on Level 1 will lost. A jumping is done on final tile due of a flaw on this SNES port, which sometimes this game doesn't detect correctly if you standing on that square.
  • Level 3 - Notable optimizations, including on the exit room.
  • Level 4 - Several notable optimizations. Instead to hold down before grabs the last ledge, I grabs first and right after this, pressing down to drop, gaining some pixels, saving 16-17 frames.
  • Level 5 - Initially, I saved 10 frames before the first climbing. After this, I abuse of a new glitch that works on rising lava (When a skeleton drops in lava).This bug is possible because of a bad collision detection on lava. Unlike the Ghost Glitch on Level 9, is supposed to be dead and can not press switches or move while using the sword, needing to cancel this glitch, but I cancel this glitch on the room before the bridge, for 2 reasons:
  • 1 - This room is a checkpoint.
  • 2 - In other rooms, cancelling this glitch leaves back to start of this level.
WARNING: Do not exit the bridge room until has fallen completely, otherwise, some memory of this game will corrupt, causing a series of platforms 2 levels later to be impossible to catch onto. And you can't use this sword due of this bug.
  • Level 6 - 3 frames is sacrified to manipulate and dodging the floating head. After some climbings, instead to go up, I climb on the wrong way and zips in a wall, skipping some paths, allowing to get a lower route instead of a normal route.
  • Level 7 - Some better optimization and a same skip did on Level 6.
  • Level 8 - Ghost glitch is activated on this Level. It costs much time, but...
  • ...Level 9 - As the bug has been activated on previous level, I go to the final directly, recovering most of time lost (+ the other time lost recovered on previous level, skipping a tunnel and a snake on Level 8). 139-160 frames gained for this new route!
  • Level 10 - Some better optimization.
  • Level 11 - Several new optimizations, better stopping movements, and 2 new routes: one to reduce lag, other, is climbing before the exit switch room (Climbs right instead of left).
Note: After a better first climb, drawing the sword is faster, since prince gains enough pixels to did the third climb successifuly.
  • Level 12 - Some better optimization.
  • Level 13 - Pause is did to force the tile to break much faster. Some optimizations and instead of dying on that last birdman guard, I avoided, reaching next of flame. The exit actually opens if you reaches this exact position:
Well, in this screenshot, I tried to dodge again this birdman guard, but it's not possible, forcing me to use a death glitch on this flame, to avoid this guard:
Drawing a sword, dying on the flame, and guarding the sword again.
Due of not having flame, the fake prince (Jaffar), don't appear, allowing me to go on exit without wasting time with Jaffar! And the end input is 2-3 frames earlier than Alyosha and Nitsuja's previous TAS.
Special Thanks to Alyosha and Nitsuja for his published runs.

Other comments

Well, I noticed that Prince of Persia Sega CD version, the gameplay is similar to the PC version, allowing the possibility of use some skips that I found in an old SprintGod's DOS speedrun. In addition, the Sega CD version, if you pause during the game, you can change the speed of the game and the battles of 3 to 1, making the game faster than any other port. I do not know if this kind of option is allowed on a type of this game on a TAS.

Masterjun: Judging.
Masterjun: The nice improvements and new skips make this a solid run. The previous movie was published into the Vault, but this game managed to get into Moons once before and with the short duration, new glitches and great viewer feedback, this run deserves an upgrade from the Vault. Accepting to Moons as an improvement to the previous run.
Fog: Processing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15583
Location: 127.0.0.1
Joined: 2/19/2010
Posts: 248
lolwut. A short run, and with enough wtf-factor to keep it entertaining. I particularly like when you're forced to carefully climb down from midair rather than just falling. (The scrolling in this game is a little grating and just shows what a bad port this is.)
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3822)
Joined: 11/30/2014
Posts: 2832
Location: US
your mastery of Prince of Persia is very impressive. Glad something you found 6 years ago made it into a finished run, that lava glitch is really cool. The improvements in other stages are impressive as well, great work! Voting yes even though I can't follow what's actually happening at all :D
Personman
Other
Joined: 4/20/2008
Posts: 465
This is really wonderful! The way the spooky head hovers at you but never really interacts with you reminds me more of some kind of stylized traditional theater than any enemy AI I've ever seen. And then there's the bit where you mime climbing down from a ledge, when there's obviously no ledge there. Combined with the subdued soundtrack and sparse sound design, the whole thing really feels like some kind of minimalist performance art more than a game. It's great.
A warb degombs the brangy. Your gitch zanks and leils the warb.
Challenger
He/Him
Skilled player (1689)
Joined: 2/23/2016
Posts: 1061
Stage-by-Stage comments and Other comments added!
My homepage --Currently not much motived for TASing as before...-- But I'm still working.
Editor, Experienced player (885)
Joined: 1/23/2008
Posts: 529
Location: Finland
This does seem like a clunky, miserable title for sure. Fortunately the glitches are better than average, helping make the run at best enjoyable to watch. The run isn't too long either. I will now bestow this submission with a weak 'yes' vote.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15583
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [3277] SNES Prince of Persia 2: The Shadow and the Flame by Challenger in 09:18.85