MCPcopy Create free account
hub / github.com/NetHack/NetHack / phaze_dialogue

Function phaze_dialogue

src/timeout.c:533–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531};
532
533staticfn void
534phaze_dialogue(void)
535{
536 long i = ((HPasses_walls & TIMEOUT) / 2L);
537
538 if (EPasses_walls || (HPasses_walls & ~TIMEOUT))
539 return;
540
541 if (((HPasses_walls & TIMEOUT) % 2L) && i > 0L && i <= SIZE(phaze_texts))
542 pline("%s", phaze_texts[SIZE(phaze_texts) - i]);
543}
544
545/* Similar to Passes_walls, if prayer tries to save hero from a poison
546 gas region but can't, (HMagical_breathing & TIMEOUT) will be set to

Callers 1

nh_timeoutFunction · 0.85

Calls 1

plineFunction · 0.70

Tested by

no test coverage detected