benilla-re systems structs docs

s_petCastFailureJumpTable

global · spell

Address
0x6e9394 · 60 bytes, up to 0x6e93cf
Type
void *[15]
Meaning
Holds the pet failure handler's 15 cases; entry 14 is the default
Confidence
verified, proof one
Finding
spell/failures#pet-failure-messages

Finding: Pet failure messages in spell: failures

Reasons above 0x8d and those the table leaves show their key text under 0x2c. Fixed ids: 0x00 → 0x14c, 0x13 → 0x150, 0x32 → 0x151, 0x33 → 0x14e, 0x59 → 0x14d, 0x5f → 0x14b, 0x65 → 0x14f (the ERR_PET_SPELL_* rows 331 to 337). 0x3c: 0x31 or 0x30 by Attributes bit 4. 0x4d: 0x123 for power type −2, else 0x8118f0[type]. 0x56: the first non-empty form name under 0xd6. 0x19 to 0x1b, 0x5d, 0x5e, 0x8d: the name from the words, as the player's arms find it, under 0x2c. A missing row or name shows nothing.

The derivation is in the doc.