b0rsuk Wrote:Could it have something to do that Demon Lord has life draining attacks and can have more than 100% HP that way ?
Thanks for thinking along, but with my new information I don't think so.
I've used dosbox-heavydebug to set a memory-breakpoint on the hitpoint-per-figure of the Galley and started the battle again.
And yes! it stopped, immediately at the start of the battle.
I continued and during the battle I used the Tweaker to change the hitpoints of the Galley back to 20 and lo and behold, the game did not crash anymore!
We have the following code in IDA:
Code:
ovr114:03A3 90 nop
ovr114:03A4 90 nop
[COLOR=Red]ovr114:03A5 20 53 90 and [bp+di-70h], dl
[/COLOR]ovr114:03A8 89 36 82 C5 mov w_unit_on_move, si
I suspect it should be "90 90 90" instead of "20 53 90".
Kyrub?
--I like ILSe