Difference between revisions of "FF7/Field/Script/Opcodes/6F SCRLP"

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:
 
* '''const UShort''' ''S'': Speed of the scroll, in frames, or the address to find the speed if ''B'' is non-zero.
 
* '''const UShort''' ''S'': Speed of the scroll, in frames, or the address to find the speed if ''B'' is non-zero.
 
* '''const UByte''' ''P'': Party ID to scroll to, between 0 and 2.
 
* '''const UByte''' ''P'': Party ID to scroll to, between 0 and 2.
* '''const UByte''' ''T'': Type of scroll.
+
* '''const UByte''' ''T'': [[FF7/Field/Script/Opcodes/63 SCRLA|Type]] of scroll.
  
 
==== Description ====
 
==== Description ====
  
Similar to [[http://wiki.qhimm.com/FF7/Field/Script/Opcodes/63 SCRLA|SCRLA]], except the scroll moves towards the given party member, rather than a particular entity. The types of scroll are also identical to SCRLA and can be found on the page for the opcode.
+
Similar to [[FF7/Field/Script/Opcodes/63 SCRLA|SCRLA]], except the scroll moves towards the given party member, rather than a particular entity.

Latest revision as of 05:17, 23 May 2019

  • Opcode: 0x6F
  • Short name: SCRLP
  • Long name: Scroll To Party Member

Memory layout

0x63 B S P T

Arguments

  • const UByte B: Bank for the scroll speed, or zero if it is specified as a literal value.
  • const UShort S: Speed of the scroll, in frames, or the address to find the speed if B is non-zero.
  • const UByte P: Party ID to scroll to, between 0 and 2.
  • const UByte T: Type of scroll.

Description

Similar to SCRLA, except the scroll moves towards the given party member, rather than a particular entity.