Pokémon Mystery Dungeon: Red Rescue Team/Scripting: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (→‎Commands: Made table collapsable)
Line 13: Line 13:
Y = Place to warp to
Y = Place to warp to
Places found:
Places found:
 
</pre>
<div class="toccolours mw-collapsible mw-collapsed" style="background:#F5FAFF">
List of locations available:
<div class="mw-collapsible-content">
<pre>
Y  Place
Y  Place
--  -----
--  -----
Line 90: Line 94:
E4 - Map of World
E4 - Map of World
</pre>
</pre>
</div>
</div>


==02==
==02==

Revision as of 23:19, 7 April 2016

Much of the game uses it's own specific scripts to move along the plot and have characters interact.

Scripts come in 16 byte (0x10) intervals. The first two bytes are the command, and the rest are the arguments. The last four bytes in a statement are usually reserved for a pointer if needed.

Commands

Note: All parameters for commands are in little endian format.

01

Hmmm...
To do:
{{{1}}}

The 01 Command fades out the current screen, and warps the player to a new location.

Format: 01 00 XX XX YY YY 00 00 00 00 00 00 00 00 00 00
X = Time to fade out
Y = Place to warp to
Places found:

List of locations available:

Y   Place
--  -----
00 - Debug Room
01 - Left Pokemon Square
02 - Whishcash pond entrance
03 - Whishcash pond entrance
04 - Pelliper Post Office Entrance
05 - Inside Pelliper Post Office
06 - Top of Pokemon Square
07 - Unused bedroom with noctowl and gulpin Japanese Text on bottom translates to provisonal map. Exit warps to Makuhita Dojo Entrance.
08 - Luminous Cave

Team Base
----------
09 - Team Base
0A - Team Base
0B - Team Base
0C - Inside Team Base
0D - Inside Team Base
0E - Inside Team Base
0F - Team Base
...
67 - Inside Team Base

Friend Areas
------------
68 - Northern Sea
...
A0 - Enclosed Island
A1 - Final Island
Other
------
A2 - Green Waves
A3 - Purple Waves
A4 - Forest
A5 - Lava Field
A6 - Ice Cave
A7 - Volcano
A8 - Snowy Forest
A9 - Snowy Forest 2
AA - Low Snowy Forest
AB - Night Sky with Horizon
AC - Sky Pillar
AD - Meteor
AE - Fog
AF - Sky with Meteor
B0 - Night Sky
B1 - END
B2 - Forest 2
B3 - Tiny woods last floor?
B4 - Cave Entrance
B5 - Thunderwave last floor?
B6 - Other cave Entrance
B7 - Rocks?
B8 - Forest Entrance
B9 - Trees
BA - Foggy Mountain Lookout
BB - Top of some place
BC - Dead Cave entrance
BD - Mt Thunder Middle
BE - Mt Thunder Top
BF -
...
D0 - Sky Tower Middle
D1 - Blue
D2 - Purplish Cave
...
D9 - Sunset over mountain
...
DF - Changing Colors (Game Intro Questions)
E0 - Title Screen
E1 - Title overview of world
E2 - The Pokemon Company
E3 - Health and Safety Warning
E4 - Map of World

02

The 02 command warps the player directly into a dungeon

Format: 02 00 XX XX YY YY 00 00 00 00 00 00 00 00 00 00
X = Time to fade out
Y = Dungeon ID

03

The 03 command warps the player directly to the friend area map

Format: 03 00 XX XX YY YY YY YY 00 00 00 00 00 00 00 00
X = Time to fade out
Y = Unknown; Command only works if set to zero or one.

04

The 04 command is similar to the 02 command. It warps the player into a dungeon, but plays a map walking animation first.

Format: 04 00 XX XX YY YY 00 00 00 00 00 00 00 00 00 00
X = Time to fade out
Y = Dungeon ID [00 - 2C]

05

Hmmm...
To do:
{{{1}}}

Displays dialogue that asks if it is OK to enter the dungeon with the following rules.

Format: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00