Difference between revisions of "MOTHER 3:Known script sequences"

From Data Crystal
Jump to navigation Jump to search
(Created page with "==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: * <tt>XXXXXX</tt...")
 
m (added subpage)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{subpage|game=MOTHER 3:Game logic}}
 
==Visual==
 
==Visual==
  
 
===Camera===
 
===Camera===
  
====Panning====
+
====Pan to absolute coordinates====
 
  [01 XXXXXX] [01 YYYYYY] [01 TTTTTT] [04 00 40 00] [00 00 AAAA] [05 00 D6 16] ([01 DDDDDD] [04 00 00 00])
 
  [01 XXXXXX] [01 YYYYYY] [01 TTTTTT] [04 00 40 00] [00 00 AAAA] [05 00 D6 16] ([01 DDDDDD] [04 00 00 00])
  
Line 14: Line 15:
 
Optional:
 
Optional:
 
* <tt>DDDDDD</tt> = Delay until continuing with parsing. This is typically included so that text doesn't begin showing up while the camera is still panning.
 
* <tt>DDDDDD</tt> = 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:
 +
* <tt>XXXXXX</tt> = Fade parameter (usually 0)
 +
* <tt>YYYYYY</tt> = Fade number
 +
** <tt>00</tt> = Fade to black
 +
** <tt>01</tt> = Fade from black
 +
** <tt>02</tt> = Fade to white
 +
** <tt>03</tt> = Iris
 +
** <tt>04</tt> = Wavy
 +
** <tt>05</tt> = Weird
 +
** <tt>06</tt> = Regular battle swirl
 +
** <tt>07</tt> = Thin horizontal black lines from left and right (rectangle)
 +
** <tt>08</tt> = Large black box from left
 +
** <tt>09</tt> = Large black box from right
 +
** <tt>0A</tt> = Elliptical iris
 +
** <tt>0B</tt> = Thin horizontal black lines from left and right (arrow)
 +
** <tt>0C</tt> = Thin horizontal black lines from bottom to top
 +
** <tt>0D</tt> = Four large black boxes from top to bottom
 +
** <tt>0E</tt> = Snaking black box
 +
** <tt>0F</tt> = Two snaking black boxes
 +
** <tt>10</tt> = Rotating triangle
 +
** <tt>11</tt> = "The Backgammon"
 +
** <tt>12</tt> = "The C-Grade Science Video Cut"
 +
** <tt>13</tt> = Small random black boxes
 +
** <tt>14</tt> = Small black box gradient from top left
 +
** <tt>15</tt> = Shrinking rectangle
 +
** <tt>16</tt> = Window blinds
 +
* <tt>AAAAAA</tt> = Time spent fading out
 +
* <tt>BBBBBB</tt> = Time spent at black screen
 +
* <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]

Latest revision as of 03:47, 19 October 2018

Visual

Camera

Pan to absolute coordinates

[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]