rem fall if not touching ground
if !pfread(b,l) then player0y = player0y + 1
rem push left if in right wall
if pfread(k,m) then player0x = player0x - 1
rem push right if in left wall
if pfread(j,m) then player0x = player0x + 1
i need to figure out what variables b, j, k, l, and m are in playfield blocks.
b should be the playfield equivalent of player0x+4
l should be the playfield equivalent of player0y+7
k should be the playfield equivalent of player0x+8
m should be the playfield equivalent of player0y+3
j should be the playfield equivalent of player0x
help a brother out!
EDIT: unless there's an easier way to detect collision with the playfield at a specific point - i'd love to hear it.