EarthBound/Battle Actions Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Infobox table change.)
(filled in unknown value)
Line 38: Line 38:
|}
|}


==Unknown==
==Action type==
{{table el|len=1 byte|loc=0x02|valrange=0-5 (0x00-0x05)?}}
{{table el|len=1 byte|loc=0x02|valrange=0-5 (0x00-0x05)}}
'''''Unknown'''''. Miss rate?
'''Type''' of action.
 
{| border="1" cellpadding="1"
!Value !! Action type
|-
|0 || nothing
|-
|1 || physical (damage halved by defending and shields)
|-
|2 || physical (damage unaffected by defending and shields)
|-
|3 || PSI
|-
|4 || item
|-
|5 || other
|}


==PP cost==
==PP cost==

Revision as of 22:54, 23 October 2007

Battle Actions Table
Game EarthBound
Start Address 0x157D68
End Address 0x158C4F
# of Entries 318 (?)
Entry Length 12 bytes (0x0C)
Total Length 3816 bytes (0xee8)
Back to the ROM map

The Battle Actions Table stores information about how to execute enemy and item actions.

Format

Direction

Direction of the attack.

Value Direction
0 party
1 enemy

Target

Target of the attack.

Value Target
0 none
1 one
2 random one
3 row
4 all

Action type

Type of action.

Value Action type
0 nothing
1 physical (damage halved by defending and shields)
2 physical (damage unaffected by defending and shields)
3 PSI
4 item
5 other

PP cost

_P_hysic _P_oints cost to use this action.

Text address

SNES address of the text displayed when this action is executed or 0x00000000 for no text displayed. Note that this text may include control codes which execute the action.

ASM address

SNES address of the machine code called to execute this action or 0x00000000 for no code called.

See Also

External Links