Skip to content

NOTIFY_CHARACTER_SELECT

Description

Opens Sonic Origins's character select menu, then sets callbackResult and continueFlag when the menu is closed.

Parameters

  • skipMenu If true, skips the character select and automatically loads the save slot for the current character.

Return Value

If the menu is backed out of without selecting a save slot, game.callbackResult is set to 0; otherwise, it's set to 1. If the selected save slot is an existing save, game.continueFlag is set to true.

If the menu is backed out of without selecting a save slot, globals->callbackResult is set to 0; otherwise, it's set to 1. If the selected save slot is an existing save, globals->continueFlag is set to true.

Syntax

game.callbackParam0 = skipMenu
EngineCallback(NOTIFY_CHARACTER_SELECT)
CallNativeFunction2(NotifyCallback, NOTIFY_CHARACTER_SELECT, int skipMenu)
NotifyCallback(NOTIFY_CHARACTER_SELECT, int32 skipMenu, NULL, NULL);

Example

game.callbackParam0 = false
EngineCallback(NOTIFY_CHARACTER_SELECT)
CallNativeFunction2(NotifyCallback, NOTIFY_CHARACTER_SELECT, false)
NotifyCallback(NOTIFY_CHARACTER_SELECT, false, NULL, NULL);