Skip to content

Itemname

Set a flagstring to an Item or Medal's name where the id is specified directly or contained in a flagvar.

Syntax

(1)

|itemname,item|

(2)

|itemname,item,flagstring|

(3)

|itemname,medal,flagstring,1|

Parameters

item: int | vint | varint

The Item id to get the name of. The int form must be a valid Item id or an exception will be thrown. The v/var prefix indicates that the int portion is a flagvar slot containing the id and it must be a valid one or an exception will be thrown.

flagstring: int

The flagstring slot to set to the item's name. This must be a valid flagstring slot or an exception will be thrown. The default value is 0.

medal: int | vint | varint

The Medal id to get the name of. The int form must be a valid Medal id or an exception will be thrown. The v/var prefix indicates that the int portion is a flagvar slot containing the id and it must be a valid one or an exception will be thrown.

1

Indicate to operate in syntax (3) which will set flagstring flagstring slot to a Medal's instead of an Item's name. This also honor MYSTERY? and will set the value to menu text 59 (?????) if flag 681 is true. Any other value is ignores and will cause the command to operate in syntax (2).