Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/49 MENU

61 bytes added, 17:59, 24 March 2018
Created page with "* Opcode: '''0x49''' * Short name: '''MENU''' * Long name: Menu ==== Memory layout ==== {| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacin..."
* Long name: Menu
==== Memory layout ==== {| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x49
! width="40" | ''B''
|}
==== Arguments ==== * '''const UByte''' ''B''<nowiki>: Bank for parameter, or zero if </nowiki>''P'' is specified as a literal value.* '''const UByte''' ''T''<nowiki>: Type of menu, or special event.</nowiki>* '''const UByte''' ''P''<nowiki>: Parameter to the menu, or address of parameter value, if </nowiki>''B'' is non-zero.
==== Description ====
MENU has two uses. Its primary function is to display a menu or other special screen; these menus range from the character name entry screen, to a shop, and even the staff credit display. The type of display can be found in the first table below.
Some types of menu are erroneous or produce erratic behaviour, and were most likely used for testing. As such, they are not listed here.
==== Standard Menu Types ====
{| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width="40" | ID! style="background:rgb(204,204,204)" width="200" | Menu Type
|-
| align="center" | 5
| align="center" | E
| Save Screen
|-
|}
==== Special Event Types ====
{| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width="40" | ID! style="background:rgb(204,204,204)" width="350" | Event Type
|-
| align="center" | F
| align="center" | 13
| Restore Cloud's Materia
|-
|}
==== Parameters ====
* Character Name Entry: Parameter indicates the name of the character to edit, and follows the standard Character IDs, as well as 0x64 to indicate the Chocobo naming screen.
Anonymous user