summaryrefslogtreecommitdiff
path: root/data/maps/FallarborTown_PokemonCenter_2F
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-07-01 12:16:52 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-07-01 12:16:52 +0200
commitf35c0abe80ce9ec91618b2237d68463100fa4afa (patch)
tree4edd09c2823f967967011d26b39564e4d0f601d8 /data/maps/FallarborTown_PokemonCenter_2F
parentd2e47323fe988e430af782c2c10b8e41e7a131b3 (diff)
parentefebc51972b23ddffa2700b1dd6895d4728646a3 (diff)
merge with battle tent update
Diffstat (limited to 'data/maps/FallarborTown_PokemonCenter_2F')
-rw-r--r--data/maps/FallarborTown_PokemonCenter_2F/events.inc14
-rw-r--r--data/maps/FallarborTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/FallarborTown_PokemonCenter_2F/scripts.inc19
3 files changed, 34 insertions, 1 deletions
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/events.inc b/data/maps/FallarborTown_PokemonCenter_2F/events.inc
new file mode 100644
index 000000000..9162a2822
--- /dev/null
+++ b/data/maps/FallarborTown_PokemonCenter_2F/events.inc
@@ -0,0 +1,14 @@
+FallarborTown_PokemonCenter_2F_EventObjects: @ 852E52C
+ object_event 1, EVENT_OBJ_GFX_TEALA, 0, 6, 2, 0, 8, 1, 1, 0, 0, FallarborTown_PokemonCenter_2F_EventScript_27375B, 0
+ object_event 2, EVENT_OBJ_GFX_TEALA, 0, 2, 2, 3, 8, 1, 1, 0, 0, FallarborTown_PokemonCenter_2F_EventScript_273761, 0
+ object_event 3, EVENT_OBJ_GFX_TEALA, 0, 10, 2, 0, 8, 1, 1, 0, 0, FallarborTown_PokemonCenter_2F_EventScript_273767, 0
+ object_event 4, EVENT_OBJ_GFX_MYSTERY_GIFT_MAN, 0, 1, 2, 0, 8, 1, 1, 0, 0, FallarborTown_PokemonCenter_2F_EventScript_276B03, 702
+
+FallarborTown_PokemonCenter_2F_MapWarps: @ 852E58C
+ warp_def 1, 6, 4, 2, MAP_FALLARBOR_TOWN_POKEMON_CENTER_1F
+ warp_def 5, 1, 3, 0, MAP_UNION_ROOM
+ warp_def 9, 1, 3, 0, MAP_TRADE_CENTER
+
+FallarborTown_PokemonCenter_2F_MapEvents:: @ 852E5A4
+ map_events FallarborTown_PokemonCenter_2F_EventObjects, FallarborTown_PokemonCenter_2F_MapWarps, 0x0, 0x0
+
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/header.inc b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
index 655221b8a..2c67be178 100644
--- a/data/maps/FallarborTown_PokemonCenter_2F/header.inc
+++ b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
@@ -1,5 +1,5 @@
FallarborTown_PokemonCenter_2F: @ 8482E04
- .4byte FallarborTown_PokemonCenter_2F_MapAttributes
+ .4byte PokemonCenter_2F_Layout
.4byte FallarborTown_PokemonCenter_2F_MapEvents
.4byte FallarborTown_PokemonCenter_2F_MapScripts
.4byte 0x0
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/scripts.inc b/data/maps/FallarborTown_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..93482e860
--- /dev/null
+++ b/data/maps/FallarborTown_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,19 @@
+FallarborTown_PokemonCenter_2F_MapScripts:: @ 8200EEB
+ map_script 2, FallarborTown_PokemonCenter_2F_MapScript2_276C3B
+ map_script 4, FallarborTown_PokemonCenter_2F_MapScript2_276B6C
+ map_script 1, FallarborTown_PokemonCenter_2F_MapScript1_276BBE
+ map_script 3, FallarborTown_PokemonCenter_2F_MapScript1_276ACF
+ .byte 0
+
+FallarborTown_PokemonCenter_2F_EventScript_200F00:: @ 8200F00
+ call OldaleTown_PokemonCenter_2F_EventScript_276EB7
+ end
+
+FallarborTown_PokemonCenter_2F_EventScript_200F06:: @ 8200F06
+ call OldaleTown_PokemonCenter_2F_EventScript_2770B2
+ end
+
+FallarborTown_PokemonCenter_2F_EventScript_200F0C:: @ 8200F0C
+ call OldaleTown_PokemonCenter_2F_EventScript_2771DB
+ end
+