MCPcopy Create free account
hub / github.com/Stewmath/GameYob / stateSelectFunc

Function stateSelectFunc

arm9/source/console.cpp:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void stateSelectFunc(int value) {
157 stateNum = value;
158 if (checkStateExists(stateNum)) {
159 enableMenuOption("Load State");
160 enableMenuOption("Delete State");
161 }
162 else {
163 disableMenuOption("Load State");
164 disableMenuOption("Delete State");
165 }
166}
167void stateSaveFunc(int value) {
168 printMenuMessage("Saving state...");
169 muteSND();

Callers 2

stateSaveFuncFunction · 0.85
stateDeleteFuncFunction · 0.85

Calls 3

checkStateExistsFunction · 0.85
enableMenuOptionFunction · 0.85
disableMenuOptionFunction · 0.85

Tested by

no test coverage detected