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
also changes "P4G Mod Menu" to "P4 Mod Menu"
  • Loading branch information
ShrineFox committed Apr 26, 2021
1 parent 8862a2a commit 9fa3adf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ModMenu/ModMenu.msg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[f 0 5 -258][f 2 1]Options[e]

[msg Mod_Menu_Text]
[f 0 5 -258][f 2 1]P4G Mod Menu[n][f 1 1][e]
[f 0 5 -258][f 2 1]P4 Mod Menu[n][f 1 1][e]

[sel Mod_Menu]
[f 0 5 -258][f 2 1]Call Menu[e]
Expand Down
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(13, 10);
SET_SEL_CHOICE_KEYBIND(15, 10);
SET_SEL_CHOICE_KEYBIND(6, 11);
SET_SEL_CHOICE_KEYBIND(7, 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(13, 10);
SET_SEL_CHOICE_KEYBIND(15, 10);
SET_SEL_CHOICE_KEYBIND(6, 11);
SET_SEL_CHOICE_KEYBIND(7, 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 9fa3adf

Please sign in to comment.