![]() |
Routines |
| Prev: 50346 | Up: Map | Next: 50371 |
|
Handles a chest, which falls when there is nothing below it. It plays the sound of a moving object, and is drawn again, only when it is moving.
|
||||||||
| HandleChest | 50358 | CALL SetPixelAdjustments_Block | Set the pixel adjustments of a block. | |||||
| 50361 | CALL ApplyGravityAndMove | Apply gravity to the chest and move it. | ||||||
| 50364 | CALL TestObjectMoving | Test whether the chest is moving. | ||||||
| 50367 | RET Z | Return if it is not. | ||||||
| 50368 | JP DrawMovingObject | Play the sound of a moving object and flag the chest to be drawn again. | ||||||
| Prev: 50346 | Up: Map | Next: 50371 |