Fix market sneak hook (#6440)

This commit is contained in:
Chris 2026-03-29 12:46:47 -04:00 committed by GitHub
parent ebea14f297
commit 5494a81eb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,11 +2,17 @@
extern "C" {
#include <variables.h>
extern PlayState* gPlayState;
}
// RANDOTODO: Port the rest of the behavior for this enhancement here.
void BuildNightGuardMessage(uint16_t* textId, bool* loadFromMessageTable) {
// Other guards should not have their text overridden
if (gPlayState->sceneNum != SCENE_MARKET_ENTRANCE_NIGHT) {
return;
}
CustomMessage msg = CustomMessage("You look bored. Wanna go out for a walk?\x1B%gYes&No%w",
"Du siehst gelangweilt aus. Willst Du einen Spaziergang machen?\x1B%gJa&Nein%w",
"Tu as l'air de t'ennuyer. Tu veux aller faire un tour?\x1B%gOui&Non%w");