![]() |
Routines |
| Prev: 9E4E | Up: Map | Next: 9E5C |
|
Used by the routine at ChooseFlameDirection.
Reads a velocity from the table at FlameVelocities.
|
||||||||||||
| FetchFlameVelocity | 9E53 | LD BC,$9E5C | Point BC at the table of flame velocities at FlameVelocities. | |||||||||
| 9E56 | LD L,A | Use the index as the offset into the table. | ||||||||||
| 9E57 | LD H,$00 | |||||||||||
| 9E59 | ADD HL,BC | Add the table address to get the address of the velocity. | ||||||||||
| 9E5A | LD A,(HL) | Fetch the velocity from the table. | ||||||||||
| 9E5B | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: 9E4E | Up: Map | Next: 9E5C |