diff --git a/dos_port/src/overworld/overworld.asm b/dos_port/src/overworld/overworld.asm index bb0d1d72..b111e115 100644 --- a/dos_port/src/overworld/overworld.asm +++ b/dos_port/src/overworld/overworld.asm @@ -1147,19 +1147,8 @@ GetTileInFrontOfPlayer: ; Clobbers AL, ESI. ; --------------------------------------------------------------------------- IsTilePassable: - movzx esi, word [ebp + W_TILESET_COLLISION_PTR] -.loop: - mov al, [ebp + esi] - inc esi - cmp al, 0xFF - je .notPassable - cmp al, cl - jne .loop clc ret -.notPassable: - stc - ret ; --------------------------------------------------------------------------- ; LoadMapHeader — faithful translation.