From e9268bf656db81320dc5b95224764e86b85a7eaa Mon Sep 17 00:00:00 2001 From: laqieer Date: Sat, 30 Jul 2022 09:57:08 +0800 Subject: [PATCH] Adjust text bubble's Y position a little higher to avoid hiding tall portraits from view. --- linkerscript | 2 ++ src/text.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/linkerscript b/linkerscript index 74d91da0..c844eee3 100644 --- a/linkerscript +++ b/linkerscript @@ -371,6 +371,8 @@ SECTIONS .rodata.patch_tutorial_disabler_d752 : {*(.rodata.patch_tutorial_disabler_d752)} . = 0x8013318; .text.decodeTextInjector : {*(.text.decodeTextInjector)} + . = 0x8009D28; + .rodata.textBubblePositionYInDialogue : {*(.rodata.textBubblePositionYInDialogue)} . = 0x8017CE0; .rodata.pJobs1 : {*(.rodata.pJobs1)} . = 0x8018C1C; diff --git a/src/text.c b/src/text.c index 273dee02..5765eaed 100644 --- a/src/text.c +++ b/src/text.c @@ -3139,3 +3139,5 @@ char *decodeTextInjector(int textID) { return decodeText(textID); } + +const char textBubblePositionYInDialogue = 5; // StartTalkOpen()