| Prev: 62D7 | Up: Map | Next: 62E0 |
62DA: Increase vertical coordinate of the object by the value of state_speed.
|
Adds the current scroll delta to an object's Y coordinate. Used during refueling mode to compensate for screen scrolling when checking collisions.
|
||||||||||||
| advance_object | 62DA | LD A,($5F64) | Load scroll delta from state_speed and add to B. | |||||||||
| 62DD | ADD A,B | |||||||||||
| 62DE | LD B,A | |||||||||||
| 62DF | RET | |||||||||||
| Prev: 62D7 | Up: Map | Next: 62E0 |