Difference between revisions of "FF7/Field/Script/Opcodes/08 JOIN"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>BukTop
m (3 revisions imported)
m (4 revisions imported)
(No difference)

Revision as of 05:14, 23 May 2019

  • Opcode: 0x08
  • Short name: JOIN
  • Long name: Party Field Join

Memory layout

0x08 S

Arguments

  • const UByte S: Speed that the characters join back together.

Description

Causes seperated party characters that have previously been SPLIT onto the field, to be joined back together again; that is, only the party leader becomes visible on the field. This should be called if a previous SPLIT has completed (the party members have finished speaking, or performing their actions, for example). As with SPLIT, the speed of the join is specified, from a scale of 1 (almost instant) to FF (very slow walk), and must be non-zero.

Calling JOIN without having previously SPLIT the characters will cause the party members to appear at the walkmesh origin and attempt to JOIN from there. This is not normally the required behaviour and should be avoided.