actor: fixed movement being slow when picking two directions
authorLukas Krickl <lukas@krickl.dev>
Sat, 28 Jun 2025 10:11:39 +0000 (12:11 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 28 Jun 2025 10:11:39 +0000 (12:11 +0200)
commitb19e8c938828a25bb971c741a61d5c81b2a1e0c1
treeb74779c615fcfe622576eb2d206e0ccd1c4d8db4
parentf2422c3be05a25e094a0f24d47d3fa0c51fdbb3e
actor: fixed movement being slow when picking two directions

This was caused due to try_move_x destroying registers.
The fix was to simply push and pop de and hl.
BUGS.md
src/unit.s