Linking textbox creation to string display

This commit is contained in:
GearsProgress
2026-03-14 10:16:16 -04:00
parent 08140089ab
commit 1f29379810
22 changed files with 247 additions and 173 deletions

View File

@@ -813,11 +813,11 @@ bool run_conditional(int index)
return false;
case CMD_START_LINK:
load_flex_background(BG_FENNEL, 3);
load_flex_background(FLEXBG_FENNEL, 3);
link_animation_state(STATE_CONNECTION);
party_data.start_link();
reset_textbox();
load_flex_background(BG_FENNEL, 2);
load_flex_background(FLEXBG_FENNEL, 2);
link_animation_state(0);
return true;
@@ -828,15 +828,15 @@ bool run_conditional(int index)
case CMD_BACK_TO_MENU:
set_text_exit();
REG_BG1HOFS = 0;
load_flex_background(BG_FENNEL, 3);
load_flex_background(FLEXBG_FENNEL, 3);
return true;
case CMD_SHOW_PROF:
load_flex_background(BG_FENNEL, 2);
load_flex_background(FLEXBG_FENNEL, 2);
return true;
case CMD_HIDE_PROF:
load_flex_background(BG_FENNEL, 3);
load_flex_background(FLEXBG_FENNEL, 3);
return true;
case CMD_SET_TUTOR_TRUE:
@@ -902,9 +902,9 @@ bool run_conditional(int index)
return true;
case CMD_BOX_MENU:
hide_text_box();
hide_textbox();
ret = (box_viewer.box_main(&party_data.box) == CONFIRM_BUTTON);
show_text_box();
show_textbox();
return ret;
case CMD_MYTHIC_MENU: