Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Mother 3/PSI data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
Line 48: Line 48:


==Info chunk==
==Info chunk==
A group of bytes that's the same for [[MOTHER_3:PSI_data|PSI data]], [[MOTHER_3:Item_data|Item data]], [[MOTHER_3:Battle_skills_table|Battle skills table]] and [[MOTHER_3:Battle_actions_table|Battle actions table]].<br>
[[MOTHER_3:PSI_data|PSI data]], [[MOTHER_3:Item_data|Item data]], [[MOTHER_3:Battle_skills_table|Battle skills table]] and [[MOTHER_3:Battle_actions_table|Battle actions table]] all share this group of 0x28 (40) bytes.<br><br>
Let's just call it [[MOTHER_3:Battle_tables_info_chunk|Battle Info chunk]].
It is called [[MOTHER_3:Battle_tables_info_chunk|Battle Info chunk]].<br><br>


[[Category:MOTHER 3|PSI data]]
[[Category:MOTHER 3|PSI data]]

Revision as of 15:46, 17 October 2016

This is a sub-page of Mother 3.

PSI data table
Game MOTHER 3
Start Address 0xE1908
End Address 0xE5107
# of Entries 256 (0x100), only 100 used
Entry Length 56 bytes (0x38)
Total Length 36864 bytes (0x3800)
Back to the ROM map

Overview

The PSI data table contains parameters for each PSI move in the game. The ordering is consistent with the game's internal PSI names listing.
PSI are programmed not to have smashes.

Format

Each entry in the table uses 56 bytes.

Field listing

  • 00-00 (01) = [ A ] PSI number
  • 01-03 (03) = Unclassified data
  • 04-07 (04) = [ B ] Type
  • 08-0B (04) = Unclassified data
  • 0C-0D (02) = [ C ] PP cost
  • 0E-0F (02) = Unclassified data
  • 10-37 (28) = [ D ] PSI/Item/Actions Info Chunk

Table view

       00   01   02   03   04   05   06   07   08   09   0A   0B   0C   0D   0E   0F
    +--------------------------------------------------------------------------------
00  | [ A] [      ?     ] [        B        ] [        ?        ] [   C   ] [   ?   ]
10  | [                                      D                                     ->
20  | <-                                     D                                     ->
30  | <-                D                   ]

Type

The type value determines in which category it is placed:

00: Offense
01: Recover
02: Assist

Info chunk

PSI data, Item data, Battle skills table and Battle actions table all share this group of 0x28 (40) bytes.

It is called Battle Info chunk.