mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Made map names be added to map_metadata.txt when writing it if possible
This commit is contained in:
@@ -870,6 +870,7 @@ module Compiler
|
||||
map_name = (map_infos && map_infos[map_data.id]) ? map_infos[map_data.id].name : nil
|
||||
if map_name
|
||||
f.write(sprintf("[%03d] # %s\r\n", map_data.id, map_name))
|
||||
f.write("Name = #{map_name}\r\n") if nil_or_empty?(map_data.real_name)
|
||||
else
|
||||
f.write(sprintf("[%03d]\r\n", map_data.id))
|
||||
end
|
||||
|
||||
@@ -1,80 +1,101 @@
|
||||
# See the documentation on the wiki to learn how to edit this file.
|
||||
#-------------------------------
|
||||
[001] # Intro
|
||||
Name = Intro
|
||||
#-------------------------------
|
||||
[002] # Lappet Town
|
||||
Name = Lappet Town
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,13,12
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[003] # \PN's house
|
||||
Name = \PN's house
|
||||
HealingSpot = 2,8,8
|
||||
MapPosition = 0,13,12
|
||||
#-------------------------------
|
||||
[004] # Pokémon Lab
|
||||
Name = Pokémon Lab
|
||||
ShowArea = false
|
||||
MapPosition = 0,13,12
|
||||
#-------------------------------
|
||||
[005] # Route 1
|
||||
Name = Route 1
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,13,11
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[006] # Kurt's house
|
||||
Name = Route 1
|
||||
MapPosition = 0,13,11
|
||||
#-------------------------------
|
||||
[007] # Cedolan City
|
||||
Name = Cedolan City
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,13,10
|
||||
MapSize = 2,11
|
||||
#-------------------------------
|
||||
[008] # Daisy's house
|
||||
Name = Lappet Town
|
||||
MapPosition = 0,13,12
|
||||
#-------------------------------
|
||||
[009] # Cedolan City Poké Center
|
||||
Name = Cedolan City
|
||||
HealingSpot = 8,17,11
|
||||
MapPosition = 0,14,10
|
||||
#-------------------------------
|
||||
[010] # Cedolan Gym
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
BattleBack = indoor3
|
||||
Environment = Rock
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[011] # Pokémon Institute
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,14,10
|
||||
#-------------------------------
|
||||
[012] # Cedolan City Condo
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,14,10
|
||||
#-------------------------------
|
||||
[013] # Game Corner
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,14,10
|
||||
#-------------------------------
|
||||
[014] # Cedolan Dept. 1F
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[015] # Cedolan Dept. 2F
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[016] # Cedolan Dept. 3F
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[017] # Cedolan Dept. 4F
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[018] # Cedolan Dept. 5F
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[019] # Cedolan Dept. Rooftop
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[020] # Cedolan Dept. Elevator
|
||||
Name = Cedolan City
|
||||
MapPosition = 0,13,10
|
||||
#-------------------------------
|
||||
[021] # Route 2
|
||||
Name = Route 2
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
Weather = Rain,100
|
||||
@@ -83,24 +104,30 @@ BattleBack = field
|
||||
MapSize = 1,11
|
||||
#-------------------------------
|
||||
[023] # Lerucean Town
|
||||
Name = Lerucean Town
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,15,8
|
||||
#-------------------------------
|
||||
[024] # Lerucean Town Poké Center
|
||||
Name = Lerucean Town
|
||||
HealingSpot = 23,11,15
|
||||
MapPosition = 0,15,8
|
||||
#-------------------------------
|
||||
[025] # Lerucean Town Mart
|
||||
Name = Lerucean Town
|
||||
MapPosition = 0,15,8
|
||||
#-------------------------------
|
||||
[026] # Pokémon Fan Club
|
||||
Name = Lerucean Town
|
||||
MapPosition = 0,15,8
|
||||
#-------------------------------
|
||||
[027] # Pokémon Day Care
|
||||
Name = Lerucean Town
|
||||
MapPosition = 0,15,8
|
||||
#-------------------------------
|
||||
[028] # Natural Park
|
||||
Name = Natural Park
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,16,8
|
||||
@@ -108,13 +135,16 @@ BattleBack = field
|
||||
Flags = MossRock
|
||||
#-------------------------------
|
||||
[029] # Natural Park Entrance
|
||||
Name = Natural Park
|
||||
Bicycle = true
|
||||
MapPosition = 0,16,8
|
||||
#-------------------------------
|
||||
[030] # Natural Park Pavillion
|
||||
Name = Natural Park
|
||||
MapPosition = 0,16,8
|
||||
#-------------------------------
|
||||
[031] # Route 3
|
||||
Name = Route 3
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,14,6
|
||||
@@ -122,44 +152,52 @@ BattleBack = field
|
||||
MapSize = 2,1101
|
||||
#-------------------------------
|
||||
[034] # Ice Cave
|
||||
Name = Route 3
|
||||
Bicycle = true
|
||||
MapPosition = 0,15,6
|
||||
BattleBack = cave1
|
||||
Environment = Cave
|
||||
Flags = IceRock
|
||||
#-------------------------------
|
||||
[035] # Ingido Plateau
|
||||
[035] # Ingido Plateau outside
|
||||
Name = Ingido Plateau
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,13,6
|
||||
#-------------------------------
|
||||
[036] # Pokémon League
|
||||
[036] # Pokémon League entrance
|
||||
Name = Ingido Plateau
|
||||
HealingSpot = 35,17,7
|
||||
MapPosition = 0,13,6
|
||||
#-------------------------------
|
||||
[037] # Pokémon League
|
||||
[037] # Pokémon League room 1
|
||||
Name = Ingido Plateau
|
||||
MapPosition = 0,13,6
|
||||
BattleBack = elite1
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[038] # Hall of Fame
|
||||
Name = Ingido Plateau
|
||||
MapPosition = 0,13,6
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[039] # Route 4
|
||||
Name = Route 4
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,11,6
|
||||
BattleBack = field
|
||||
MapSize = 2,11
|
||||
#-------------------------------
|
||||
[040] # Route 4
|
||||
[040] # Route 4 Cycling Road
|
||||
Name = Route 4
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
BicycleAlways = true
|
||||
MapPosition = 0,11,6
|
||||
#-------------------------------
|
||||
[041] # Route 5
|
||||
Name = Route 5
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
BicycleAlways = true
|
||||
@@ -167,23 +205,27 @@ MapPosition = 0,11,7
|
||||
MapSize = 1,111
|
||||
#-------------------------------
|
||||
[044] # Route 6
|
||||
Name = Route 6
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,11,10
|
||||
BattleBack = field
|
||||
MapSize = 2,11
|
||||
#-------------------------------
|
||||
[045] # Route 6
|
||||
[045] # Route 6 Cycling Road
|
||||
Name = Route 6
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
BicycleAlways = true
|
||||
MapPosition = 0,11,10
|
||||
#-------------------------------
|
||||
[046] # Cycling Road gate
|
||||
[046] # Route 4 Cycling Road gate
|
||||
Name = Route 4
|
||||
Bicycle = true
|
||||
MapPosition = 0,12,6
|
||||
#-------------------------------
|
||||
[047] # Route 7
|
||||
Name = Route 7
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
Weather = Rain,0
|
||||
@@ -192,14 +234,16 @@ BattleBack = rocky
|
||||
MapSize = 2,11
|
||||
Environment = Rock
|
||||
#-------------------------------
|
||||
[049] # Rock Cave
|
||||
[049] # Rock Cave 1F
|
||||
Name = Route 7
|
||||
Bicycle = true
|
||||
MapPosition = 0,16,10
|
||||
BattleBack = cave1
|
||||
Environment = Cave
|
||||
Flags = Magnetic
|
||||
#-------------------------------
|
||||
[050] # Rock Cave
|
||||
[050] # Rock Cave B1F
|
||||
Name = Route 7
|
||||
Bicycle = true
|
||||
MapPosition = 0,16,10
|
||||
DarkMap = true
|
||||
@@ -208,6 +252,7 @@ Environment = Cave
|
||||
Flags = Magnetic
|
||||
#-------------------------------
|
||||
[051] # Dungeon
|
||||
Name = Route 7
|
||||
Bicycle = true
|
||||
MapPosition = 0,16,10
|
||||
Dungeon = true
|
||||
@@ -216,71 +261,88 @@ Environment = Cave
|
||||
Flags = Magnetic
|
||||
#-------------------------------
|
||||
[052] # Battle Frontier
|
||||
Name = Battle Frontier
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[053] # Battle Frontier Poké Center
|
||||
Name = Battle Frontier
|
||||
HealingSpot = 52,17,14
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[054] # Battle Frontier Mart
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[055] # Battle Tower
|
||||
Name = Battle Frontier
|
||||
HealingSpot = 52,30,10
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[056] # Battle Tower arena
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
BattleBack = indoor1
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[057] # Stadium Cup lobby
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[058] # Battle Palace
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[059] # Battle Palace arena
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
BattleBack = indoor1
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[060] # Battle Arena
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[061] # Battle Arena arena
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
BattleBack = indoor1
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[062] # Battle Factory
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
#-------------------------------
|
||||
[063] # Battle Factory intro corridor
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[064] # Battle Factory arena
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
BattleBack = indoor1
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[065] # Battle Factory corridor
|
||||
Name = Battle Frontier
|
||||
MapPosition = 0,17,10
|
||||
Flags = DisableBoxLink
|
||||
#-------------------------------
|
||||
[066] # Safari Zone
|
||||
[066] # Safari Zone outside
|
||||
Name = Safari Zone
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,12,12
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[067] # Safari Zone gate
|
||||
Name = Safari Zone
|
||||
MapPosition = 0,12,12
|
||||
#-------------------------------
|
||||
[068] # Safari Zone
|
||||
Name = Safari Zone
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,12,12
|
||||
@@ -289,21 +351,25 @@ BattleBack = forest
|
||||
Environment = Forest
|
||||
#-------------------------------
|
||||
[069] # Route 8
|
||||
Name = Route 8
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,13,13
|
||||
DiveMap = 70
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[070] # Underwater
|
||||
[070] # Route 8 underwater
|
||||
Name = Route 8
|
||||
MapPosition = 0,13,13
|
||||
BattleBack = underwater
|
||||
Environment = Underwater
|
||||
#-------------------------------
|
||||
[071] # Harbor
|
||||
[071] # Route 8 harbor
|
||||
Name = Route 8
|
||||
MapPosition = 0,13,13
|
||||
#-------------------------------
|
||||
[072] # Berth Island
|
||||
Name = Berth Island
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
Weather = Storm,50
|
||||
@@ -311,16 +377,19 @@ MapPosition = 0,18,17
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[073] # Faraday Island
|
||||
Name = Faraday Island
|
||||
Outdoor = true
|
||||
ShowArea = true
|
||||
MapPosition = 0,22,16
|
||||
BattleBack = field
|
||||
#-------------------------------
|
||||
[074] # Cycling Road gate
|
||||
[074] # Route 6 Cycling Road gate
|
||||
Name = Route 6
|
||||
Bicycle = true
|
||||
MapPosition = 0,12,10
|
||||
#-------------------------------
|
||||
[075] # Tiall Region
|
||||
Name = Tiall Region
|
||||
Outdoor = true
|
||||
MapPosition = 1,13,16
|
||||
BattleBack = city
|
||||
|
||||
Reference in New Issue
Block a user