WaitForInstruction(xIN,x00)

Waits for the given instruction type to complete before proceding past this point in the event.

IN = Instruction Type
0x01: ShowDialog
0x04: Camera
0x06: {1A}
0x07: {1B}
0x08: {2A}/{2B} block
0x0B: UnitSprAnim / UnitAnim
0x0C: {3E}
0x34: {58}
0x36: DarkScreen / RemoveDarkScreen
0x38: DisplayConditions
0x3D: ShowChapter
0x41: Wait
0x43: Stop