Mother 3/Known script sequences: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 51: Line 51:
* <tt>BBBBBB</tt> = Time spent at black screen
* <tt>BBBBBB</tt> = Time spent at black screen
* <tt>CCCCCC</tt> = Time spent fading in
* <tt>CCCCCC</tt> = Time spent fading in
===Sub-screen fade===
These fades are slightly different that those above; these only fade the area behind the text box.
Example; after you finish providing your player name in the sanctuary, the screen briefly fades to white using the following sequence:
$1240134: [01 18 00 00] [04 00 00 00]
          [01 18 00 00] [01 18 00 00] [01 18 00 00] [04 00 75 00]
          [01 00 00 00] [01 18 00 00] [01 00 00 00] [04 00 74 00]
          [01 56 02 00] [01 FF FF FF] [04 00 83 00]
          [01 18 00 00] [04 00 00 00]
          [01 01 00 00] [01 18 00 00] [01 00 00 00] [04 00 74 00]
          [01 3C 00 00] [04 00 00 00]

Revision as of 06:03, 6 August 2013

Visual

Camera

Panning

[01 XXXXXX] [01 YYYYYY] [01 TTTTTT] [04 00 40 00] [00 00 AAAA] [05 00 D6 16] ([01 DDDDDD] [04 00 00 00])

Required:

  • XXXXXX = X destination
  • YYYYYY = Y destination
  • TTTTTT = Transition period (proportional to 1/speed)
  • AAAA = Unknown; 0x000F has been observed

Optional:

  • DDDDDD = Delay until continuing with parsing. This is typically included so that text doesn't begin showing up while the camera is still panning.

Example: when talking to the Magypsies for the first time, this script occurs when panning the screen towards Mixolydia:

$1280E58: [01 D8 00 00] [01 C0 00 00] [01 40 00 00] [04 00 40 00] [00 00 0F 00] [05 00 D6 16] [01 40 00 00] [04 00 00 00]

Screen fade

[01 XXXXXX] [01 YYYYYY] [04 00 6E 00] [01 AAAAAA] [04 00 70 00] [01 BBBBBB] [04 00 00 00] [01 CCCCCC] [04 00 6F 00]

Required:

  • XXXXXX = Fade parameter (usually 0)
  • YYYYYY = Fade number
    • 00 = Fade to black
    • 01 = Fade from black
    • 02 = Fade to white
    • 03 = Iris
    • 04 = Wavy
    • 05 = Weird
    • 06 = Regular battle swirl
    • 07 = Thin horizontal black lines from left and right (rectangle)
    • 08 = Large black box from left
    • 09 = Large black box from right
    • 0A = Elliptical iris
    • 0B = Thin horizontal black lines from left and right (arrow)
    • 0C = Thin horizontal black lines from bottom to top
    • 0D = Four large black boxes from top to bottom
    • 0E = Snaking black box
    • 0F = Two snaking black boxes
    • 10 = Rotating triangle
    • 11 = "The Backgammon"
    • 12 = "The C-Grade Science Video Cut"
    • 13 = Small random black boxes
    • 14 = Small black box gradient from top left
    • 15 = Shrinking rectangle
    • 16 = Window blinds
  • AAAAAA = Time spent fading out
  • BBBBBB = Time spent at black screen
  • CCCCCC = Time spent fading in

Sub-screen fade

These fades are slightly different that those above; these only fade the area behind the text box.

Example; after you finish providing your player name in the sanctuary, the screen briefly fades to white using the following sequence:

$1240134: [01 18 00 00] [04 00 00 00]
          [01 18 00 00] [01 18 00 00] [01 18 00 00] [04 00 75 00]
          [01 00 00 00] [01 18 00 00] [01 00 00 00] [04 00 74 00]
          [01 56 02 00] [01 FF FF FF] [04 00 83 00]
          [01 18 00 00] [04 00 00 00]
          [01 01 00 00] [01 18 00 00] [01 00 00 00] [04 00 74 00]
          [01 3C 00 00] [04 00 00 00]