List of Opcodes: Difference between revisions
Deltaflare (talk | contribs) |
Happylappy (talk | contribs) m Add Item Table Descriptions for item_SetTableData |
||
| Line 1,835: | Line 1,835: | ||
|2 | |2 | ||
|uint | |uint | ||
| | |table_ID | ||
|Some | |Some item tables related to Spinda's Cafe. | ||
|} | |} | ||
The table IDs themselves are as follows. Values above 15 are currently unknown and untested. | |||
{| class="wikitable" | |||
!# | |||
!Description | |||
!# | |||
!Description | |||
|- | |||
|0 | |||
|Sky Gift Item Pool | |||
|8 | |||
|Silver Ticket Win Pool | |||
|- | |||
|1 | |||
|Numel "Give" Item Pool | |||
|9 | |||
|Silver Ticket Big Win Pool | |||
|- | |||
|2 | |||
|Numel "Recieve" Item Pool | |||
|10 | |||
|Gold Ticket Loss Pool | |||
|- | |||
|3 | |||
|Happiny Lost Item Pool | |||
|11 | |||
|Gold Ticket Win Pool | |||
|- | |||
|4 | |||
|Prize Ticket Loss Pool | |||
|12 | |||
|Gold Ticket Big Win Pool | |||
|- | |||
|5 | |||
|Prize Ticket Win Pool | |||
|13 | |||
|Prism Ticket Loss Pool | |||
|- | |||
|6 | |||
|Prize Ticket Big Win Pool | |||
|14 | |||
|Prism Ticket Win Pool | |||
|- | |||
|7 | |||
|Silver Ticket Loss Pool | |||
|15 | |||
|Prism Ticket Big Win Pool | |||
|} | |||
=== 0x86 - item_SetVariable === | === 0x86 - item_SetVariable === | ||
Saves the value of a script variable to an item slot. Items in slot 0 may also be added to the player's bag and storage with hardcoded menus, such as <code>message_Menu(MENU_GIVE_ITEM);</code> and <code>message_Menu(MENU_GIVE_ITEM2);</code>, respectively. Additionally, the text tag <code>[s_item:X]</code> will display the item's name, where X is the item slot number. | Saves the value of a script variable to an item slot. Items in slot 0 may also be added to the player's bag and storage with hardcoded menus, such as <code>message_Menu(MENU_GIVE_ITEM);</code> and <code>message_Menu(MENU_GIVE_ITEM2);</code>, respectively. Additionally, the text tag <code>[s_item:X]</code> will display the item's name, where X is the item slot number. | ||