If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Final Fantasy Tactics Advance/Scripting: Difference between revisions
Jump to navigation
Jump to search
Darthatron (talk | contribs) |
m (Xkeeper moved page Final Fantasy Tactics Advance:Scripting to Final Fantasy Tactics Advance/Scripting: normalize subpages and titles) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{subpage|game=Final Fantasy Tactics Advance}} | |||
=Script format= | =Script format= | ||
{|+ | {|+ | ||
Line 587: | Line 588: | ||
:*0x0A: ''Observed'' | :*0x0A: ''Observed'' | ||
|} | |} | ||
Latest revision as of 02:41, 24 January 2024
This is a sub-page of Final Fantasy Tactics Advance.
Script format
Opcode list
All values are little-endian, unless otherwise stated
Opcode | Instruction length | Description | Operands |
---|---|---|---|
0x01 | 3 | Execute callback[need verification] |
|
0x02 | 1 | Delimiter[need verification] | None |
0x03 | 2 | Observed |
|
0x04 | 1 | Observed | None |
0x05 | 1 | Not observed | None |
0x06 | 4 | Fade scene |
|
0x07 | 1 | Not observed | None |
0x08 | 1 | Not observed | None |
0x09 | 1 | Not observed | None |
0x0A | 3 | Not observed | Unknown |
0x0B | 4 | Not observed | Unknown |
0x0C | 2 | Set map
Note: This opcode will cause the background to glitch for a second |
0xXX: Which map to use |
0x0D | 1 | Observed | None |
0x0E | 2 | Observed
|
|
0x0F | 4 | Show message box |
|
0x10 | 3 | Not observed | Unknown |
0x11 | 2 | Display centered, transparent message |
|
0x12 | 2 | Display notice |
|
0x13 | ? | Unknown, can trigger failsafe | Unknown |
0x15 | 2 | Scripted delay |
|
0x16 | 1 | Unknown | None |
0x17 | 2 | Observed |
|
0x18 | 2 | Predefined event |
|
0x19 | 3 | Observed |
|
0x1A | 4 | Observed |
|
0x1B | 4 | Not observed | Unknown |
0x1C | 3 | Observed, 0x089A6FFF |
|
0x1D | 2 | Not observed | Unknown |
0x1E | 2 | Not observed | Unknown |
0x1F | 6 | Place character |
|
0x20 | 5 | Place character |
|
0x21 | 3 | Not observed | Unknown |
0x22 | 2 | Observed |
|
0x23 | 2 | Enable character[need verification] |
|
0x24 | 2[need verification] | Observed |
|
0x25 | 4 | Change facing direction |
|
0x26 | 3 | Look at character |
|
0x27 | 5 | Set character's sprite |
|
0x28 | 2 | Reset animation |
|
0x29 | 3 | Observed |
|
0x2B | 9 | Observed | Parameters unknown |
0x2C | 4 | Not observed | Unknown |
0x2D | 4 | Not observed | Unknown |
0x2E | 7 | Observed |
|
0x2F | 4 | Teleport character (absolute) |
|
0x30 | 4 | Observed |
|
0x31 | 5 | Set character's sprite |
|
0x36 | ? | Character join request | [Parameters unknown] |
0x38 | 7 | Affect sprite positioning |
|
0x39 | 9 | Move character (relative, subunits) |
|
0x3A | 7 | Move character (absolute, tile units) |
|
0x3C | 2 | Observed |
|
0x3D | 10[need verification] | Move character (relative, subunits) |
|
0x3E | 8 | Move character (absolute, units) |
|
0x3F | 4 | Observed
|
|
0x41 | 4 | Run character script[need verification] |
|
0x42 | 4[need verification] | Observed, 0x089A7398 | Parameters unknown |
0x44 | 5 | Move character in direction |
|
0x46 | 4 | Center camera on character[need verification] |
|
0x47 | 7 | Center camera |
|
0x48 | 2 | Set map type |
|
0x49 | 2 | Observed |
|
0x4A | 1 | Show battle sprites[need verification] | None |
0x4B | 2 | Set background music |
|
0x4C | 4 | Play sound effect |
|
0x4D | 5 | Fade background music |
|
0x4E | 1 | Observed | None |
0x53 | 3 | Observed |
|
0x54 | 2 | Set weather effect |
|
0x57 | 1 | Unknown | None |
0x58 | 1 | Unknown | None |
0x5A | 2 | Show clip
|
|
0x5B | 1 | End clip[need verification] | None |
0x65 | 2 | Observed |
|
0x8C | Observed |
|