First, I don't know if this should go here or somewhere else
I found a fail between a guard fight next to a tapestry with floor and I would like to fix it.
The guard stops being aggresive if you move him to the tapestry with floor and does not do anything else than turning to see the prince
watch the video to understand
Re: Guard fight fail
Posted: June 20th, 2020, 1:10 pm
by atrueprincefanfrom18
This has already been discussed before in this thread. I don't know if it can be fixed. If it can be fixed it's David who can help you fix it. And if it can be fixed, it's in the correct thread!
Re: Guard fight fail
Posted: July 17th, 2020, 2:09 pm
by David
Emiliano Fierro wrote: ↑June 20th, 2020, 1:04 am
I found a fail between a guard fight next to a tapestry with floor and I would like to fix it.
The guard stops being aggresive if you move him to the tapestry with floor and does not do anything else than turning to see the prince
Search: 80 3E F9 42 07 75 03 E9 31 FF 80 3E F9 42 0C 75 9C E9 27 FF
(The offset is 0x6B20 in unpacked v1.0.)
Change to: 8B 5E FE 39 5E FA 74 A5 3C 07 75 A1 3C 0C E9 2A FF 90 90 90
This hack is not perfect, though.
If either the guard or the prince is between a doortop on the left and a gate on the right (and they are adjacent tiles), and his opponent is on his left side, then the game thinks they can see each other.
I could solve this in SDLPoP (see the second commit), but in PoP DOS there is simply not enough space to do this properly.