benilla-re systems structs docs

s_petTameFailureJumpTable

global · spell

Address
0x6e6ac0 · 44 bytes, up to 0x6e6aeb
Type
void *[11]
Meaning
Holds the PETTAME_ key cases of tame failure reasons 1 to 11
Confidence
verified, proof one
Finding
spell/failures#pet-tame-failure

Finding: Pet tame failure in spell: failures

SMSG_PET_TAME_FAILURE (0x173) is one u8 reason. 0x6e97e0 reads it and calls 0x6e6a20, which shows ERR_TAME_FAILED (0xee) with the GlobalStrings text of a PETTAME_ key: 1 INVALIDCREATURE, 2 TOOMANY, 3 CREATUREALREADYOWNED, 4 NOTTAMEABLE, 5 ANOTHERSUMMONACTIVE, 6 UNITSCANTTAME, 7 NOPETAVAILABLE, 8 INTERNALERROR, 9 TOOHIGHLEVEL, 10 DEAD, 11 NOTDEAD, any other byte UNKNOWNERROR. The client's own check calls 0x6e6a20 with 2 and then reports reason 0x17 to 0x6e1a00.

The derivation is in the doc.