Events (Melee)

From OpenSA: Smash Engine Documentation Wiki
Jump to: navigation, search

Flow of Execution

Command ID Length Event Description
04 0x4 Synchronous Timer Pause the current flow of events until the set time is reached. Synchronous timers count down when they are reached in the code.
08 0x4 Asynchronous Timer Pause the current flow of events until the set time is reached. Asynchronous Timers start counting from the beginning of the animation.
0C 0x4 Set Loop Set loop for X iterations.
10 0x4 Execute Loop Executes the previously set loop.
14 0x8 GoTo Goto the event location specified and execute.
18 0x4 Return Returns from previous goto.
1C 0x8 Subroutine Enter the event routine specified and return after ending.
4C 0x4 Autocancel 0 = on, 1 = off
5C 0x4 Allow Interrupt Allow the current action to be interrupted by another action.
D0 0x4 Continuation control? 0 = earliest next, 1 = ?, 3 = open continuation window?
E0 0x8 Start Smash Charge Starts a smash charge if you are holding Attack. (Can also change color charging is http://www.smashboards.com/showthread.php?p=13616960#post13616960)

Collisions

Command ID Length Event Description
2C 0x14 Hitbox It's a hitbox. If effect 8 is applied, becomes a grab.
40 0x4 Terminate Collisions Terminates all collisions that are currently out in a move
68 0x4 Body State 0 = normal, 1 = Invulnerable, 2 = Intangible
88 0x10 Throw Can either be a throw or grab release

Articles

Command ID Length Event Description
AC 0x4 Generate article? Generates the designated article?

Damage

Command ID Length Event Description
CC 0x4 Self-Damage Inflicts damage to yourself, like Pichu.

Posture

Command ID Length Event Description
50 0x4 Reverse Direction Reverse the direction the character is facing. Also seems to have something to do with throws/item tosses, as well as noting breakpoints for rapid jabs.

Graphics

Command ID Length Event Description
28 0x14 Graphic Effect Generate a generic graphical effect.

Sound Effects

Sound Effects
Command ID Length Event Description
44 0xC Sound Effect Generate a sound effect.
48 0x4 Random Smash SFX Generates a random smash sound effect.