Skip to content

Commit

Permalink
Finalized merging and fixed bat
Browse files Browse the repository at this point in the history
  • Loading branch information
TekkaGB committed Jun 10, 2021
1 parent 907fd7b commit 456286d
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 52 deletions.
29 changes: 29 additions & 0 deletions DATA/FIELD/PACK/f007.bf.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

//
// FlowScript decompiled by AtlusScriptLib by TGE (2017)
// In the unfortunate case of any bugs, please report them back to me.
//


//
// Imports
//

import( "BASE_f007.bf" );
import ( "../ModMenu.flow" );
import ( "f007.msg" );

//
// Procedure declarations
//


void save_point_hook()
{
OPEN_MSG_WIN();
int selection = SEL( ChangedPrompt );
if ( selection == 0 )
ModMenuDisplay(2);
if ( selection == 1 )
save_point_unhooked();
}
3 changes: 3 additions & 0 deletions DATA/FIELD/PACK/f007.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[sel ChangedPrompt]
[f 0 8 -258][f 1 31]Open Mod Menu[e]
[f 0 8 -258][f 1 31]Use original function.[e]
50 changes: 1 addition & 49 deletions DATA/FIELD/SCRIPT/FIELD.BF.flow
Original file line number Diff line number Diff line change
Expand Up @@ -29,59 +29,11 @@ void field_order_party_hook()
// Choose between mod menu and regular field menu
OPEN_MSG_WIN();
MSG( Choose );
<<<<<<< HEAD
SEL_CHK_PAD(6,20);
int select = SEL( NewPrompt );
CLOSE_MSG_WIN();
if (select == 0)
{
ModMenuDisplay();
)
else if (select == 1)
{
if ( FUNCTION_01E9() == 1 && BIT_CHK( 0 + 0x0400 + 0x0800 + 498 ) == 1 )
{
fes_order_party();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 507 ) == 1 )
{
tutorial_order_party();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 572 ) == 1 )
{
f031_operation();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 610 ) == 1 )
{
f052_operation();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 702 ) == 1 )
{
f034_operation();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 799 ) == 1 )
{
f035_operation();
return;
}
else if ( BIT_CHK( 0 + 0x0400 + 0x0800 + 498 ) == 1 )
{
tartaros_order_party();
return;
}
}
=======
SET_SEL_CHOICE_KEYBIND(6,20);
int selection = SEL( NewPrompt );
CLOSE_MSG_WIN();
if (selection == 0)
ModMenuDisplay(0);
ModMenuDisplay();
if (selection == 1)
field_order_party_unhooked();
>>>>>>> refs/remotes/origin/main
}
2 changes: 0 additions & 2 deletions build_aem.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ IF NOT EXIST "%OUTPUT_PATH%" MKDIR "%OUTPUT_PATH%"
IF NOT EXIST "%OUTPUT_PATH%\DATA\FIELD\PACK\F008_003" MKDIR "%OUTPUT_PATH%\DATA\FIELD\PACK\F008_003"
IF NOT EXIST "%OUTPUT_PATH%\DATA\FIELD\SCRIPT" MKDIR "%OUTPUT_PATH%\DATA\FIELD\SCRIPT"


%COMPILER% DATA\FIELD\SCRIPT\NPCCOMU.BF.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out "%OUTPUT_PATH%\DATA\FIELD\SCRIPT\NPCCOMU.BF" -Hook
%COMPILER% DATA\FIELD\SCRIPT\FIELD.BF.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out "%OUTPUT_PATH%\DATA\FIELD\SCRIPT\FIELD.BF" -Hook

%COMPILER% DATA\FIELD\PACK\f008.bf.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out "%OUTPUT_PATH%\DATA\FIELD\PACK\F008_003\f008.bf" -Hook
1 change: 0 additions & 1 deletion build_mc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ IF NOT EXIST "%OUTPUT_PATH%\Data" MKDIR "%OUTPUT_PATH%\Data"
IF NOT EXIST "%OUTPUT_PATH%\Data\DATA\FIELD\PACK" MKDIR "%OUTPUT_PATH%\Data\DATA\FIELD\PACK"
IF NOT EXIST "%OUTPUT_PATH%\Data\DATA\FIELD\SCRIPT" MKDIR "%OUTPUT_PATH%\Data\DATA\FIELD\SCRIPT"

%COMPILER% DATA\FIELD\SCRIPT\NPCCOMU.BF.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out "%OUTPUT_PATH%\Data\DATA\FIELD\SCRIPT\NPCCOMU.BF" -Hook
%COMPILER% DATA\FIELD\SCRIPT\FIELD.BF.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out "%OUTPUT_PATH%\Data\DATA\FIELD\SCRIPT\FIELD.BF" -Hook

%COMPILER% DATA\FIELD\PACK\f008.bf.flow -Compile -OutFormat V1 -Library P3F -Encoding P3 -Out build\DATA\FIELD\PACK\F008_003\f008.bf -Hook
Expand Down

0 comments on commit 456286d

Please sign in to comment.