Difference between revisions of "Chrono Cross Fieldscript Research"

From Chrono Compendium
Jump to: navigation, search
Line 16: Line 16:
  
 
===BB - Item give/take===
 
===BB - Item give/take===
*BB xx yy zz - Item related
+
Memory layout:
*(In-progress)
+
<table border = 1>
 +
<td>0xBB</td><td>A</td><td>N</td>
 +
</table>
 +
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)

Revision as of 01:42, 23 December 2008

Currently identified commands :

00 - Return/Halt

Self explantory

01 GoTo

Memory layout:

0x01N

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:

0xBBAN

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)