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

Function zSaveLoad_ErrorFormatCardYankedPrompt

src/SB/Game/zSaveLoad.cpp:738–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736}
737
738S32 zSaveLoad_ErrorFormatCardYankedPrompt(S32 cardNumber)
739{
740 int i = 0x2f;
741 if (cardNumber == 1)
742 {
743 i = 0x2d;
744 }
745 zSaveLoad_UIEvent(i, eEventUIFocusOn_Select);
746
747 promptSel = -1;
748 while (promptSel == -1)
749 {
750 zSaveLoad_Tick();
751 }
752
753 i = 0x2f;
754 if (cardNumber == 1)
755 {
756 i = 0x2d;
757 }
758 zSaveLoad_UIEvent(i, eEventUIFocusOff_Unselect);
759 return 6;
760}
761
762S32 zSaveLoad_CardCheckSingle(S32 cardNumber)
763{

Callers 1

formatFunction · 0.85

Calls 2

zSaveLoad_UIEventFunction · 0.85
zSaveLoad_TickFunction · 0.70

Tested by

no test coverage detected