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.

EarthBound/NPC Battle AI Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Formatting)
m (Infobox table change.)
Line 1: Line 1:
{{Infobox table|name=NPC Battle AI Table
{{Infobox table|name=NPC Battle AI Table
|game=[[EarthBound]]
|game=EarthBound
|loc=ROM
|start=0x15912D
|start=0x15912D
|end=0x159147
|end=0x159147

Revision as of 12:09, 3 January 2006

NPC Battle AI Table
Game EarthBound
Start Address 0x15912D
End Address 0x159147
# of Entries 13 (0xD)
Entry Length 2
Total Length 26 bytes (0x1A)
Back to the ROM map

The NPC Battle AI Table controls how Non-Player Characters behave in battle. It designates Enemy Configuration AI entries to each NPC and controls how they are targeted by enemy attacks.

Format

[AA BB]

Targetability

Targetability of the AI entry. There are three known values.

  • 0x01 - Untargetable. Enemies will not be able to attack this NPC.
  • 0x06 - Forced targeting. All attacks from enemies will be directed at this NPC.
  • 0x07 - Variable targeting. Attacks from enemies will be directed at this NPC randomly, as with Player Characters.

Enemy Number

Enemy Configuration entry to be used for this AI. The NPC acts like it is the referenced enemy, except on the player's side.

See Also