| Prev: 6B58 | Up: Map | Next: 6B63 |
6B5E: Calculate offset right edge (terrain extras mode 2)
|
For fixed-width river sections. Right edge = C + D where C is the river width and D is the left edge coordinate. This maintains constant river width regardless of left edge position.
|
||||||||||||||
| calc_terrain_right_offset | 6B5E | LD A,C | A = C + D (fixed width from left), jump to draw_terrain_right_edge. | |||||||||||
| 6B5F | ADD A,D | |||||||||||||
| 6B60 | JP draw_terrain_right_edge | |||||||||||||
| Prev: 6B58 | Up: Map | Next: 6B63 |