Skip to content

Commit

Permalink
Fix digit input pages, Add Chie's SL and home tutorial flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrineFox committed Apr 26, 2021
1 parent ff4146e commit c980e48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ModMenu/Utilities.flow
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ int SelectDigit( int helpText )
{
SET_SEL_CHOICE_KEYBIND(10, 10);
SET_SEL_CHOICE_KEYBIND(11, 10);
SET_SEL_CHOICE_KEYBIND(5, 10);
SET_SEL_CHOICE_KEYBIND(7, 10);
SET_SEL_CHOICE_KEYBIND(14, 11);
SET_SEL_CHOICE_KEYBIND(15, 12);
int digit = ADV_SEL( helpText, Num_Menu, 0);
if ( digit < 5 ) //0 through 4
return digit;
Expand All @@ -24,6 +27,7 @@ int SelectDigit( int helpText )
SET_SEL_CHOICE_KEYBIND(5, 10);
SET_SEL_CHOICE_KEYBIND(7, 10);
SET_SEL_CHOICE_KEYBIND(14, 11);
SET_SEL_CHOICE_KEYBIND(15, 12);
digit = ADV_SEL( helpText, Num_Menu2, 0) + 5;
if ( digit < 10 )
return digit; //5 through 9 or back
Expand Down
6 changes: 6 additions & 0 deletions scheduler/scheduler_04.bf.flow
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ void sdl04_10_PM_D_hook()
BIT_ON( 0 + 137 );
SHOW_DATE( 1 );
NEXT_DATE( 4, 20, 0 );
// Set go home tutorial flag
BIT_ON( 0 + 0x0400 + 0x0800 + 4 );
// Set up Yosuke SL
EVT_FUNCTION_0001( 7 );
EVT_FUNCTION_0016( 7 );
EVT_FUNCTION_0016( 0 );
// Set up Chie SL
EVT_FUNCTION_0001( 12 );
EVT_FUNCTION_0016( 12 );
EVT_FUNCTION_0016( 0 );
}
else
{
Expand Down

0 comments on commit c980e48

Please sign in to comment.