Routines |
Prev: AA05 | Up: Map | Next: AA4B |
This moves the map up-right.
Used by the routine at move_map.
|
||||||||
shunt_map_up_right | AA26 | DEC L | Move the map position up (H) and to the right (L) | |||||
AA27 | INC H | |||||||
AA28 | LD ($81BB),HL | |||||||
AA2B | CALL get_supertiles | Update the supertiles in map_buf | ||||||
AA2E | LD HL,$F110 | Shunt the tile_buf up and to the right | ||||||
AA31 | LD DE,$F0F9 | |||||||
AA34 | LD BC,$0180 | |||||||
AA37 | LDIR | |||||||
AA39 | LD HL,$F350 | Shunt the window_buf up and to the right | ||||||
AA3C | LD DE,$F291 | |||||||
AA3F | LD BC,$0C00 | |||||||
AA42 | LDIR | |||||||
AA44 | CALL plot_bottommost_tiles | Plot the complete bottommost row of tiles | ||||||
AA47 | CALL plot_leftmost_tiles | Plot the complete leftmost column of tiles | ||||||
AA4A | RET | Return |
Prev: AA05 | Up: Map | Next: AA4B |