Memory layout

| 0x2D | B1 / B2 | L | X | Y | |——|———–|—–|—–|—–|

Arguments

Description

Scrolls the background layer specified by L. This opcode will only scroll those extra layers above the standard background and foreground layers (0/1, respectively), and so should be an argument of 2 or greater. The X and Y speeds are signed; positive values scroll from right-to-left and bottom-to-top, whilst negative values scroll from left-to-right and top-to-bottom.