- if (GetBlock(scr, y, x) & z & 0x10) BlockFall(scr, x, y-1, z & 0xD0);
- if (GetBlock(scr, y, x) & z & 0x20) BlockFall(scr, x, y+1, z & 0xE0);
- if (GetBlock(scr, y, x) & z & 0x40) BlockFall(scr, x+1, y, z & 0x70);
- if (GetBlock(scr, y, x) & z & 0x80) BlockFall(scr, x-1, y, z & 0xB0);
- SetBlock(scr, y-1, x, GetBlock(scr, y, x));
- SetBlock(scr, y, x, BT_none);
+ if (block_get(scr, y, x) & z & 0x10) block_down(scr, x, y-1, z & 0xD0);
+ if (block_get(scr, y, x) & z & 0x20) block_down(scr, x, y+1, z & 0xE0);
+ if (block_get(scr, y, x) & z & 0x40) block_down(scr, x+1, y, z & 0x70);
+ if (block_get(scr, y, x) & z & 0x80) block_down(scr, x-1, y, z & 0xB0);
+ block_set(scr, y-1, x, block_get(scr, y, x));
+ block_set(scr, y, x, BT_none);