Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/E1 BGOFF

991 bytes added, 02:37, 12 September 2006
no edit summary
* Opcode: '''0xE1'''
* Short name: '''BGOFF'''
* Long name: Background Off

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xE1
! width="50" | ''B1 / B2''
! width="40" | ''A''
! width="40" | ''L''
|}

==== Arguments ====

* '''const Bit[4]''' ''B1'': Bank to retrieve ''L'', or zero if ''L'' is specified as a literal.
* '''const Bit[4]''' ''B2'': Bank to retrieve ''S'', or zero if ''S'' is specified as a literal.
* '''const UByte''' ''A'': The ID of the background area to manipulate, as specified in the background's sprite.
* '''const UByte''' ''L'': The ID of the layer of ''L'' to hide (turn off), as specified in the background's sprite.

==== Description ====

Similar to [[FF7/Field/Script/Opcodes/E0 BGON|BGON]], only this opcode turns ''off'' the portion of background whose [[FF7/Field/Sprite|background sprite]] specifies it as belonging to the scripted area and layer specified.

Navigation menu