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

Function S_HealerEnter

Source/stores.cpp:2449–2474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2447}
2448
2449void S_HealerEnter()
2450{
2451 switch (stextsel) {
2452 case 12:
2453 stextlhold = 12;
2454 talker = 1;
2455 stextshold = STORE_HEALER;
2456 gossipstart = QUEST_PEPIN2;
2457 gossipend = QUEST_PEPIN11;
2458 StartStore(STORE_GOSSIP);
2459 break;
2460 case 14:
2461 if (plr[myplr]._pHitPoints != plr[myplr]._pMaxHP)
2462 PlaySFX(IS_CAST8);
2463 drawhpflag = TRUE;
2464 plr[myplr]._pHitPoints = plr[myplr]._pMaxHP;
2465 plr[myplr]._pHPBase = plr[myplr]._pMaxHPBase;
2466 break;
2467 case 16:
2468 StartStore(STORE_HBUY);
2469 break;
2470 case 18:
2471 stextflag = STORE_NONE;
2472 break;
2473 }
2474}
2475
2476void S_HBuyEnter()
2477{

Callers 1

STextEnterFunction · 0.85

Calls 2

StartStoreFunction · 0.85
PlaySFXFunction · 0.85

Tested by

no test coverage detected