Prev: 50302 Up: Map Next: 50358
50346: Handle Block
Handles the graphic number 62, which is a block that can fall. Its speeds in X and Y are cleared, so that it only falls, and the sound of a block is played.
Input
IX Address of the block object
HandleBlock 50346 CALL SetPixelAdjustments_Block Set the pixel adjustments of a block.
50349 CALL MovePlayer_Stop Clear the speeds in X and Y.
50352 CALL PlayPitchFromTable Play the sound of a block.
50355 JP MoveAndDrawObject Move the block and flag it to be drawn again.
Prev: 50302 Up: Map Next: 50358