summaryrefslogtreecommitdiff
path: root/data/maps/Route128
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route128')
-rw-r--r--data/maps/Route128/border.bin1
-rw-r--r--data/maps/Route128/connections.inc8
-rw-r--r--data/maps/Route128/events.inc20
-rw-r--r--data/maps/Route128/header.inc10
-rw-r--r--data/maps/Route128/map.binbin9600 -> 0 bytes
-rw-r--r--data/maps/Route128/scripts.inc311
6 files changed, 340 insertions, 10 deletions
diff --git a/data/maps/Route128/border.bin b/data/maps/Route128/border.bin
deleted file mode 100644
index c3fe51511..000000000
--- a/data/maps/Route128/border.bin
+++ /dev/null
@@ -1 +0,0 @@
-pppp \ No newline at end of file
diff --git a/data/maps/Route128/connections.inc b/data/maps/Route128/connections.inc
index 5355677de..5b2f0665d 100644
--- a/data/maps/Route128/connections.inc
+++ b/data/maps/Route128/connections.inc
@@ -1,8 +1,8 @@
Route128_MapConnectionsList: @ 8486C20
- connection up, 0, ROUTE_127, 0
- connection down, 0, ROUTE_129, 0
- connection right, -40, EVER_GRANDE_CITY, 0
- connection dive, 0, UNDERWATER_4, 0
+ connection up, 0, MAP_ROUTE127
+ connection down, 0, MAP_ROUTE129
+ connection right, -40, MAP_EVER_GRANDE_CITY
+ connection dive, 0, MAP_UNDERWATER4
Route128_MapConnections: @ 8486C50
.4byte 0x4
diff --git a/data/maps/Route128/events.inc b/data/maps/Route128/events.inc
new file mode 100644
index 000000000..02d28acfd
--- /dev/null
+++ b/data/maps/Route128/events.inc
@@ -0,0 +1,20 @@
+Route128_EventObjects: @ 852C88C
+ object_event 1, EVENT_OBJ_GFX_SWIMMER_M, 0, 35, 33, 1, MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_UP_LEFT_DOWN, 5, 5, 1, 3, Route128_EventScript_1F6CBE, 0
+ object_event 2, EVENT_OBJ_GFX_SWIMMER_F, 0, 78, 24, 1, MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT, 5, 0, 1, 7, Route128_EventScript_1F6D20, 0
+ object_event 3, EVENT_OBJ_GFX_STEVEN, 0, 40, 22, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, 0x0, 834
+ object_event 4, EVENT_OBJ_GFX_ARCHIE, 0, 37, 22, 3, MOVEMENT_TYPE_FACE_LEFT, 1, 1, 0, 0, 0x0, 944
+ object_event 5, EVENT_OBJ_GFX_MAXIE, 0, 38, 21, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, 0x0, 945
+ object_event 6, EVENT_OBJ_GFX_FISHERMAN, 0, 63, 28, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 1, 0, Route128_EventScript_1F6DB0, 0
+ object_event 7, EVENT_OBJ_GFX_MAN_4, 0, 47, 9, 3, MOVEMENT_TYPE_FACE_RIGHT, 1, 1, 1, 3, Route128_EventScript_1F6D99, 0
+ object_event 8, EVENT_OBJ_GFX_WOMAN_7, 0, 24, 8, 3, MOVEMENT_TYPE_FACE_DOWN_AND_LEFT, 1, 1, 1, 3, Route128_EventScript_1F6D82, 0
+ object_event 9, EVENT_OBJ_GFX_SWIMMER_F, 0, 101, 29, 1, MOVEMENT_TYPE_WALK_UP_AND_DOWN, 1, 3, 1, 4, Route128_EventScript_1F6DDE, 0
+ object_event 10, EVENT_OBJ_GFX_SWIMMER_M, 0, 101, 22, 1, MOVEMENT_TYPE_WALK_DOWN_AND_UP, 1, 3, 1, 4, Route128_EventScript_1F6DC7, 0
+
+Route128_MapBGEvents: @ 852C97C
+ bg_hidden_item_event 49, 9, 3, ITEM_HEART_SCALE, 92
+ bg_hidden_item_event 57, 21, 3, ITEM_HEART_SCALE, 93
+ bg_hidden_item_event 31, 33, 3, ITEM_HEART_SCALE, 94
+
+Route128_MapEvents:: @ 852C9A0
+ map_events Route128_EventObjects, 0x0, 0x0, Route128_MapBGEvents
+
diff --git a/data/maps/Route128/header.inc b/data/maps/Route128/header.inc
index 01d1a46ba..6065e257c 100644
--- a/data/maps/Route128/header.inc
+++ b/data/maps/Route128/header.inc
@@ -1,15 +1,15 @@
Route128: @ 848296C
- .4byte Route128_MapAttributes
+ .4byte Route128_Layout
.4byte Route128_MapEvents
.4byte Route128_MapScripts
.4byte Route128_MapConnections
.2byte MUS_DOORO_X3
.2byte 44
- .byte 43
+ .byte MAPSEC_ROUTE_128
.byte 0
- .byte 2
- .byte 6
+ .byte WEATHER_SUNNY
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
- .byte 0
+ .byte MAP_BATTLE_SCENE_NORMAL
diff --git a/data/maps/Route128/map.bin b/data/maps/Route128/map.bin
deleted file mode 100644
index fae8a373e..000000000
--- a/data/maps/Route128/map.bin
+++ /dev/null
Binary files differ
diff --git a/data/maps/Route128/scripts.inc b/data/maps/Route128/scripts.inc
new file mode 100644
index 000000000..8e2742ff5
--- /dev/null
+++ b/data/maps/Route128/scripts.inc
@@ -0,0 +1,311 @@
+Route128_MapScripts:: @ 81F6B38
+ map_script 3, Route128_MapScript1_1F6B43
+ map_script 2, Route128_MapScript2_1F6B4D
+ .byte 0
+
+Route128_MapScript1_1F6B43: @ 81F6B43
+ checkflag FLAG_SYS_WEATHER_CTRL
+ call_if 1, Route128_EventScript_27207A
+ end
+
+Route128_MapScript2_1F6B4D: @ 81F6B4D
+ map_script_2 VAR_0x407B, 1, Route128_EventScript_1F6B57
+ .2byte 0
+
+Route128_EventScript_1F6B57:: @ 81F6B57
+ lockall
+ delay 20
+ applymovement 4, Route128_Movement_1F6C89
+ waitmovement 0
+ msgbox Route128_Text_1F6DF5, 4
+ closemessage
+ applymovement 4, Route128_Movement_1F6C91
+ waitmovement 0
+ msgbox Route128_Text_1F6E48, 4
+ closemessage
+ applymovement 5, Route128_Movement_1F6CAD
+ waitmovement 0
+ applymovement 4, Route128_Movement_2725A6
+ waitmovement 0
+ msgbox Route128_Text_1F6E5A, 4
+ closemessage
+ applymovement 5, Route128_Movement_1F6CBB
+ waitmovement 0
+ applymovement 255, Route128_Movement_2725A6
+ waitmovement 0
+ msgbox Route128_Text_1F6F1E, 4
+ closemessage
+ applymovement 4, Route128_Movement_1F6C96
+ applymovement 255, Route128_Movement_2725A4
+ applymovement 5, Route128_Movement_1F6CA8
+ waitmovement 0
+ msgbox Route128_Text_1F704F, 4
+ closemessage
+ delay 40
+ applymovement 5, Route128_Movement_1F6CB0
+ applymovement 4, Route128_Movement_1F6C9B
+ waitmovement 0
+ removeobject 5
+ removeobject 4
+ delay 100
+ setfieldeffectargument 0, 1
+ dofieldeffect 30
+ waitfieldeffect 30
+ addobject 3
+ applymovement 3, Route128_Movement_1F6C87
+ waitmovement 0
+ applymovement 255, Route128_Movement_2725A8
+ waitmovement 0
+ msgbox Route128_Text_1F70C9, 4
+ closemessage
+ applymovement 3, Route128_Movement_1F6C85
+ applymovement 255, Route128_Movement_2725A6
+ waitmovement 0
+ msgbox Route128_Text_1F70EA, 4
+ applymovement 3, Route128_Movement_2725AA
+ waitmovement 0
+ msgbox Route128_Text_1F721B, 4
+ closemessage
+ applymovement 3, Route128_Movement_2725AA
+ waitmovement 0
+ delay 50
+ setfieldeffectargument 0, 1
+ dofieldeffect 30
+ delay 15
+ removeobject 3
+ waitfieldeffect 30
+ clearflag FLAG_SPECIAL_FLAG_0x4000
+ setvar VAR_0x407B, 2
+ releaseall
+ end
+
+Route128_Movement_1F6C76: @ 81F6C76
+ walk_fast_left
+ step_end
+
+Route128_Movement_1F6C78: @ 81F6C78
+ walk_left
+ walk_left
+ walk_left
+ walk_left
+ walk_left
+ walk_left
+ walk_up
+ walk_up
+ walk_up
+ walk_up
+ walk_up
+ walk_up
+ step_end
+
+Route128_Movement_1F6C85: @ 81F6C85
+ walk_up
+ step_end
+
+Route128_Movement_1F6C87: @ 81F6C87
+ walk_fast_left
+ step_end
+
+Route128_Movement_1F6C89: @ 81F6C89
+ walk_fast_down
+ walk_in_place_fastest_left
+ delay_16
+ walk_in_place_fastest_right
+ delay_16
+ delay_16
+ walk_in_place_fastest_down
+ step_end
+
+Route128_Movement_1F6C91: @ 81F6C91
+ lock_facing_direction
+ walk_slow_up
+ delay_16
+ unlock_facing_direction
+ step_end
+
+Route128_Movement_1F6C96: @ 81F6C96
+ walk_fast_left
+ walk_fast_left
+ walk_fast_left
+ walk_in_place_fastest_right
+ step_end
+
+Route128_Movement_1F6C9B: @ 81F6C9B
+ delay_16
+ delay_16
+ walk_fast_up
+ walk_fast_left
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ step_end
+
+Route128_Movement_1F6CA8: @ 81F6CA8
+ walk_left
+ walk_left
+ delay_8
+ delay_4
+ step_end
+
+Route128_Movement_1F6CAD: @ 81F6CAD
+ walk_left
+ walk_in_place_fastest_down
+ step_end
+
+Route128_Movement_1F6CB0: @ 81F6CB0
+ walk_fast_left
+ walk_fast_left
+ walk_fast_left
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ walk_fast_up
+ step_end
+
+Route128_Movement_1F6CBB: @ 81F6CBB
+ walk_right
+ walk_in_place_fastest_down
+ step_end
+
+Route128_EventScript_1F6CBE:: @ 81F6CBE
+ trainerbattle 2, TRAINER_ISAIAH_1, 0, Route128_Text_2A287F, Route128_Text_2A28AB, Route128_EventScript_1F6CEA
+ specialvar VAR_RESULT, ShouldTryRematchBattle
+ compare VAR_RESULT, 1
+ goto_eq Route128_EventScript_1F6D09
+ msgbox Route128_Text_2A28D7, 4
+ release
+ end
+
+Route128_EventScript_1F6CEA:: @ 81F6CEA
+ special sub_80B4808
+ waitmovement 0
+ msgbox Route128_Text_2A2916, 4
+ setvar VAR_0x8004, 376
+ special SetMatchCallRegisteredFlag
+ setorcopyvar VAR_0x8000, 376
+ callstd 8
+ release
+ end
+
+Route128_EventScript_1F6D09:: @ 81F6D09
+ trainerbattle 5, TRAINER_ISAIAH_1, 0, Route128_Text_2A2975, Route128_Text_2A29B8
+ msgbox Route128_Text_2A29DC, 6
+ end
+
+Route128_EventScript_1F6D20:: @ 81F6D20
+ trainerbattle 2, TRAINER_KATELYN_1, 0, Route128_Text_2A2A1F, Route128_Text_2A2A94, Route128_EventScript_1F6D4C
+ specialvar VAR_RESULT, ShouldTryRematchBattle
+ compare VAR_RESULT, 1
+ goto_eq Route128_EventScript_1F6D6B
+ msgbox Route128_Text_2A2AB7, 4
+ release
+ end
+
+Route128_EventScript_1F6D4C:: @ 81F6D4C
+ special sub_80B4808
+ waitmovement 0
+ msgbox Route128_Text_2A2AF9, 4
+ setvar VAR_0x8004, 386
+ special SetMatchCallRegisteredFlag
+ setorcopyvar VAR_0x8000, 386
+ callstd 8
+ release
+ end
+
+Route128_EventScript_1F6D6B:: @ 81F6D6B
+ trainerbattle 5, TRAINER_KATELYN_1, 0, Route128_Text_2A2B41, Route128_Text_2A2BAB
+ msgbox Route128_Text_2A2BDD, 6
+ end
+
+Route128_EventScript_1F6D82:: @ 81F6D82
+ trainerbattle 0, TRAINER_ALEXA, 0, Route128_Text_2A2C1C, Route128_Text_2A2C79
+ msgbox Route128_Text_2A2C95, 6
+ end
+
+Route128_EventScript_1F6D99:: @ 81F6D99
+ trainerbattle 0, TRAINER_RUBEN, 0, Route128_Text_2A2CD9, Route128_Text_2A2CFE
+ msgbox Route128_Text_2A2D0D, 6
+ end
+
+Route128_EventScript_1F6DB0:: @ 81F6DB0
+ trainerbattle 0, TRAINER_WAYNE, 0, Route128_Text_2A2D3D, Route128_Text_2A2DA9
+ msgbox Route128_Text_2A2DBA, 6
+ end
+
+Route128_EventScript_1F6DC7:: @ 81F6DC7
+ trainerbattle 0, TRAINER_HARRISON, 0, Route128_Text_2A2E0F, Route128_Text_2A2E44
+ msgbox Route128_Text_2A2E6C, 6
+ end
+
+Route128_EventScript_1F6DDE:: @ 81F6DDE
+ trainerbattle 0, TRAINER_CARLEE, 0, Route128_Text_2A2EC8, Route128_Text_2A2EFA
+ msgbox Route128_Text_2A2F2F, 6
+ end
+
+Route128_Text_1F6DF5: @ 81F6DF5
+ .string "ARCHIE: What happened…\n"
+ .string "What is this wretched scene…\p"
+ .string "Did I…make a horrible mistake?$"
+
+Route128_Text_1F6E48: @ 81F6E48
+ .string "I…\n"
+ .string "I only wanted…$"
+
+Route128_Text_1F6E5A: @ 81F6E5A
+ .string "MAXIE: Do you understand now,\n"
+ .string "ARCHIE?\p"
+ .string "Do you finally see how disastrous\n"
+ .string "your dream turned out to be?\p"
+ .string "We have to hurry! We have to do\n"
+ .string "something before the situation goes\l"
+ .string "completely out of control!$"
+
+Route128_Text_1F6F1E: @ 81F6F1E
+ .string "MAXIE: {PLAYER}, don’t say anything.\p"
+ .string "I know that I have no right to be\n"
+ .string "critical of ARCHIE…\p"
+ .string "But the way things are now, I doubt\n"
+ .string "that we humans will be capable of\l"
+ .string "doing anything about it.\p"
+ .string "But neither can we stand by and\n"
+ .string "just watch helplessly.\p"
+ .string "The responsibility for putting an end\n"
+ .string "to this falls to ARCHIE and me…$"
+
+Route128_Text_1F704F: @ 81F704F
+ .string "MAXIE: This defies belief…\p"
+ .string "Those super-ancient POKéMON…\p"
+ .string "Their power is unbelievable.\n"
+ .string "They’ve upset the balance of nature…$"
+
+Route128_Text_1F70C9: @ 81F70C9
+ .string "STEVEN: {PLAYER}{KUN}!\n"
+ .string "What is happening?$"
+
+Route128_Text_1F70EA: @ 81F70EA
+ .string "This is terrible…\p"
+ .string "After the scorching heat wave ended,\n"
+ .string "this deluge began.\p"
+ .string "If this doesn’t stop, all of HOENN…\n"
+ .string "No, the whole world will drown.\p"
+ .string "This huge rain cloud is spreading\n"
+ .string "from above SOOTOPOLIS…\p"
+ .string "What in the world is taking place there?\p"
+ .string "There’s no point arguing here…\n"
+ .string "SOOTOPOLIS might provide answers…$"
+
+Route128_Text_1F721B: @ 81F721B
+ .string "{PLAYER}{KUN}…\n"
+ .string "I don’t know what you intend to do,\l"
+ .string "but don’t do anything reckless.\p"
+ .string "Okay.\n"
+ .string "I’m going to SOOTOPOLIS.$"
+