benilla-re systems structs docs

s_text1f

global · ui

Address
0x84f398 · 5 bytes, up to 0x84f39c
Type
char[5]
Meaning
Holds the string "%.1f"
Confidence
verified, proof one
Finding
ui/spelltokens#tokens-that-read-a-record-field

Finding: Tokens that read a record field in ui: Spell description tokens

Each letter reads one field of the record and prints it; both cases are the same arm except f and F. The effect digit adds four bytes per effect to the offset.

tokenfieldprinted
$aradius index at +0x160 into the radius table, its +4 float, modified (op 6)integer
$bfloat at +0x1c0truncated integer
$efloat at +0x184, modified (op 27)one decimal
$ffloat at +0x29c times the scaleone decimal
$Fthe same productnearest integer, halves away from zero
$hinteger at +0x64, modified (op 18)integer
$iinteger at +0x28cinteger
$ninteger at +0x68, modified (op 4)integer
$qinteger at +0x1a8integer
$uinteger at +0x9cinteger
$vinteger at +0x27cinteger
$xinteger at +0x190, modified (op 17)integer

The derivation is in the doc.