From 89d35e82a27c7328bf5987b4993b3456bb78f440 Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Wed, 20 Jun 2018 17:41:17 -0500 Subject: Move 'map attributes' into 'layouts' --- data/maps/FallarborTown_PokemonCenter_2F/header.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/FallarborTown_PokemonCenter_2F') 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 -- cgit v1.2.3 From 135a11e50eba1e12108e5c2025f534e3bd0cc722 Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Wed, 20 Jun 2018 17:41:41 -0500 Subject: Move events and scripts into map dirs --- data/maps/FallarborTown_PokemonCenter_2F/events.inc | 14 ++++++++++++++ data/maps/FallarborTown_PokemonCenter_2F/scripts.inc | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 data/maps/FallarborTown_PokemonCenter_2F/events.inc create mode 100644 data/maps/FallarborTown_PokemonCenter_2F/scripts.inc (limited to 'data/maps/FallarborTown_PokemonCenter_2F') 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/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 + -- cgit v1.2.3