FF7/Field/Script/Opcodes/E2 BGROL

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 01:57, 15 September 2006 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Opcode: 0xE2
  • Short name: BGROL
  • Long name: Background Roll

Memory layout

0xE2 B A

Arguments

  • const UByte B: Bank to retrieve A, or zero if A is specified as a literal.
  • const UByte A: The ID of the background area to roll, as specified in the background's sprite.

Description

Turns on the next numerical layer in the background area specified by A. For example, if background area 3 is currently set to display layer 1 for that particular area, a call to BGROL(0,3) will display layer 2 for that area.