Set player stocks

Sets the number of stocks for the specified player.

Syntax
set_player_stocks( player, value );

Returns
N/A

Examples
//attack_update.gml //gives your character another stock at the end of window 2: if (window == 2 && window_timer == 200) { set_player_stocks( player, get_player_stocks( player ) + 1 ); }