Difference between revisions of "Chrono Cross Fieldscript Research"
From Chrono Compendium
Line 21: | Line 21: | ||
</table> | </table> | ||
Arguments: | Arguments: | ||
− | const A - If set to 0x01, takes away an item. | + | const A - If set to 0x01, takes away an item.<br> |
const/var N - 16-bit, determines item involved. 0x200 means Element, 0x400 means Key Item, and by default is regular item. | const/var N - 16-bit, determines item involved. 0x200 means Element, 0x400 means Key Item, and by default is regular item. | ||
(In-progress) | (In-progress) |
Revision as of 01:43, 23 December 2008
Currently identified commands :
00 - Return/Halt
Self explantory
01 GoTo
Memory layout:
0x01 | N |
Arguments: N - 16 bit integer.
Goes to offset N in the fieldscript.
0F - Load NPC model
- 0F xx 80* - Load NPC model xx
BB - Item give/take
Memory layout:
0xBB | A | N |
Arguments:
const A - If set to 0x01, takes away an item.
const/var N - 16-bit, determines item involved. 0x200 means Element, 0x400 means Key Item, and by default is regular item.
(In-progress)