![]() |
Routines |
| Prev: 54952 | Up: Map | Next: 55058 |
|
|
||||
| 55039 | LD A,2 | Load A with a random number of either 0 or 1. | ||
| 55041 | CALL 38234 | |||
| 55044 | OR A | If this number is zero (50/ 50 chance) then skip ahead to 55052. | ||
| 55045 | JR Z,55052 | |||
| 55047 | LD HL,54850 | Else, point HL at script data for moving entity and any pushed entity right by a hop of size four, and execute it. | ||
| 55050 | JR 55055 | |||
| 55052 | LD HL,54872 | Point HL at script data for moving entity and any pushed entity right by a hop of size three, and execute it. | ||
| 55055 | JP ScriptInstruction | |||
| Prev: 54952 | Up: Map | Next: 55058 |