is_laststock

Returns true if all active players have 1 stock remaining during a stock match.

Example, called from a stage’s update.gml:

// if everyone has 1 stock remaining, crossfade into laststock music:
if (is_laststock()) {
music_crossfade();
}