Difference between revisions of "FF7/Field/Script/Opcodes/E3 BGROL2"

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 17: Line 17:
 
==== Description ====
 
==== Description ====
  
Similar to [[FF7/Field/Script/Opcodes/E2 BGROL|BGROL]], except the roll runs backwards through layers, rather than forwards.
+
Similar to [[FF7/Field/Script/Opcodes/E2 BGROL|BGROL]], except the roll runs backwards through layers, rather than forwards. Rolling backwards past layer 0 for the area specified results in no background being shown.

Latest revision as of 05:19, 23 May 2019

  • Opcode: 0xE3
  • Short name: BGROL2
  • Long name: Background Roll (Reverse)

Memory layout

0xE3 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

Similar to BGROL, except the roll runs backwards through layers, rather than forwards. Rolling backwards past layer 0 for the area specified results in no background being shown.