Last level
Jump to navigation
Jump to search
This userdef member holds the current level of the player through EVENT_ENTERLEVEL[verification needed] to EVENT_DISPLAYBONUSSCREEN. Unlike LEVEL, which changes to the next number during EVENT_DISPLAYBONUSSCREEN, this can be used as a reliable way of checking against the level number.
Last_level starts from 1, so to get a value comparable to LEVEL, please subtract one from it.