MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zSaveLoad_CardWrongDeviceErrorPrompt

Function zSaveLoad_CardWrongDeviceErrorPrompt

src/SB/Game/zSaveLoad.cpp:640–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640S32 zSaveLoad_CardWrongDeviceErrorPrompt(S32 mode)
641{
642 int i = 0x3a;
643 if (mode == 1)
644 {
645 i = 0x39;
646 }
647 zSaveLoad_UIEvent(i, eEventUIFocusOn_Select);
648
649 promptSel = -1;
650 while (promptSel == -1)
651 {
652 zSaveLoad_Tick();
653 }
654
655 i = 0x3a;
656 if (mode == 1)
657 {
658 i = 0x39;
659 }
660 zSaveLoad_UIEvent(i, eEventUIFocusOff_Unselect);
661 return promptSel;
662}
663
664S32 zSaveLoad_CardDamagedErrorPrompt(S32 mode)
665{

Callers 2

zSaveLoad_CardPickFunction · 0.85
zSaveLoad_GameSelectFunction · 0.85

Calls 2

zSaveLoad_UIEventFunction · 0.85
zSaveLoad_TickFunction · 0.70

Tested by

no test coverage detected