benilla-re systems structs docs

ValidateCharacterNameTwoCaps

function · unassigned · unreached

Address
0x6c9b30 · 63 bytes, up to 0x6c9b6e
Meaning
Validates a character name with no extra characters and all word lists on; code 2 when over 12 or 8 units
Confidence
verified, proof one
Finding
glue/enterworld#character-name-check

Finding: Character name check in glue: entering and leaving the world

The name check 0x5abd50 returns the validator's code plus 0x45, an index in the status table: 0x6c9ae0 runs 0x6c96c0 with an empty extra-character list and all three word lists on, then rejects a name longer than 12 units (charset 1), 6 (charset 3) or 8 (other charsets) with code 2. The validator returns 0 (no name), 1 (one unit), 3 (a unit outside the charset, space and apostrophe included), 6 (a hit in any of three word lists), 9 (three equal units in a row), 0xc (a conversion overflow or a charset index outside 0 to 7) or 0xd (accepted). It never returns 4 (mixed languages) or 5 (profane); a profane hit reports reserved.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.