MCPcopy Create free account
hub / github.com/diasurgical/devilution / S_WitchEnter

Function S_WitchEnter

Source/stores.cpp:2125–2149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2123}
2124
2125void S_WitchEnter()
2126{
2127 switch (stextsel) {
2128 case 12:
2129 stextlhold = 12;
2130 talker = 6;
2131 stextshold = STORE_WITCH;
2132 gossipstart = QUEST_ADRIA2;
2133 gossipend = QUEST_ADRIA13;
2134 StartStore(STORE_GOSSIP);
2135 return;
2136 case 14:
2137 StartStore(STORE_WBUY);
2138 return;
2139 case 16:
2140 StartStore(STORE_WSELL);
2141 return;
2142 case 18:
2143 StartStore(STORE_WRECHARGE);
2144 return;
2145 case 20:
2146 stextflag = STORE_NONE;
2147 break;
2148 }
2149}
2150
2151void WitchBuyItem()
2152{

Callers 1

STextEnterFunction · 0.85

Calls 1

StartStoreFunction · 0.85

Tested by

no test coverage detected