Difference between revisions of "ChangeDialog"
Jump to navigation
Jump to search
(Created page with "= {51} {{IE_51}} = Change the context of a dialog box or close it. See Also: {10} {{IE_10}} ― {50} {{IE_50}} ― Event_...") |
m (Xifanie moved page Event Instruction 51 to ChangeDialog) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= {51} {{IE_51}} = | = {51} {{IE_51}} = | ||
− | + | {{IE_51_ex}} | |
+ | {{IE_51_desc}} | ||
− | + | Only seems to work with Dialog Types x8X through xEX. | |
− | == Dialog Box | + | See Also: [[Event_Instruction_10|{10} {{IE_10}}]] ― [[Event_Instruction_50|{50} {{IE_50}}]] ― [[Event_Instruction_E5|{E5} {{IE_E5}}]](x01,x00) |
− | + | ||
+ | |||
+ | == Target Dialog Box : Byte (hex) == | ||
+ | For more information, see the Dialog Type section of [[Event_Instruction_10|{10} {{IE_10}}]]. | ||
+ | *x01 = Dialog box vertically aligned to the top of the screen | ||
+ | *x02 = Dialog box vertically aligned to the bottom of the screen | ||
+ | *x03 = Dialog box vertically aligned to the center of the screen | ||
Latest revision as of 15:25, 22 February 2021
Contents
{51} ChangeDialog
ChangeDialog(xDB,xMSG#,xPR,xPP)
Changes the content of a Dialog Box or closes it.
Only seems to work with Dialog Types x8X through xEX.
See Also: {10} DisplayMessage ― {50} PortraitCol ― {E5} WaitForInstruction(x01,x00)
Target Dialog Box : Byte (hex)
For more information, see the Dialog Type section of {10} DisplayMessage.
- x01 = Dialog box vertically aligned to the top of the screen
- x02 = Dialog box vertically aligned to the bottom of the screen
- x03 = Dialog box vertically aligned to the center of the screen
New Message ID : Half-Word (hex)
ID of the Message that will be displayed. Message x0001 is officially the first message. Use 0xFFFF to close the dialog box instead of changing it.
Portrait Row : Byte (hex)
For the list and more explanation read {50} PortraitCol.
Portrait Palette : Byte (hex)
The outcome seems to always be buggy or the same. Not recommended using; leave as 0x00.