Difference between revisions of "FF7/Field/Script/Opcodes/E4 BGCLR"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
m (3 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
  
 
* '''const UByte''' ''B'': Bank to retrieve ''A'', or zero if ''A'' is specified as a literal.
 
* '''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 clear, as specified in the background's sprite.
+
* '''const UByte''' ''A'': The ID of the background area to clear, as specified in the background's sprite, or the address to retrieve the value if ''B'' is non-zero.
  
 
==== Description ====
 
==== Description ====
  
 
Hides all portions of background whose sprite specifies that it belongs to the background area given by ''A''.
 
Hides all portions of background whose sprite specifies that it belongs to the background area given by ''A''.

Latest revision as of 05:19, 23 May 2019

  • Opcode: 0xE4
  • Short name: BGCLR
  • Long name: Background Clear

Memory layout

0xE4 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 clear, as specified in the background's sprite, or the address to retrieve the value if B is non-zero.

Description

Hides all portions of background whose sprite specifies that it belongs to the background area given by A.