Difference between revisions of "FF7/Field/Script/Opcodes/B9 GETAI"
From Final Fantasy Inside
my_wiki>Synergy Blades |
m (2 revisions imported) |
| (One intermediate revision by one other user not shown) | |
(No difference)
| |
Latest revision as of 05:18, 23 May 2019
- Opcode: 0xB9
- Short name: GETAI
- Long name: Get Entity Triangle ID
Memory layout
| 0xB9 | B | E | A |
|---|
Arguments
- const UByte B: Bank to store ID.
- const UByte E: Entity ID.
- const UByte A: Address to store triangle ID.
Description
Fetches the triangle ID on which the object of entity E is currently standing on, into bank B, address A. E is an offset into the entity list, not a visible object ID, and therefore includes non-visible entities; retrieving the triangle ID of a non-visible entity results in unusual values being retrieved.