From 55d66b51770b4f657ed55822e7e76f6d6e3261d8 Mon Sep 17 00:00:00 2001 From: garak Date: Mon, 13 May 2019 19:44:24 -0400 Subject: convert map data to json --- data/maps/SixIsland_PatternBush/map.json | 219 ++++++++++++++++++++++++++++ data/maps/SixIsland_PatternBush/scripts.inc | 92 ++++++++++++ 2 files changed, 311 insertions(+) create mode 100644 data/maps/SixIsland_PatternBush/map.json create mode 100644 data/maps/SixIsland_PatternBush/scripts.inc (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/map.json b/data/maps/SixIsland_PatternBush/map.json new file mode 100644 index 000000000..95f3b63d5 --- /dev/null +++ b/data/maps/SixIsland_PatternBush/map.json @@ -0,0 +1,219 @@ +{ + "id": "MAP_SIX_ISLAND_PATTERN_BUSH", + "name": "SixIsland_PatternBush", + "layout": "LAYOUT_SIX_ISLAND_PATTERN_BUSH", + "music": "BGM_FRLG_VIRIDIAN_FOREST", + "region_map_section": "MAPSEC_PATTERN_BUSH", + "requires_flash": false, + "weather": "WEATHER_0", + "map_type": "MAP_TYPE_3", + "unknown_18": 1, + "unknown_19": 7, + "elevator_flag": 0, + "battle_scene": "BATTLE_SCENE_0", + "connections": null, + "object_events": [ + { + "graphics_id": "28", + "x": 48, + "y": 15, + "elevation": 3, + "movement_type": "20", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 3, + "script": "SSAnne_1F_Room11_EventScript_164590", + "flag": "0" + }, + { + "graphics_id": "28", + "x": 10, + "y": 5, + "elevation": 3, + "movement_type": "18", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 2, + "script": "SSAnne_1F_Room11_EventScript_1645A7", + "flag": "0" + }, + { + "graphics_id": "20", + "x": 51, + "y": 6, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 2, + "script": "SSAnne_1F_Room11_EventScript_1645BE", + "flag": "0" + }, + { + "graphics_id": "20", + "x": 12, + "y": 13, + "elevation": 3, + "movement_type": "2", + "movement_range_x": 1, + "movement_range_y": 2, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 2, + "script": "SSAnne_1F_Room11_EventScript_1645D5", + "flag": "0" + }, + { + "graphics_id": "20", + "x": 37, + "y": 23, + "elevation": 3, + "movement_type": "51", + "movement_range_x": 2, + "movement_range_y": 5, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "SSAnne_1F_Room11_EventScript_1645EC", + "flag": "0" + }, + { + "graphics_id": "18", + "x": 32, + "y": 5, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 2, + "script": "SSAnne_1F_Room11_EventScript_164603", + "flag": "0" + }, + { + "graphics_id": "18", + "x": 52, + "y": 20, + "elevation": 3, + "movement_type": "10", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 4, + "script": "SSAnne_1F_Room11_EventScript_16461A", + "flag": "0" + }, + { + "graphics_id": "22", + "x": 8, + "y": 21, + "elevation": 3, + "movement_type": "17", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 5, + "script": "SSAnne_1F_Room11_EventScript_164631", + "flag": "0" + }, + { + "graphics_id": "22", + "x": 39, + "y": 6, + "elevation": 3, + "movement_type": "2", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 3, + "script": "SSAnne_1F_Room11_EventScript_164648", + "flag": "0" + }, + { + "graphics_id": "39", + "x": 3, + "y": 9, + "elevation": 3, + "movement_type": "3", + "movement_range_x": 1, + "movement_range_y": 2, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 3, + "script": "SSAnne_1F_Room11_EventScript_16465F", + "flag": "0" + }, + { + "graphics_id": "40", + "x": 19, + "y": 24, + "elevation": 3, + "movement_type": "28", + "movement_range_x": 5, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "SSAnne_1F_Room11_EventScript_164676", + "flag": "0" + }, + { + "graphics_id": "56", + "x": 30, + "y": 19, + "elevation": 3, + "movement_type": "7", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 3, + "script": "SSAnne_1F_Room11_EventScript_16468D", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 54, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 0 + }, + { + "x": 55, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 0 + }, + { + "x": 56, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 1 + }, + { + "x": 3, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 2 + }, + { + "x": 4, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 2 + }, + { + "x": 5, + "y": 26, + "elevation": 3, + "dest_map": "MAP_SIX_ISLAND_GREEN_PATH", + "dest_warp_id": 3 + } + ], + "coord_events": [], + "bg_events": [] +} \ No newline at end of file diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc new file mode 100644 index 000000000..a4f5e1b85 --- /dev/null +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -0,0 +1,92 @@ +SixIsland_PatternBush_MapScripts:: @ 8164559 + map_script 3, SSAnne_1F_Room11_MapScript1_16455F + .byte 0 + +SSAnne_1F_Room11_MapScript1_16455F:: @ 816455F + setworldmapflag 2237 + getplayerxy VAR_0x4001, VAR_0x4002 + compare_var_to_value VAR_0x4001, 50 + call_if 4, EventScript_16457E + compare_var_to_value VAR_0x4001, 49 + call_if 3, EventScript_164587 + end + +EventScript_16457E:: @ 816457E + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10 + return + +EventScript_164587:: @ 8164587 + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 + return + +SSAnne_1F_Room11_EventScript_164590:: @ 8164590 + trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 + loadword 0, gUnknown_817BF97 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_1645A7:: @ 81645A7 + trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 + loadword 0, gUnknown_817C056 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_1645BE:: @ 81645BE + trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 + loadword 0, gUnknown_817C113 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_1645D5:: @ 81645D5 + trainerbattle 0, 612, 0, Text_17C155, Text_17C196 + loadword 0, gUnknown_817C1D0 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_1645EC:: @ 81645EC + trainerbattle 0, 613, 0, Text_17C246, Text_17C275 + loadword 0, gUnknown_817C2A4 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_164603:: @ 8164603 + trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D + loadword 0, gUnknown_817C31C + callstd 6 + end + +SSAnne_1F_Room11_EventScript_16461A:: @ 816461A + trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 + loadword 0, gUnknown_817C3CE + callstd 6 + end + +SSAnne_1F_Room11_EventScript_164631:: @ 8164631 + trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 + loadword 0, gUnknown_817C490 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_164648:: @ 8164648 + trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 + loadword 0, gUnknown_817C590 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_16465F:: @ 816465F + trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 + loadword 0, gUnknown_817C615 + callstd 6 + end + +SSAnne_1F_Room11_EventScript_164676:: @ 8164676 + trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 + loadword 0, gUnknown_817C68E + callstd 6 + end + +SSAnne_1F_Room11_EventScript_16468D:: @ 816468D + trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB + loadword 0, gUnknown_817C728 + callstd 6 + end -- cgit v1.2.3 From 2e9d8a61e0882d6606e72185e830a4abc623c21d Mon Sep 17 00:00:00 2001 From: garak Date: Mon, 13 May 2019 21:21:01 -0400 Subject: clean some code in the map dump --- data/maps/SixIsland_PatternBush/map.json | 24 ++++++++++++------------ data/maps/SixIsland_PatternBush/scripts.inc | 28 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/map.json b/data/maps/SixIsland_PatternBush/map.json index 95f3b63d5..a72372cc5 100644 --- a/data/maps/SixIsland_PatternBush/map.json +++ b/data/maps/SixIsland_PatternBush/map.json @@ -23,7 +23,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 3, - "script": "SSAnne_1F_Room11_EventScript_164590", + "script": "SixIsland_PatternBush_EventScript_164590", "flag": "0" }, { @@ -36,7 +36,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 2, - "script": "SSAnne_1F_Room11_EventScript_1645A7", + "script": "SixIsland_PatternBush_EventScript_1645A7", "flag": "0" }, { @@ -49,7 +49,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 2, - "script": "SSAnne_1F_Room11_EventScript_1645BE", + "script": "SixIsland_PatternBush_EventScript_1645BE", "flag": "0" }, { @@ -62,7 +62,7 @@ "movement_range_y": 2, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 2, - "script": "SSAnne_1F_Room11_EventScript_1645D5", + "script": "SixIsland_PatternBush_EventScript_1645D5", "flag": "0" }, { @@ -75,7 +75,7 @@ "movement_range_y": 5, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 1, - "script": "SSAnne_1F_Room11_EventScript_1645EC", + "script": "SixIsland_PatternBush_EventScript_1645EC", "flag": "0" }, { @@ -88,7 +88,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 2, - "script": "SSAnne_1F_Room11_EventScript_164603", + "script": "SixIsland_PatternBush_EventScript_164603", "flag": "0" }, { @@ -101,7 +101,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 4, - "script": "SSAnne_1F_Room11_EventScript_16461A", + "script": "SixIsland_PatternBush_EventScript_16461A", "flag": "0" }, { @@ -114,7 +114,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 5, - "script": "SSAnne_1F_Room11_EventScript_164631", + "script": "SixIsland_PatternBush_EventScript_164631", "flag": "0" }, { @@ -127,7 +127,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 3, - "script": "SSAnne_1F_Room11_EventScript_164648", + "script": "SixIsland_PatternBush_EventScript_164648", "flag": "0" }, { @@ -140,7 +140,7 @@ "movement_range_y": 2, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 3, - "script": "SSAnne_1F_Room11_EventScript_16465F", + "script": "SixIsland_PatternBush_EventScript_16465F", "flag": "0" }, { @@ -153,7 +153,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 1, - "script": "SSAnne_1F_Room11_EventScript_164676", + "script": "SixIsland_PatternBush_EventScript_164676", "flag": "0" }, { @@ -166,7 +166,7 @@ "movement_range_y": 1, "trainer_type": 1, "trainer_sight_or_berry_tree_id": 3, - "script": "SSAnne_1F_Room11_EventScript_16468D", + "script": "SixIsland_PatternBush_EventScript_16468D", "flag": "0" } ], diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc index a4f5e1b85..69a35163d 100644 --- a/data/maps/SixIsland_PatternBush/scripts.inc +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -1,8 +1,8 @@ SixIsland_PatternBush_MapScripts:: @ 8164559 - map_script 3, SSAnne_1F_Room11_MapScript1_16455F + map_script 3, SixIsland_PatternBush_MapScript1_16455F .byte 0 -SSAnne_1F_Room11_MapScript1_16455F:: @ 816455F +SixIsland_PatternBush_MapScript1_16455F:: @ 816455F setworldmapflag 2237 getplayerxy VAR_0x4001, VAR_0x4002 compare_var_to_value VAR_0x4001, 50 @@ -19,73 +19,73 @@ EventScript_164587:: @ 8164587 setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 return -SSAnne_1F_Room11_EventScript_164590:: @ 8164590 +SixIsland_PatternBush_EventScript_164590:: @ 8164590 trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 loadword 0, gUnknown_817BF97 callstd 6 end -SSAnne_1F_Room11_EventScript_1645A7:: @ 81645A7 +SixIsland_PatternBush_EventScript_1645A7:: @ 81645A7 trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 loadword 0, gUnknown_817C056 callstd 6 end -SSAnne_1F_Room11_EventScript_1645BE:: @ 81645BE +SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 loadword 0, gUnknown_817C113 callstd 6 end -SSAnne_1F_Room11_EventScript_1645D5:: @ 81645D5 +SixIsland_PatternBush_EventScript_1645D5:: @ 81645D5 trainerbattle 0, 612, 0, Text_17C155, Text_17C196 loadword 0, gUnknown_817C1D0 callstd 6 end -SSAnne_1F_Room11_EventScript_1645EC:: @ 81645EC +SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC trainerbattle 0, 613, 0, Text_17C246, Text_17C275 loadword 0, gUnknown_817C2A4 callstd 6 end -SSAnne_1F_Room11_EventScript_164603:: @ 8164603 +SixIsland_PatternBush_EventScript_164603:: @ 8164603 trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D loadword 0, gUnknown_817C31C callstd 6 end -SSAnne_1F_Room11_EventScript_16461A:: @ 816461A +SixIsland_PatternBush_EventScript_16461A:: @ 816461A trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 loadword 0, gUnknown_817C3CE callstd 6 end -SSAnne_1F_Room11_EventScript_164631:: @ 8164631 +SixIsland_PatternBush_EventScript_164631:: @ 8164631 trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 loadword 0, gUnknown_817C490 callstd 6 end -SSAnne_1F_Room11_EventScript_164648:: @ 8164648 +SixIsland_PatternBush_EventScript_164648:: @ 8164648 trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 loadword 0, gUnknown_817C590 callstd 6 end -SSAnne_1F_Room11_EventScript_16465F:: @ 816465F +SixIsland_PatternBush_EventScript_16465F:: @ 816465F trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 loadword 0, gUnknown_817C615 callstd 6 end -SSAnne_1F_Room11_EventScript_164676:: @ 8164676 +SixIsland_PatternBush_EventScript_164676:: @ 8164676 trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 loadword 0, gUnknown_817C68E callstd 6 end -SSAnne_1F_Room11_EventScript_16468D:: @ 816468D +SixIsland_PatternBush_EventScript_16468D:: @ 816468D trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB loadword 0, gUnknown_817C728 callstd 6 -- cgit v1.2.3 From 7dca612936fda9254239e0e350a45c56a766053a Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 14 May 2019 16:47:07 -0400 Subject: Fix indentation in .inc files --- data/maps/SixIsland_PatternBush/scripts.inc | 122 ++++++++++++++-------------- 1 file changed, 61 insertions(+), 61 deletions(-) (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc index 69a35163d..fd72430ea 100644 --- a/data/maps/SixIsland_PatternBush/scripts.inc +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -1,92 +1,92 @@ SixIsland_PatternBush_MapScripts:: @ 8164559 - map_script 3, SixIsland_PatternBush_MapScript1_16455F - .byte 0 + map_script 3, SixIsland_PatternBush_MapScript1_16455F + .byte 0 SixIsland_PatternBush_MapScript1_16455F:: @ 816455F - setworldmapflag 2237 - getplayerxy VAR_0x4001, VAR_0x4002 - compare_var_to_value VAR_0x4001, 50 - call_if 4, EventScript_16457E - compare_var_to_value VAR_0x4001, 49 - call_if 3, EventScript_164587 - end + setworldmapflag 2237 + getplayerxy VAR_0x4001, VAR_0x4002 + compare_var_to_value VAR_0x4001, 50 + call_if 4, EventScript_16457E + compare_var_to_value VAR_0x4001, 49 + call_if 3, EventScript_164587 + end EventScript_16457E:: @ 816457E - setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10 - return + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10 + return EventScript_164587:: @ 8164587 - setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 - return + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 + return SixIsland_PatternBush_EventScript_164590:: @ 8164590 - trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 - loadword 0, gUnknown_817BF97 - callstd 6 - end + trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 + loadword 0, gUnknown_817BF97 + callstd 6 + end SixIsland_PatternBush_EventScript_1645A7:: @ 81645A7 - trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 - loadword 0, gUnknown_817C056 - callstd 6 - end + trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 + loadword 0, gUnknown_817C056 + callstd 6 + end SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE - trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 - loadword 0, gUnknown_817C113 - callstd 6 - end + trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 + loadword 0, gUnknown_817C113 + callstd 6 + end SixIsland_PatternBush_EventScript_1645D5:: @ 81645D5 - trainerbattle 0, 612, 0, Text_17C155, Text_17C196 - loadword 0, gUnknown_817C1D0 - callstd 6 - end + trainerbattle 0, 612, 0, Text_17C155, Text_17C196 + loadword 0, gUnknown_817C1D0 + callstd 6 + end SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC - trainerbattle 0, 613, 0, Text_17C246, Text_17C275 - loadword 0, gUnknown_817C2A4 - callstd 6 - end + trainerbattle 0, 613, 0, Text_17C246, Text_17C275 + loadword 0, gUnknown_817C2A4 + callstd 6 + end SixIsland_PatternBush_EventScript_164603:: @ 8164603 - trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D - loadword 0, gUnknown_817C31C - callstd 6 - end + trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D + loadword 0, gUnknown_817C31C + callstd 6 + end SixIsland_PatternBush_EventScript_16461A:: @ 816461A - trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 - loadword 0, gUnknown_817C3CE - callstd 6 - end + trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 + loadword 0, gUnknown_817C3CE + callstd 6 + end SixIsland_PatternBush_EventScript_164631:: @ 8164631 - trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 - loadword 0, gUnknown_817C490 - callstd 6 - end + trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 + loadword 0, gUnknown_817C490 + callstd 6 + end SixIsland_PatternBush_EventScript_164648:: @ 8164648 - trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 - loadword 0, gUnknown_817C590 - callstd 6 - end + trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 + loadword 0, gUnknown_817C590 + callstd 6 + end SixIsland_PatternBush_EventScript_16465F:: @ 816465F - trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 - loadword 0, gUnknown_817C615 - callstd 6 - end + trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 + loadword 0, gUnknown_817C615 + callstd 6 + end SixIsland_PatternBush_EventScript_164676:: @ 8164676 - trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 - loadword 0, gUnknown_817C68E - callstd 6 - end + trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 + loadword 0, gUnknown_817C68E + callstd 6 + end SixIsland_PatternBush_EventScript_16468D:: @ 816468D - trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB - loadword 0, gUnknown_817C728 - callstd 6 - end + trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB + loadword 0, gUnknown_817C728 + callstd 6 + end -- cgit v1.2.3 From 2c20a3214efe5211425a735167070eda2f28f496 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 14 May 2019 16:47:38 -0400 Subject: Document world map flags --- data/maps/SixIsland_PatternBush/scripts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc index fd72430ea..f7debc297 100644 --- a/data/maps/SixIsland_PatternBush/scripts.inc +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -3,7 +3,7 @@ SixIsland_PatternBush_MapScripts:: @ 8164559 .byte 0 SixIsland_PatternBush_MapScript1_16455F:: @ 816455F - setworldmapflag 2237 + setworldmapflag FLAG_WORLD_MAP_SIX_ISLAND_PATTERN_BUSH getplayerxy VAR_0x4001, VAR_0x4002 compare_var_to_value VAR_0x4001, 50 call_if 4, EventScript_16457E -- cgit v1.2.3 From 119693e1816563b66b19eef216f08cab65a644ba Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 16 May 2019 09:38:19 -0400 Subject: propagate msgbox macro --- data/maps/SixIsland_PatternBush/scripts.inc | 36 ++++++++++------------------- 1 file changed, 12 insertions(+), 24 deletions(-) (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc index f7debc297..0575b4855 100644 --- a/data/maps/SixIsland_PatternBush/scripts.inc +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -21,72 +21,60 @@ EventScript_164587:: @ 8164587 SixIsland_PatternBush_EventScript_164590:: @ 8164590 trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 - loadword 0, gUnknown_817BF97 - callstd 6 + msgbox gUnknown_817BF97, 6 end SixIsland_PatternBush_EventScript_1645A7:: @ 81645A7 trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 - loadword 0, gUnknown_817C056 - callstd 6 + msgbox gUnknown_817C056, 6 end SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 - loadword 0, gUnknown_817C113 - callstd 6 + msgbox gUnknown_817C113, 6 end SixIsland_PatternBush_EventScript_1645D5:: @ 81645D5 trainerbattle 0, 612, 0, Text_17C155, Text_17C196 - loadword 0, gUnknown_817C1D0 - callstd 6 + msgbox gUnknown_817C1D0, 6 end SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC trainerbattle 0, 613, 0, Text_17C246, Text_17C275 - loadword 0, gUnknown_817C2A4 - callstd 6 + msgbox gUnknown_817C2A4, 6 end SixIsland_PatternBush_EventScript_164603:: @ 8164603 trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D - loadword 0, gUnknown_817C31C - callstd 6 + msgbox gUnknown_817C31C, 6 end SixIsland_PatternBush_EventScript_16461A:: @ 816461A trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 - loadword 0, gUnknown_817C3CE - callstd 6 + msgbox gUnknown_817C3CE, 6 end SixIsland_PatternBush_EventScript_164631:: @ 8164631 trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 - loadword 0, gUnknown_817C490 - callstd 6 + msgbox gUnknown_817C490, 6 end SixIsland_PatternBush_EventScript_164648:: @ 8164648 trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 - loadword 0, gUnknown_817C590 - callstd 6 + msgbox gUnknown_817C590, 6 end SixIsland_PatternBush_EventScript_16465F:: @ 816465F trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 - loadword 0, gUnknown_817C615 - callstd 6 + msgbox gUnknown_817C615, 6 end SixIsland_PatternBush_EventScript_164676:: @ 8164676 trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 - loadword 0, gUnknown_817C68E - callstd 6 + msgbox gUnknown_817C68E, 6 end SixIsland_PatternBush_EventScript_16468D:: @ 816468D trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB - loadword 0, gUnknown_817C728 - callstd 6 + msgbox gUnknown_817C728, 6 end -- cgit v1.2.3 From cfc43d11115ab3258592801665caef9cfe859589 Mon Sep 17 00:00:00 2001 From: SatoMew Date: Fri, 17 May 2019 14:14:21 +0100 Subject: Label weather --- data/maps/SixIsland_PatternBush/map.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/map.json b/data/maps/SixIsland_PatternBush/map.json index a72372cc5..8d0953181 100644 --- a/data/maps/SixIsland_PatternBush/map.json +++ b/data/maps/SixIsland_PatternBush/map.json @@ -5,7 +5,7 @@ "music": "BGM_FRLG_VIRIDIAN_FOREST", "region_map_section": "MAPSEC_PATTERN_BUSH", "requires_flash": false, - "weather": "WEATHER_0", + "weather": "WEATHER_NONE", "map_type": "MAP_TYPE_3", "unknown_18": 1, "unknown_19": 7, @@ -216,4 +216,4 @@ ], "coord_events": [], "bg_events": [] -} \ No newline at end of file +} -- cgit v1.2.3 From 44e30e713664330179a41f08a90ad7f168fd82da Mon Sep 17 00:00:00 2001 From: garak Date: Tue, 21 May 2019 17:00:28 -0400 Subject: split map text into map directories --- data/maps/SixIsland_PatternBush/text.inc | 156 +++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 data/maps/SixIsland_PatternBush/text.inc (limited to 'data/maps/SixIsland_PatternBush') diff --git a/data/maps/SixIsland_PatternBush/text.inc b/data/maps/SixIsland_PatternBush/text.inc new file mode 100644 index 000000000..eddaf1ed9 --- /dev/null +++ b/data/maps/SixIsland_PatternBush/text.inc @@ -0,0 +1,156 @@ +Text_17BF3A:: @ 817BF3A + .string "I'm curious, how do you raise your\n" + .string "POKéMON?$" + +Text_17BF66:: @ 817BF66 + .string "You raise your POKéMON with a\n" + .string "whole lot of love!$" + +gUnknown_817BF97:: @ 817BF97 + .string "In the same way your mother raised\n" + .string "you full of love, you should raise\l" + .string "your POKéMON.$" + +Text_17BFEB:: @ 817BFEB + .string "I'm working to preserve the natural\n" + .string "ecology of POKéMON here.$" + +Text_17C028:: @ 817C028 + .string "Oh, for someone so young, you are\n" + .string "tremendous!$" + +gUnknown_817C056:: @ 817C056 + .string "I'm not saying that you shouldn't\n" + .string "catch POKéMON.\p" + .string "I just want people to raise their\n" + .string "POKéMON responsibly.$" + +Text_17C0BE:: @ 817C0BE + .string "I caught a BUG POKéMON that lives\n" + .string "only around here!$" + +Text_17C0F2:: @ 817C0F2 + .string "Heheh…\n" + .string "Isn't my POKéMON awesome?$" + +gUnknown_817C113:: @ 817C113 + .string "There's a girl near the BUSH who\n" + .string "measures HERACROSS for TRAINERS.$" + +Text_17C155:: @ 817C155 + .string "You know, it just doesn't feel right\n" + .string "if I don't use BUG POKéMON.$" + +Text_17C196:: @ 817C196 + .string "It's okay, losing is a fun part of\n" + .string "POKéMON's appeal, too.$" + +gUnknown_817C1D0:: @ 817C1D0 + .string "By the way, “appeal” is a weird\n" + .string "word, if you think about it.\p" + .string "Like, is it like an orange peel?\n" + .string "Or like a ringing bell?$" + +Text_17C246:: @ 817C246 + .string "Yeah, yeah, yeah!\n" + .string "Look at all the BUG POKéMON!$" + +Text_17C275:: @ 817C275 + .string "I got beat while I was still busy\n" + .string "celebrating!$" + +gUnknown_817C2A4:: @ 817C2A4 + .string "I'm going to bring my little brother\n" + .string "here next time.$" + +Text_17C2D9:: @ 817C2D9 + .string "Look, look! There are funny\n" + .string "patterns on the ground.$" + +Text_17C30D:: @ 817C30D + .string "Super awesome!$" + +gUnknown_817C31C:: @ 817C31C + .string "The funny patterns on the ground…\p" + .string "They look like the patterns on my\n" + .string "grandpa's clothes.$" + +Text_17C373:: @ 817C373 + .string "I bet you think I'm just some guy,\n" + .string "don't you, eh?$" + +Text_17C3A5:: @ 817C3A5 + .string "I bet you think I'm weak,\n" + .string "don't you, eh?$" + +gUnknown_817C3CE:: @ 817C3CE + .string "Ayup, you townies come around all\n" + .string "so dandy with a hat that flashy…\p" + .string "How about giving me that?$" + +Text_17C42B:: @ 817C42B + .string "Take a deep breath.\n" + .string "Isn't the air delicious?$" + +Text_17C458:: @ 817C458 + .string "If you'd like, I can teach you how\n" + .string "to breathe properly.$" + +gUnknown_817C490:: @ 817C490 + .string "First, exhale.\n" + .string "Blow everything out.\p" + .string "When you can't exhale anymore,\n" + .string "inhale the clean air!\p" + .string "Isn't it refreshing?$" + +Text_17C4FE:: @ 817C4FE + .string "I love BUG POKéMON.\n" + .string "That's why I'm here all the time.\p" + .string "Am I the only girl like that?$" + +Text_17C552:: @ 817C552 + .string "I lost, but I'm still laughing.\n" + .string "Am I the only girl like that?$" + +gUnknown_817C590:: @ 817C590 + .string "I'm going to keep on collecting\n" + .string "BUG POKéMON.\p" + .string "Am I the only girl like that?$" + +Text_17C5DB:: @ 817C5DB + .string "This is a good spot.\n" + .string "I'll pitch my tent here.$" + +Text_17C609:: @ 817C609 + .string "Wimped out…$" + +gUnknown_817C615:: @ 817C615 + .string "I'm going to observe the night sky\n" + .string "here.$" + +Text_17C63E:: @ 817C63E + .string "Oh, yuck!\n" + .string "I think a bug stung me!$" + +Text_17C660:: @ 817C660 + .string "It wasn't a bug.\n" + .string "I cut my shin on some grass.$" + +gUnknown_817C68E:: @ 817C68E + .string "A little cut like that…\n" + .string "A little spit's enough to cure it!$" + +Text_17C6C9:: @ 817C6C9 + .string "Have you noticed something odd\n" + .string "about these parts?$" + +Text_17C6FB:: @ 817C6FB + .string "Have you taken a good look around\n" + .string "your feet?$" + +gUnknown_817C728:: @ 817C728 + .string "There are places here in PATTERN\n" + .string "BUSH where grass won't grow.\p" + .string "What could be the cause of such\n" + .string "a phenomenon?$" + -- cgit v1.2.3