undernightinbirth alpha documentation
Collects info about the current battle.
Returns the current BGM number. -2 is Off / MUTE.
Whether the current playing BGM was player-chosen.
0 or 1.
Sets the BGM.
number (int) – BGM ID
Returns the facing direction of the object as either -1 or 1 (facing left and right respectively).
Returns the round status.
Gets the current round number.
Round number beginning from 0 as Round 1.
Returns if the current round is the final round in the form of a bool.
Returns the status data of the current object’s movetable.
Returns the Frame ID of the current object.
Returns a bool for the isLanding state.
Returns the current value of Param0.
Returns the current value of Param1.
Returns the current value of Param2.
Returns the current value of Param3.
Returns the character ID number.
Returns which side the character is in, ie port number, as chosen before Character Selection.
0 for Player 1, 1 for Player 2.
Returns the ID of the character’s chosen Color number.
direction (int) – _Direction_Left
, _Direction_Right
, _Direction_Auto
, _Direction_Reverse
Sets the facing direction of the object.
Immediately sets the object’s current pattern.
pattern (int) – ID of the pattern. Move Code as a string can be used instead.