mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-08-23 09:14:24 -05:00
Linking textbox creation to string display
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user