#include <nitro/snd.h>
s16 SND_GetPlayerLocalVariable( int playerNo, int varNo );
playerNo | The player number. Takes values in the range of 0 to 15. |
varNo | The variable number. Takes values in the range of 0 to 15. |
This function gets the value of the sequence local variable.
The sequence local variable's initial value is -1. The variable is initialized when the system is initialized and also when the Player starts.
This function is carried out asynchronously with respect to ARM7 command functions. To achieve synchronization, you must use a function such as SND_IsFinishedCommandTag to confirm that ARM7 commands have finished processing.
2004/07/20 Initial version.
CONFIDENTIAL