undernightinbirth alpha documentation

Contents:

This Page

BMvTbl

void CBtlInfo(void)

Collects info about the current battle.

int CBtlInfo.GetSelectBgm(void)

Returns the current BGM number. -2 is Off / MUTE.

bool CBtlInfo.IsSelectBgm(void)

Whether the current playing BGM was player-chosen.

Returns:

0 or 1.

void CBtlInfo.SetSelectBgm(int number)

Sets the BGM.

Parameters:

number (int) – BGM ID

int GetMuki(void)

Returns the facing direction of the object as either -1 or 1 (facing left and right respectively).

int GetMvRoundStatus(void)

Returns the round status.

void GetMvRoundStatus.CharaMoveMode(void)
int GetMvRoundStatus.Round(void)

Gets the current round number.

Returns:

Round number beginning from 0 as Round 1.

bool GetMvRoundStatus.isDown(void)
bool GetMvRoundStatus.isFinalRound(void)

Returns if the current round is the final round in the form of a bool.

bool GetMvRoundStatus.isKO(void)
bool GetMvRoundStatus.isLoseRound(void)
bool GetMvRoundStatus.isMyKO(void)
bool GetMvRoundStatus.isWinRound(void)
int GetMvStatus(void)

Returns the status data of the current object’s movetable.

void GetMvStatus.CallCount(void)
void GetMvStatus.DataPattern(void)
int GetMvStatus.FrameID(void)

Returns the Frame ID of the current object.

bool GetMvStatus.isLanding(void)

Returns a bool for the isLanding state.

void GetMvStatus.MvCount(void)
int GetMvStatus.Param0(void)

Returns the current value of Param0.

int GetMvStatus.Param1(void)

Returns the current value of Param1.

int GetMvStatus.Param2(void)

Returns the current value of Param2.

int GetMvStatus.Param3(void)

Returns the current value of Param3.

int GetMvStatus.CharaNo(void)

Returns the character ID number.

int GetPlayerSide(void)

Returns which side the character is in, ie port number, as chosen before Character Selection.

Returns:

0 for Player 1, 1 for Player 2.

int GetSelectColor(void)

Returns the ID of the character’s chosen Color number.

void SetMuki(int direction)
Parameters:

direction (int) – _Direction_Left, _Direction_Right, _Direction_Auto, _Direction_Reverse

Sets the facing direction of the object.

void SetPattern(int pattern)

Immediately sets the object’s current pattern.

Parameters:

pattern (int) – ID of the pattern. Move Code as a string can be used instead.