summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_PokemonCenter_2F
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-07-22 13:14:58 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-07-22 13:14:58 +0200
commit1e9143e0b22bc72cb77866e10817bc509064842a (patch)
tree87b77fdd2c19d34cb7ac10870fdc4c30188e2d70 /data/maps/BattleFrontier_PokemonCenter_2F
parentc9d486a5d3ea6bf7d256c2d7ca7f10339e498427 (diff)
parent06b3ce408f774c7192202308e783cc22bb8e7643 (diff)
merge union room with master
Diffstat (limited to 'data/maps/BattleFrontier_PokemonCenter_2F')
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_2F/events.inc14
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_2F/header.inc10
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_2F/scripts.inc19
3 files changed, 38 insertions, 5 deletions
diff --git a/data/maps/BattleFrontier_PokemonCenter_2F/events.inc b/data/maps/BattleFrontier_PokemonCenter_2F/events.inc
new file mode 100644
index 000000000..4d0b88090
--- /dev/null
+++ b/data/maps/BattleFrontier_PokemonCenter_2F/events.inc
@@ -0,0 +1,14 @@
+BattleFrontier_PokemonCenter_2F_EventObjects: @ 853D600
+ object_event 1, EVENT_OBJ_GFX_TEALA, 0, 6, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, BattleFrontier_PokemonCenter_2F_EventScript_27375B, 0
+ object_event 2, EVENT_OBJ_GFX_TEALA, 0, 2, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, BattleFrontier_PokemonCenter_2F_EventScript_273761, 0
+ object_event 3, EVENT_OBJ_GFX_TEALA, 0, 10, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, BattleFrontier_PokemonCenter_2F_EventScript_273767, 0
+ object_event 4, EVENT_OBJ_GFX_MYSTERY_GIFT_MAN, 0, 1, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, BattleFrontier_PokemonCenter_2F_EventScript_276B03, 702
+
+BattleFrontier_PokemonCenter_2F_MapWarps: @ 853D660
+ warp_def 1, 6, 4, 2, MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F
+ warp_def 5, 1, 3, 0, MAP_UNION_ROOM
+ warp_def 9, 1, 3, 0, MAP_TRADE_CENTER
+
+BattleFrontier_PokemonCenter_2F_MapEvents:: @ 853D678
+ map_events BattleFrontier_PokemonCenter_2F_EventObjects, BattleFrontier_PokemonCenter_2F_MapWarps, 0x0, 0x0
+
diff --git a/data/maps/BattleFrontier_PokemonCenter_2F/header.inc b/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
index 6aa965d08..4cd607aef 100644
--- a/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
+++ b/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
@@ -1,15 +1,15 @@
BattleFrontier_PokemonCenter_2F: @ 8485724
- .4byte BattleFrontier_PokemonCenter_2F_MapAttributes
+ .4byte PokemonCenter_2F_Layout
.4byte BattleFrontier_PokemonCenter_2F_MapEvents
.4byte BattleFrontier_PokemonCenter_2F_MapScripts
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 58
+ .byte MAPSEC_BATTLE_FRONTIER
.byte 0
- .byte 0
- .byte 8
+ .byte WEATHER_NONE
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
- .byte 0
+ .byte MAP_BATTLE_SCENE_NORMAL
diff --git a/data/maps/BattleFrontier_PokemonCenter_2F/scripts.inc b/data/maps/BattleFrontier_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..7d3c3a2f1
--- /dev/null
+++ b/data/maps/BattleFrontier_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,19 @@
+BattleFrontier_PokemonCenter_2F_MapScripts:: @ 8267AA4
+ map_script 2, BattleFrontier_PokemonCenter_2F_MapScript2_276C3B
+ map_script 4, BattleFrontier_PokemonCenter_2F_MapScript2_276B6C
+ map_script 1, BattleFrontier_PokemonCenter_2F_MapScript1_276BBE
+ map_script 3, BattleFrontier_PokemonCenter_2F_MapScript1_276ACF
+ .byte 0
+
+BattleFrontier_PokemonCenter_2F_EventScript_267AB9:: @ 8267AB9
+ call OldaleTown_PokemonCenter_2F_EventScript_276EB7
+ end
+
+BattleFrontier_PokemonCenter_2F_EventScript_267ABF:: @ 8267ABF
+ call OldaleTown_PokemonCenter_2F_EventScript_2770B2
+ end
+
+BattleFrontier_PokemonCenter_2F_EventScript_267AC5:: @ 8267AC5
+ call OldaleTown_PokemonCenter_2F_EventScript_2771DB
+ end
+