From 46df17e29fbf2e18b92493ff0dc84d9a6ce16c84 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Thu, 14 Jul 2022 11:17:43 -0400 Subject: [PATCH] Added an extra helper function and removed instant text control code from ITEM_OBTAINED --- .../Enhancements/randomizer/randomizer_custom_messages.cpp | 6 +++++- .../Enhancements/randomizer/randomizer_custom_messages.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp index b52721cffce..a704611356e 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp @@ -28,7 +28,7 @@ std::string MESSAGE_END() { } std::string ITEM_OBTAINED(uint8_t x) { - return "\x08\x13"s + char(x); + return "\x13"s + char(x); } std::string NEWLINE() { @@ -37,4 +37,8 @@ std::string NEWLINE() { std::string COLOR(uint8_t x) { return "\x05"s + char(x); +} + +std::string WAIT_FOR_INPUT() { + return "\x04"s; } \ No newline at end of file diff --git a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h index 15cd859af80..cae3c65b5d2 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h +++ b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h @@ -15,4 +15,5 @@ std::string MESSAGE_END(); std::string ITEM_OBTAINED(uint8_t x); std::string NEWLINE(); -std::string COLOR(uint8_t x); \ No newline at end of file +std::string COLOR(uint8_t x); +std::string WAIT_FOR_INPUT(); \ No newline at end of file