![]() |
Routines |
| Prev: 72A3 | Up: Map | Next: 730D |
|
Used by the routine at HandleCustard.
Part of HandleCustard, used while the custard is still entering from the right of the screen. Gives the actor a random vertical speed (02 or FE), and then only moves it horizontally.
|
||||||||
| SetCustardVerticalSpeed | 7302 | LD A,R | Fetch a random number. | |||||
| 7304 | AND %00000100 | Keep only bit 2. | ||||||
| 7306 | SUB $02 | Subtract 02 so that the speed is FE or 02. | ||||||
| 7308 | LD (IX+$05),A | Update the vertical speed. | ||||||
| 730B | JR MoveBouncingActor_Horizontal | Jump to MoveBouncingActor_Horizontal. | ||||||
| Prev: 72A3 | Up: Map | Next: 730D |