Skip to content

Commit

Permalink
Added an extra helper function and removed instant text control code …
Browse files Browse the repository at this point in the history
…from ITEM_OBTAINED
  • Loading branch information
leggettc18 committed Jul 14, 2022
1 parent 9c57ed6 commit 46df17e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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;
}
3 changes: 2 additions & 1 deletion soh/soh/Enhancements/randomizer/randomizer_custom_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
std::string MESSAGE_END();
std::string ITEM_OBTAINED(uint8_t x);
std::string NEWLINE();
std::string COLOR(uint8_t x);
std::string COLOR(uint8_t x);
std::string WAIT_FOR_INPUT();

0 comments on commit 46df17e

Please sign in to comment.