My code for a non-player character showing up at random doesn’t seem to be firing.
Every turn:
if player is on A Street:
if a random chance of 1 in 4 succeeds:
say "[one of]My stars and garters! Look who just stepped out of that limousine! The great Alvin Parsely![or]It[']s Alvin Parsely driving down the middle of the street in a go-cart![or]You can[']t believe your eyes! Is that Johnny Coin walking down the other side of the street?[or]Great balls of fire! Jerry Lee Lunk just walked out of the Kit Kat Club![at random]";
continue the action;
otherwise:
if player is on B Street:
say "[one of]My stars and garters! Look who just stepped out of that limousine! The great Alvin Parsely![or]It[']s Alvin Parsely driving down the middle of the street in a go-cart![or]You can[']t believe your eyes! Is that Johnny Coin walking down the other side of the street?[or]Great balls of fire! Jerry Lee Lunk just walked out of the Kit Kat Club![at random]";
continue the action;
otherwise:
if player is on C Street:
say "[one of]My stars and garters! Look who just stepped out of that limousine! The great Alvin Parsely![or]It[']s Alvin Parsely driving down the middle of the street in a go-cart![or]You can[']t believe your eyes! Is that Johnny Coin walking down the other side of the street?[or]Great balls of fire! Jerry Lee Lunk just walked out of the Kit Kat Club![at random]";
continue the action;
otherwise:
if player is on D Street:
say "[one of]My stars and garters! Look who just stepped out of that limousine! The great Alvin Parsely![or]It[']s Alvin Parsely driving down the middle of the street in a go-cart![or]You can[']t believe your eyes! Is that Johnny Coin walking down the other side of the street?[or]Great balls of fire! Jerry Lee Lunk just walked out of the Kit Kat Club![at random]";
continue the action.