bye colllisions

Prince of Persia related subjects that do not have their own boards.
Post Reply
User avatar
Prince Of Apollia
Efendi
Efendi
Posts: 15
Joined: March 6th, 2023, 7:36 pm

bye colllisions

Post by Prince Of Apollia »

Did anyone notice this befor, i'm using sdlPop and changed the prince.exe with custop so that the falling entry is on level one.
Please halp me out.

Thanks
ezgif-3-ecdd19eb6e.gif
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: bye colllisions

Post by David »

Prince Of Apollia wrote: March 20th, 2023, 9:30 pm Did anyone notice this befor, i'm using sdlPop and changed the prince.exe with custop so that the falling entry is on level one.
Please halp me out.
I figured out the following:
  • The bug exists in DOS PoP as well.
  • The bug is caused by the cast to word here: https://github.com/NagyD/SDLPoP/blob/v1 ... g005.c#L42
    The same thing makes trick 41 possible on the original level 7.
  • On the original level 7, the prince starts with Char.curr_row = 0 (top row).
  • If I move the falling entry to level 1, the prince starts with Char.curr_row = -1 (above top row = bottom row of the room above).
Solution:
  • The bug disappears if you disable the other kind of falling entry, the one which is used on the original level 1.
    In SDLPoP.ini, under [Level 1], set entry_pose = turning .
Post Reply