Fixed error popping up when searching HGSS scripts

[+] Changed command names to match between DPPt-HGSS
This commit is contained in:
AdAstra-LD
2022-06-13 15:16:02 +02:00
parent 5d789b8174
commit edcf6ab93e
2 changed files with 7 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ namespace DSPRE.ROMFiles {
case 0x005E: // Movement
name += $" {FormatNumber(parametersList[0], ParamTypeEnum.OW_ID)} {FormatNumber(parametersList[1], ParamTypeEnum.ACTION_ID)}";
break;
case 0x006A: // CheckOverworldPosition
case 0x006A: // GetOverworldPosition
name += FormatCmd_Overworld_TwoParams(parametersList);
break;
case 0x0062: // Lock

View File

@@ -279,8 +279,8 @@ namespace DSPRE.Resources {
[0x0066] = "LockCamera",
[0x0067] = "ReleaseCamera",
[0x0068] = "FacePlayer",
[0x0069] = "CheckPlayerPosition",
[0x006A] = "CheckOverworldPosition",
[0x0069] = "GetPlayerPosition",
[0x006A] = "GetOverworldPosition",
[0x006C] = "KeepOverworld",
[0x006D] = "SetOverworldMovement",
@@ -1733,8 +1733,8 @@ namespace DSPRE.Resources {
[0x0066] = "LockCamera",
[0x0067] = "ReleaseCamera",
[0x0068] = "FacePlayer",
[0x0069] = "CheckPlayerPosition",
[0x006A] = "CheckOverworldPosition",
[0x0069] = "GetPlayerPosition",
[0x006A] = "GetOverworldPosition",
[0x006C] = "KeepOverworld",
[0x006D] = "SetOverworldMovement",
@@ -2760,7 +2760,7 @@ namespace DSPRE.Resources {
[0x0284] = new byte[] { 2, 2, 2 },
[0x0285] = new byte[] { 2, 2, 2 },
[0x0286] = new byte[] { 2 },
[0x0287] = new byte[] { 2 },
[0x0287] = new byte[] { 2, 2 }, //To be checked!
[0x0288] = new byte[] { 2 },
[0x0289] = new byte[1] { 0 },
[0x028A] = new byte[] { 2 },
@@ -2797,7 +2797,7 @@ namespace DSPRE.Resources {
[0x02A9] = new byte[] { 2 },
[0x02AA] = new byte[] { 2 },
[0x02AB] = new byte[] { 2 },
[0x02AC] = new byte[1] { 0 },
[0x02AC] = new byte[] { 2 },
[0x02AD] = new byte[] { 2, 2 },
[0x02AE] = new byte[1] { 0 },
[0x02AF] = new byte[] { 2 },