This function will return true if your game is
currently in Trial Play, or false if it is not. You can
use this function to block features or limit game-play while your
game is on trial by the user.
global.Level_Max = 20;
global.Level_max = 100;
The above code will check the status of your game and if it is on trial Play it will set the global variable "level_Max" to 20, otherwise it will be set to 100.