Difference between revisions of "Chrono Cross Fieldscript Research"
From Chrono Compendium
Line 16: | Line 16: | ||
===BB - Item give/take=== | ===BB - Item give/take=== | ||
− | + | Memory layout: | |
− | + | <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:
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)