mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
separate demo from final game
just an assumption, as the text didn't have enough filecounts, they may be splitting things up. text variable codes likely the same, and garcs may be shifted as 238 is a little too few for a full game
This commit is contained in:
@@ -74,6 +74,27 @@ public GARCReference getRelativeGARC(int offset, string name = "")
|
||||
new GARCReference(071, "gametext", true),
|
||||
new GARCReference(079, "storytext", true),
|
||||
};
|
||||
public static readonly GARCReference[] GARCReference_SMDEMO =
|
||||
{
|
||||
new GARCReference(011, "move"),
|
||||
new GARCReference(012, "eggmove"),
|
||||
new GARCReference(013, "levelup"),
|
||||
new GARCReference(014, "evolution"),
|
||||
new GARCReference(015, "megaevo"),
|
||||
new GARCReference(017, "personal"),
|
||||
new GARCReference(019, "item"),
|
||||
|
||||
new GARCReference(076, "zonedata"),
|
||||
new GARCReference(081, "encdata"),
|
||||
|
||||
new GARCReference(101, "trclass"),
|
||||
new GARCReference(102, "trdata"),
|
||||
new GARCReference(103, "trpoke"),
|
||||
|
||||
// Varied
|
||||
new GARCReference(030, "gametext", true),
|
||||
new GARCReference(040, "storytext", true),
|
||||
};
|
||||
public static readonly GARCReference[] GARCReference_SM =
|
||||
{
|
||||
new GARCReference(011, "move"),
|
||||
|
||||
@@ -67,6 +67,10 @@ private void getGameData(GameVersion game)
|
||||
break;
|
||||
|
||||
case GameVersion.SMDEMO:
|
||||
Files = GARCReference.GARCReference_SMDEMO;
|
||||
Variables = TextVariableCode.VariableCodes_SM;
|
||||
GameText = TextReference.GameText_SMDEMO;
|
||||
break;
|
||||
case GameVersion.SM:
|
||||
Files = GARCReference.GARCReference_SM;
|
||||
Variables = TextVariableCode.VariableCodes_SM;
|
||||
|
||||
@@ -70,6 +70,21 @@ private TextReference(int index, TextName name)
|
||||
new TextReference(154, TextName.SuperTrainerNames),
|
||||
new TextReference(165, TextName.OPowerFlavor),
|
||||
};
|
||||
public static readonly TextReference[] GameText_SMDEMO =
|
||||
{
|
||||
new TextReference(020, TextName.ItemFlavor),
|
||||
new TextReference(021, TextName.ItemNames),
|
||||
new TextReference(026, TextName.SpeciesNames),
|
||||
new TextReference(030, TextName.metlist_000000),
|
||||
new TextReference(044, TextName.Forms), // Testing.
|
||||
new TextReference(044, TextName.Natures),
|
||||
new TextReference(046, TextName.AbilityNames),
|
||||
new TextReference(049, TextName.TrainerText),
|
||||
new TextReference(050, TextName.TrainerNames),
|
||||
new TextReference(051, TextName.TrainerClasses),
|
||||
new TextReference(052, TextName.Types),
|
||||
new TextReference(055, TextName.MoveNames),
|
||||
};
|
||||
public static readonly TextReference[] GameText_SM =
|
||||
{
|
||||
new TextReference(020, TextName.ItemFlavor),
|
||||
|
||||
Reference in New Issue
Block a user