strange, what happens if you comment out this line:
Lua:
-- Headbutt the wall fam
target:setDirection(playerDir)
like so:
Lua:
-- Headbutt the wall fam
--target:setDirection(playerDir)
can't think of a reason why
but it looks like the player is turning into a different sprite entirely
just comment lines out and try and pin-point which line is causing it, idk bro i ain't got time for this