benilla-re systems structs docs

s_petNoPowerMessageIds

global · spell

Address
0x8118f0 · 20 bytes, up to 0x811903
Type
uint32_t[5]
Meaning
Holds the pet's NO_POWER message ids of power types 0 to 4, equal to the player's
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.