Changes
From Final Fantasy Inside
no edit summary
* Opcode: '''0xB9'''
* Short name: '''GETAI'''
* Long name: Get Entity Triangle ID
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xB9
! width="40" | ''B''
! width="40" | ''E''
! width="40" | ''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.
* Short name: '''GETAI'''
* Long name: Get Entity Triangle ID
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xB9
! width="40" | ''B''
! width="40" | ''E''
! width="40" | ''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.