Difference between revisions of "FF8/Field/Script/Opcodes/048 MESSYNC"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
m (Stack)
m (4 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
* Opcode: '''0x048'''
 
* Opcode: '''0x048'''
 
* Short name: '''MESSYNC'''
 
* Short name: '''MESSYNC'''
 
* Long name: Message Window Sync
 
* Long name: Message Window Sync
  
==== Argument ====
+
==== Argument ====
 +
 
 
none
 
none
  
==== Stack ====
+
==== Stack ====
:''Message Channel''
+
 
:'''MESSYNC'''
+
: ''Message Channel''
 +
: '''MESSYNC'''
  
==== Description ====
+
==== Description ====
  
After [[FF8/Field/Script/Opcodes/065_AMES|AMES]] is called, the window it creates stays until either [[FF8/Field/Script/Opcodes/04C_WINCLOSE|WINCLOSE]] or [[FF8/Field/Script/Opcodes/048_MESSYNC|MESSYNC]] is called. WINCLOSE closes the window at that point in the script, while MESSYNC waits for the player to press the OK button. This allows the script to do other things while the window is open while preventing the player from dismissing the window too early (like play sounds or animations).
+
After [[FF8/Field/Script/Opcodes/065_AMES|AMES]] is called, the window it creates stays until either [[FF8/Field/Script/Opcodes/04C_WINCLOSE|WINCLOSE]] or '''MESSYNC''' is called. WINCLOSE closes the window at that point in the script, while MESSYNC waits for the player to press the OK button. This allows the script to do other things while the window is open while preventing the player from dismissing the window too early (like play sounds or animations).

Latest revision as of 05:24, 23 May 2019

  • Opcode: 0x048
  • Short name: MESSYNC
  • Long name: Message Window Sync

Argument

none

Stack

Message Channel
MESSYNC

Description

After AMES is called, the window it creates stays until either WINCLOSE or MESSYNC is called. WINCLOSE closes the window at that point in the script, while MESSYNC waits for the player to press the OK button. This allows the script to do other things while the window is open while preventing the player from dismissing the window too early (like play sounds or animations).