just have a variable keep track of what to show
NPC Code:
// NPC made by screen_name
if (playerenters||timeout) {
if (this.track==0) {
ShowName_Goboom();
} elseif (this.track==1) {
ShowName_screen_name();
}
timeout=.1;
}
if (playertouchsme) {
this.track=abs(this.track-1);
}
function ShowName_Goboom() {
message Hola Goboom!;
}
function ShowName_screen_name() {
message Hola screen_name!;
}