From cd096ce5e977f3e0098ec8b3740a6cddf4df3a47 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Thu, 14 Jul 2022 00:56:47 -0400 Subject: [PATCH] Fixes newline function to return correct character. --- soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp | 3 ++- soh/soh/Enhancements/randomizer/randomizer_custom_messages.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp index b5caad7fc..b52721cff 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp @@ -1,4 +1,5 @@ #include "randomizer_custom_messages.h" +#include "randomizer.h" #include using namespace std::literals::string_literals; @@ -31,7 +32,7 @@ std::string ITEM_OBTAINED(uint8_t x) { } std::string NEWLINE() { - return "\x02"s; + return "\x01"s; } std::string COLOR(uint8_t x) { diff --git a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h index 5e208f7e7..15cd859af 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h +++ b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.h @@ -2,7 +2,6 @@ #include #include "../../../include/z64item.h" -#include "randomizer.h" #define QM_WHITE 0x00 #define QM_RED 0x41