Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/5B SMTRA

40 bytes added, 05:17, 23 May 2019
m
6 revisions imported
! width="50" | ''B3 / B4''
! width="40" | ''T''
! width="40120" | ''AP''
|}
==== Description ====
Adds a new piece of materia to the materia inventory. This is either done by explicitly providing the materia type and AP value, in which case the first two bytes are zero, or by retrieving these values from memory. Both setting the values explicitly and retrieving from memory can be used together in one call by setting the correct bytes to zero; to see an example, please check below.
If ''B1'' is non-zero, then ''T'' specifies the address to be used with ''B1'' to find the value for materia type.