Chrono Cross Fieldscript Research

From Chrono Compendium
Revision as of 01:49, 23 December 2008 by Vehek (Talk | contribs)

Jump to: navigation, search

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


5A - Mapjump

Memory Layout:

0x5AMP

Arguments:
const/var M - 16-bit
const/var P - 16-bit
Mapjump to map M using map parameter P.

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)