unit: implemented a temporary fix for unit redrawing failing
authorLukas Krickl <lukas@krickl.dev>
Wed, 21 May 2025 16:23:22 +0000 (18:23 +0200)
committerLukas Krickl <lukas@krickl.dev>
Wed, 21 May 2025 16:23:22 +0000 (18:23 +0200)
commitafdbd064d86e3148edf9661c40ecd3667f947c90
treebcd7b53560e389200011f124cf5a18faba0fe66c
parent235518fdc911c5d05ddb9cffedff71b3e4beaf73
unit: implemented a temporary fix for unit redrawing failing

This fix currently pauses all obj updates while a unit is moving.
This is not a great solution and will need to be addressed properly
later.

State machine transitions are causing unit redraws to not happen.
Maybe a proper solution would be to have a few sprites for units in
motion that are not affected by the regular unit updates.
src/defs.s
src/sys.s
src/unit.s
src/wram.s