Skip to content

Commit 93defbb

Browse files
committed
Fix FFR location error at import
1 parent f107929 commit 93defbb

File tree

4 files changed

+38
-37
lines changed

4 files changed

+38
-37
lines changed

DataGroup.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,33 @@ public static class OwDataGroup
1515
{
1616
public static List<(OverworldTeleportIndex id, byte tile)> OwTeleportTiles = new()
1717
{
18-
(OverworldTeleportIndex.BahamutCave, 0x6C),
19-
(OverworldTeleportIndex.CardiaNorth, 0x6A),
20-
(OverworldTeleportIndex.CardiaGrass, 0x66),
21-
(OverworldTeleportIndex.CardiaMarsh, 0x67),
22-
(OverworldTeleportIndex.CardiaSmall, 0x68),
23-
(OverworldTeleportIndex.CardiaForest, 0x69),
24-
(OverworldTeleportIndex.CastleOrdeals, 0x38),
18+
(OverworldTeleportIndex.BahamutCave1, 0x6C),
19+
(OverworldTeleportIndex.Cardia1, 0x6A),
20+
(OverworldTeleportIndex.Cardia2, 0x66),
21+
(OverworldTeleportIndex.Cardia4, 0x67),
22+
(OverworldTeleportIndex.Cardia5, 0x68),
23+
(OverworldTeleportIndex.Cardia6, 0x69),
24+
(OverworldTeleportIndex.CastleOrdeals1, 0x38),
2525
(OverworldTeleportIndex.Coneria, 0x49),
26-
(OverworldTeleportIndex.ConeriaCastle, 0x01),
26+
(OverworldTeleportIndex.ConeriaCastle1, 0x01),
2727
(OverworldTeleportIndex.CrescentLake, 0x4E),
2828
(OverworldTeleportIndex.DwarfCave, 0x2F),
29-
(OverworldTeleportIndex.EarthCave, 0x0E),
29+
(OverworldTeleportIndex.EarthCave1, 0x0E),
3030
(OverworldTeleportIndex.Elfland, 0x4C),
3131
(OverworldTeleportIndex.ElflandCastle, 0x1B),
3232
(OverworldTeleportIndex.Gaia, 0x5A),
33-
(OverworldTeleportIndex.GurguVolcano, 0x74),
34-
(OverworldTeleportIndex.IceCave, 0x2B),
33+
(OverworldTeleportIndex.GurguVolcano1, 0x74),
34+
(OverworldTeleportIndex.IceCave1, 0x2B),
3535
(OverworldTeleportIndex.Lefein, 0x6D),
36-
(OverworldTeleportIndex.MarshCave, 0x6E),
36+
(OverworldTeleportIndex.MarshCave1, 0x6E),
3737
(OverworldTeleportIndex.MatoyasCave, 0x32),
3838
(OverworldTeleportIndex.Melmond, 0x4D),
39-
(OverworldTeleportIndex.MirageTower, 0x1D),
39+
(OverworldTeleportIndex.MirageTower1, 0x1D),
4040
(OverworldTeleportIndex.NorthwestCastle, 0x29),
4141
(OverworldTeleportIndex.Onrac, 0x5D),
4242
(OverworldTeleportIndex.Pravoka, 0x4A),
4343
(OverworldTeleportIndex.SardasCave, 0x3A),
44-
(OverworldTeleportIndex.TempleOfFiends, 0x57),
44+
(OverworldTeleportIndex.TempleOfFiends1, 0x57),
4545
(OverworldTeleportIndex.TitansTunnelEast, 0x34),
4646
(OverworldTeleportIndex.TitansTunnelWest, 0x35),
4747
(OverworldTeleportIndex.Waterfall, 0x46),
@@ -62,12 +62,12 @@ public static class OwDataGroup
6262

6363
public static Dictionary<ExitTeleportIndex, OverworldTeleportIndex> ExitTeleportOwTeleporter = new()
6464
{
65-
{ ExitTeleportIndex.ExitCastleOrdeals, OverworldTeleportIndex.CastleOrdeals },
66-
{ ExitTeleportIndex.ExitCastleConeria, OverworldTeleportIndex.ConeriaCastle },
67-
{ ExitTeleportIndex.ExitEarthCave, OverworldTeleportIndex.EarthCave },
68-
{ ExitTeleportIndex.ExitGurguVolcano, OverworldTeleportIndex.GurguVolcano },
69-
{ ExitTeleportIndex.ExitIceCave, OverworldTeleportIndex.IceCave },
70-
{ ExitTeleportIndex.ExitSkyPalace, OverworldTeleportIndex.MirageTower },
65+
{ ExitTeleportIndex.ExitCastleOrdeals, OverworldTeleportIndex.CastleOrdeals1 },
66+
{ ExitTeleportIndex.ExitCastleConeria, OverworldTeleportIndex.ConeriaCastle1 },
67+
{ ExitTeleportIndex.ExitEarthCave, OverworldTeleportIndex.EarthCave1 },
68+
{ ExitTeleportIndex.ExitGurguVolcano, OverworldTeleportIndex.GurguVolcano1 },
69+
{ ExitTeleportIndex.ExitIceCave, OverworldTeleportIndex.IceCave1 },
70+
{ ExitTeleportIndex.ExitSkyPalace, OverworldTeleportIndex.MirageTower1 },
7171
{ ExitTeleportIndex.ExitSeaShrine, OverworldTeleportIndex.Onrac },
7272
{ ExitTeleportIndex.ExitTitanE, OverworldTeleportIndex.TitansTunnelEast },
7373
{ ExitTeleportIndex.ExitTitanW, OverworldTeleportIndex.TitansTunnelWest },

InfoWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public InfoWindow(Texture2D _window, SpriteFont _font, Texture2D _buttonTexture,
3232
windowWidth = 28 * 8;
3333
okButton = new(_font, "OK", _buttonTexture, new() { new EditorTask() { Type = EditorTasks.ToggleInfoWindow, Value = 10 } });
3434

35-
windowText = "FFR Map Editor v1.01\n\n" +
35+
windowText = "FFR Map Editor v1.03\n\n" +
3636
"Main Developer\n wildham\n\n" +
3737
"Icons Designer\n DarkmoonEX\n\n" +
3838
"Based on the work of\n" +

MapData.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace FFRMapEditorMono
1313
{
1414
public enum OverworldTeleportIndex : byte
1515
{
16-
CardiaNorth = 0,
16+
Cardia1 = 0, // CardiaNorth
1717
Coneria = 1,
1818
Pravoka = 2,
1919
Elfland = 3,
@@ -22,28 +22,28 @@ public enum OverworldTeleportIndex : byte
2222
Gaia = 6,
2323
Onrac = 7,
2424
Lefein = 8,
25-
ConeriaCastle = 9,
25+
ConeriaCastle1 = 9,
2626
ElflandCastle = 10,
2727
NorthwestCastle = 11,
28-
CastleOrdeals = 12,
29-
TempleOfFiends = 13,
30-
EarthCave = 14,
31-
GurguVolcano = 15,
32-
IceCave = 16,
33-
CardiaGrass = 17,
34-
BahamutCave = 18,
28+
CastleOrdeals1 = 12,
29+
TempleOfFiends1 = 13,
30+
EarthCave1 = 14,
31+
GurguVolcano1 = 15,
32+
IceCave1 = 16,
33+
Cardia2 = 17, // CardiaGrass
34+
BahamutCave1 = 18,
3535
Waterfall = 19,
3636
DwarfCave = 20,
3737
MatoyasCave = 21,
3838
SardasCave = 22,
39-
MarshCave = 23,
40-
MirageTower = 24,
39+
MarshCave1 = 23,
40+
MirageTower1 = 24,
4141
TitansTunnelEast = 25,
4242
TitansTunnelWest = 26,
43-
CardiaMarsh = 27,
44-
CardiaSmall = 28,
45-
CardiaForest = 29,
46-
DefaultLocation = 30,
43+
Cardia4 = 27, // CardiaMarsh
44+
Cardia5 = 28, // CardiaSmall
45+
Cardia6 = 29, // CardiaForest
46+
DefaultLocation = 30, // DefaultLocation
4747
Unused = 31,
4848
None = 0xff
4949
}

readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FFR Map Editor v1.02
1+
FFR Map Editor v1.03
22

33
Credits ........... [S01]
44
Version Changes ... [S02]
@@ -20,6 +20,7 @@ Source code at
2020
https://github.com/wildham0/FFRMapEditorMono
2121

2222
*** Version Change *** [S02]
23+
1.03: - Fixed FFR locations error at import
2324
1.02: - Added Undo/Redo options for paiting actions on the map.
2425
- Added automatic backup ("backupowmap.json" in root folder)
2526
1.01: - Added safeguards to New Map and Load Map functions.

0 commit comments

Comments
 (0)