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
m (Xkeeper moved page MOTHER 3:PSI data to MOTHER 3/PSI data: normalize subpages and titles)
(10 intermediate revisions by one other user not shown)
Line 16: Line 16:


==Format==
==Format==
Each entry in the table uses 56 bytes.<br>
Each entry in the table uses 56 bytes.
Even though the game considers only the first two bytes of PP cost, the developers left two more bytes.<br>
This was probably done so the table has the same structure as the [[MOTHER_3:Level-up_stats_table|Level-up stats table]].


===Field listing===
===Field listing===
* <tt>00-03 (04)</tt> = <tt>{{color2|#000000|#87CEEB|[ A ]}}</tt> PSI number
* <tt>00-03 (04)</tt> = <tt>{{color2|#000000|#87CEEB|[ A ]}}</tt> PSI number
* <tt>04-07 (04)</tt> = <tt>{{color2|#000000|#90EE90|[ B ]}}</tt> [[#Type|Type]]
* <tt>04-07 (04)</tt> = <tt>{{color2|#000000|#90EE90|[ B ]}}</tt> [[#Type|Type]]
* <tt>08-0B (04)</tt> = <tt>{{color2|#FFFFFF|#5466BF|[ C ]}}</tt> [[#Unused effect|Unused effect value]]               
* <tt>08-0B (04)</tt> = <tt>{{color2|#FFFFFF|#5466BF|[ C ]}}</tt> [[#Overworld usable|Usable in overworld]]               
* <tt>0C-0F (04)</tt> = <tt>{{color2|#000000|#FFB6C1|[ D ]}}</tt> PP cost
* <tt>0C-0F (04)</tt> = <tt>{{color2|#000000|#FFB6C1|[ D ]}}</tt> PP cost
* <tt>10-37 (28)</tt> = <tt>{{color2|#FFFFFF|#053656|[ E ]}}</tt> [[#Info chunk|PSI/Item/Actions Info Chunk]]
* <tt>10-37 (28)</tt> = <tt>{{color2|#FFFFFF|#053656|[ E ]}}</tt> [[#Info chunk|PSI/Item/Actions Info Chunk]]
Line 34: Line 32:
  20  | {{color2|#FFFFFF|#053656|<-                                    E                                    ->}}
  20  | {{color2|#FFFFFF|#053656|<-                                    E                                    ->}}
  30  | {{color2|#FFFFFF|#053656|<-                E                  ]}}
  30  | {{color2|#FFFFFF|#053656|<-                E                  ]}}
===About PP cost===
Even though the game considers only the first two bytes of PP cost, the developers left two more bytes.<br>
This was probably done so the table has the same structure as the [[MOTHER_3:Level-up_stats_table|Level-up stats table]].


==Type==
==Type==
Line 47: Line 48:
|}
|}


==Unused effect==
==Overworld usable==
These bytes are now unused.<br>They have the same value as the [[MOTHER_3:Battle_tables_info_chunk#Effect|Effect bytes of the Info Chunk]].<br>
If these bytes have a total value different from 03, the PSI won't be usable in the overworld.
In the beginning the developers probably thought about creating a different chunk of bytes for PSI.


==Info chunk==
==Info chunk==

Revision as of 02:42, 24 January 2024

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

Table view

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

About PP cost

Even though the game considers only the first two bytes of PP cost, the developers left two more bytes.
This was probably done so the table has the same structure as the Level-up stats table.

Type

The type value determines in which category it is placed:

00: Offense
01: Recover
02: Assist

Overworld usable

If these bytes have a total value different from 03, the PSI won't be usable in the overworld.

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.