import from github
This commit is contained in:
485
data/maps/MossdeepCity/map.json
Normal file
485
data/maps/MossdeepCity/map.json
Normal file
@@ -0,0 +1,485 @@
|
||||
{
|
||||
"id": "MAP_MOSSDEEP_CITY",
|
||||
"name": "MossdeepCity",
|
||||
"layout": "LAYOUT_MOSSDEEP_CITY",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_MOSSDEEP_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_SUNNY",
|
||||
"map_type": "MAP_TYPE_CITY",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": false,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": [
|
||||
{
|
||||
"direction": "up",
|
||||
"offset": 0,
|
||||
"map": "MAP_ROUTE125"
|
||||
},
|
||||
{
|
||||
"direction": "down",
|
||||
"offset": 0,
|
||||
"map": "MAP_ROUTE127"
|
||||
},
|
||||
{
|
||||
"direction": "left",
|
||||
"offset": -40,
|
||||
"map": "MAP_ROUTE124"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SAILOR",
|
||||
"x": 38,
|
||||
"y": 12,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_Sailor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
|
||||
"x": 50,
|
||||
"y": 34,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_ExpertM",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
|
||||
"x": 32,
|
||||
"y": 12,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_PokefanF",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
|
||||
"x": 26,
|
||||
"y": 21,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_NinjaBoy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GIRL_1",
|
||||
"x": 45,
|
||||
"y": 18,
|
||||
"elevation": 7,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_Girl",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 62,
|
||||
"y": 35,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_ItemNetBall",
|
||||
"flag": "FLAG_ITEM_MOSSDEEP_CITY_NET_BALL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_1",
|
||||
"x": 55,
|
||||
"y": 5,
|
||||
"elevation": 7,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1",
|
||||
"x": 56,
|
||||
"y": 21,
|
||||
"elevation": 7,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
|
||||
"x": 23,
|
||||
"y": 13,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_KingsRockBoy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 44,
|
||||
"y": 23,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 44,
|
||||
"y": 24,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 44,
|
||||
"y": 25,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 44,
|
||||
"y": 26,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAXIE",
|
||||
"x": 45,
|
||||
"y": 25,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 19,
|
||||
"y": 25,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_DOWN",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_DynamicPunchTutor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCOTT",
|
||||
"x": 61,
|
||||
"y": 29,
|
||||
"elevation": 5,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_Scott",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SCOTT"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 31,
|
||||
"y": 29,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_DOWN",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_EventScript_BlackBelt",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 28,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_HOUSE1",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 38,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_GYM",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 28,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_POKEMON_CENTER_1F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 67,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_HOUSE2",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 37,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_MART",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 49,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_HOUSE3",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 19,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_STEVENS_HOUSE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 18,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_HOUSE4",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 64,
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_SPACE_CENTER_1F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 36,
|
||||
"y": 24,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_GAME_CORNER_1F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 25,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "MossdeepCity_EventScript_VisitedMossdeep"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 26,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "MossdeepCity_EventScript_VisitedMossdeep"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 32,
|
||||
"y": 27,
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "MossdeepCity_EventScript_VisitedMossdeep"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 33,
|
||||
"y": 27,
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "MossdeepCity_EventScript_VisitedMossdeep"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 42,
|
||||
"y": 21,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 41,
|
||||
"y": 22,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 41,
|
||||
"y": 23,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 41,
|
||||
"y": 24,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 40,
|
||||
"y": 25,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 40,
|
||||
"y": 26,
|
||||
"elevation": 5,
|
||||
"var": "VAR_MOSSDEEP_CITY_STATE",
|
||||
"var_value": "1",
|
||||
"script": "MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 25,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_EventScript_CitySign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 34,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_EventScript_GymSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 29,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 38,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 66,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_EventScript_SpaceCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 30,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 39,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 57,
|
||||
"y": 21,
|
||||
"elevation": 7,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_EventScript_WhiteRock"
|
||||
}
|
||||
]
|
||||
}
|
435
data/maps/MossdeepCity/scripts.inc
Normal file
435
data/maps/MossdeepCity/scripts.inc
Normal file
@@ -0,0 +1,435 @@
|
||||
.set LOCALID_GRUNT_1, 10
|
||||
.set LOCALID_GRUNT_2, 11
|
||||
.set LOCALID_GRUNT_3, 12
|
||||
.set LOCALID_GRUNT_4, 13
|
||||
.set LOCALID_MAXIE, 14
|
||||
.set LOCALID_SCOTT, 16
|
||||
|
||||
MossdeepCity_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, MossdeepCity_OnTransition
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_OnTransition:
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_1
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_2
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_3
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_4
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAbnormalWeather
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_PokefanF::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_HM08, MossdeepCity_EventScript_PokefanFMagmaGone
|
||||
msgbox MossdeepCity_Text_SpaceCenterReceivedLetter, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_PokefanFMagmaGone::
|
||||
msgbox MossdeepCity_Text_SpaceCenterLaunchingRockets, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_Sailor::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_HM08, MossdeepCity_EventScript_SailorMagmaGone
|
||||
msgbox MossdeepCity_Text_MossdeepTargetedByMagma, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_SailorMagmaGone::
|
||||
msgbox MossdeepCity_Text_FeelReliefOnLand, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_NinjaBoy::
|
||||
msgbox MossdeepCity_Text_WailmerWatching, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_ExpertM::
|
||||
msgbox MossdeepCity_Text_LifeNeedsSeaToLive, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_Girl::
|
||||
msgbox MossdeepCity_Text_NiceIfWorldCoveredByFlowers, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_Woman::
|
||||
msgbox MossdeepCity_Text_SpecialSpaceCenterRock, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_WhiteRock::
|
||||
msgbox MossdeepCity_Text_ItsAWhiteRock, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_GymSign::
|
||||
msgbox MossdeepCity_Text_GymSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_CitySign::
|
||||
msgbox MossdeepCity_Text_CitySign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_SpaceCenterSign::
|
||||
msgbox MossdeepCity_Text_SpaceCenterSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_VisitedMossdeep::
|
||||
setflag FLAG_VISITED_MOSSDEEP_CITY
|
||||
setvar VAR_TEMP_1, 1
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_TeamMagmaEnterSpaceCenter::
|
||||
lockall
|
||||
applymovement LOCALID_MAXIE, MossdeepCity_Movement_MaxieGestureToSpaceCenter
|
||||
waitmovement 0
|
||||
applymovement LOCALID_GRUNT_1, MossdeepCity_Movement_GruntFaceSpaceCenter
|
||||
applymovement LOCALID_GRUNT_2, MossdeepCity_Movement_GruntFaceSpaceCenter
|
||||
applymovement LOCALID_GRUNT_3, MossdeepCity_Movement_GruntFaceSpaceCenter
|
||||
applymovement LOCALID_GRUNT_4, MossdeepCity_Movement_GruntFaceSpaceCenter
|
||||
waitmovement 0
|
||||
applymovement LOCALID_MAXIE, MossdeepCity_Movement_MaxieEnterSpaceCenter
|
||||
applymovement LOCALID_GRUNT_1, MossdeepCity_Movement_Grunt1EnterSpaceCenter
|
||||
applymovement LOCALID_GRUNT_2, MossdeepCity_Movement_Grunt2EnterSpaceCenter
|
||||
applymovement LOCALID_GRUNT_3, MossdeepCity_Movement_Grunt3EnterSpaceCenter
|
||||
applymovement LOCALID_GRUNT_4, MossdeepCity_Movement_Grunt4EnterSpaceCenter
|
||||
waitmovement 0
|
||||
removeobject LOCALID_MAXIE
|
||||
removeobject LOCALID_GRUNT_1
|
||||
removeobject LOCALID_GRUNT_2
|
||||
removeobject LOCALID_GRUNT_3
|
||||
removeobject LOCALID_GRUNT_4
|
||||
delay 30
|
||||
setvar VAR_MOSSDEEP_CITY_STATE, 2
|
||||
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
|
||||
releaseall
|
||||
end
|
||||
|
||||
MossdeepCity_Movement_MaxieGestureToSpaceCenter:
|
||||
delay_16
|
||||
face_right
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
face_left
|
||||
delay_16
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_GruntFaceSpaceCenter:
|
||||
face_right
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_MaxieEnterSpaceCenter:
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_Grunt1EnterSpaceCenter:
|
||||
delay_16
|
||||
delay_8
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_Grunt2EnterSpaceCenter:
|
||||
delay_16
|
||||
delay_8
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_Grunt3EnterSpaceCenter:
|
||||
delay_16
|
||||
delay_8
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_Grunt4EnterSpaceCenter:
|
||||
delay_16
|
||||
delay_8
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
MossdeepCity_EventScript_Man::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox MossdeepCity_Text_SurfExhilarating, MSGBOX_DEFAULT
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_KingsRockBoy::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_KINGS_ROCK, MossdeepCity_EventScript_ReceivedKingsRock
|
||||
msgbox MossdeepCity_Text_WantKingsRockStevenGaveMe, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, MossdeepCity_EventScript_DeclineKingsRock
|
||||
msgbox MossdeepCity_Text_YouCanKeepIt, MSGBOX_DEFAULT
|
||||
giveitem ITEM_KINGS_ROCK
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_KINGS_ROCK
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_ReceivedKingsRock::
|
||||
msgbox MossdeepCity_Text_StevensHouseOverThere, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_DeclineKingsRock::
|
||||
msgbox MossdeepCity_Text_WhatToDoWithWeirdRock, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_BlackBelt::
|
||||
msgbox MossdeepCity_Text_SootopolisNewGymLeader, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_Scott::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox MossdeepCity_Text_ScottSomethingWrongWithTown, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call_if_eq VAR_FACING, DIR_NORTH, MossdeepCity_EventScript_ScottExitNorth
|
||||
call_if_eq VAR_FACING, DIR_EAST, MossdeepCity_EventScript_ScottExitEast
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
removeobject LOCALID_SCOTT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_ScottExitNorth::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, MossdeepCity_Movement_PlayerWatchScottExit
|
||||
applymovement LOCALID_SCOTT, MossdeepCity_Movement_ScottExitNorth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
MossdeepCity_EventScript_ScottExitEast::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, MossdeepCity_Movement_PlayerWatchScottExit
|
||||
applymovement LOCALID_SCOTT, MossdeepCity_Movement_ScottExitEast
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
MossdeepCity_Movement_PlayerWatchScottExit:
|
||||
delay_16
|
||||
delay_16
|
||||
walk_in_place_faster_left
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_ScottExitNorth:
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
step_end
|
||||
|
||||
MossdeepCity_Movement_ScottExitEast:
|
||||
walk_down
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
step_end
|
||||
|
||||
MossdeepCity_Text_WantKingsRockStevenGaveMe:
|
||||
.string "I got this from STEVEN, but I don't\n"
|
||||
.string "know what it's good for.\p"
|
||||
.string "I think it's called KING'S ROCK.\n"
|
||||
.string "Do you want it?$"
|
||||
|
||||
MossdeepCity_Text_YouCanKeepIt:
|
||||
.string "Why would you want it?\n"
|
||||
.string "You're weird.\p"
|
||||
.string "You can keep it, but keep it a secret\n"
|
||||
.string "from STEVEN.$"
|
||||
|
||||
MossdeepCity_Text_StevensHouseOverThere:
|
||||
.string "STEVEN's house is right over there!$"
|
||||
|
||||
MossdeepCity_Text_WhatToDoWithWeirdRock:
|
||||
.string "Yeah, you think so, too! What are you\n"
|
||||
.string "supposed to do with some weird rock?$"
|
||||
|
||||
MossdeepCity_Text_WailmerWatching:
|
||||
.string "Around MOSSDEEP, you can see wild\n"
|
||||
.string "WAILMER.\p"
|
||||
.string "It's called, uh…\n"
|
||||
.string "What was it now…\p"
|
||||
.string "WAI, WAI, WAI…\p"
|
||||
.string "WAILMER watching!$"
|
||||
|
||||
MossdeepCity_Text_SpaceCenterReceivedLetter:
|
||||
.string "The island's SPACE CENTER has been\n"
|
||||
.string "launching huge rockets.\p"
|
||||
.string "There's been some kind of an uproar\n"
|
||||
.string "over a letter they received recently.$"
|
||||
|
||||
MossdeepCity_Text_SpaceCenterLaunchingRockets:
|
||||
.string "The island's SPACE CENTER has been\n"
|
||||
.string "launching huge rockets.$"
|
||||
|
||||
MossdeepCity_Text_MossdeepTargetedByMagma:
|
||||
.string "I heard from a SAILOR buddy that\n"
|
||||
.string "TEAM AQUA set up shop in LILYCOVE.\p"
|
||||
.string "I also heard that someone came along\n"
|
||||
.string "and wiped the floor with them!\p"
|
||||
.string "But MOSSDEEP here's been targeted\n"
|
||||
.string "by that TEAM MAGMA.\p"
|
||||
.string "If you want to know what they're up to,\n"
|
||||
.string "go visit the SPACE CENTER.$"
|
||||
|
||||
MossdeepCity_Text_FeelReliefOnLand:
|
||||
.string "I'm a SAILOR, so the sea's obviously\n"
|
||||
.string "more important to me.\p"
|
||||
.string "But you know? When I get back on land\n"
|
||||
.string "after a long voyage, I do feel relief!$"
|
||||
|
||||
MossdeepCity_Text_NiceIfWorldCoveredByFlowers:
|
||||
.string "Wouldn't it be nice?\p"
|
||||
.string "If the whole world was covered in\n"
|
||||
.string "plants and flowers like this island?$"
|
||||
|
||||
MossdeepCity_Text_LifeNeedsSeaToLive:
|
||||
.string "All life needs the sea to live, even\n"
|
||||
.string "though it makes its home on the land.\p"
|
||||
.string "Life, having run its course, becomes\n"
|
||||
.string "soil and returns to the land.\p"
|
||||
.string "And the sea is always connected to\n"
|
||||
.string "the land.\p"
|
||||
.string "Yes, like the very shoreline here.$"
|
||||
|
||||
MossdeepCity_Text_SurfExhilarating:
|
||||
.string "A voyage on a ship is fine.\p"
|
||||
.string "But crossing the sea with POKéMON\n"
|
||||
.string "using SURF…\p"
|
||||
.string "Now that's an exhilarating trip!\n"
|
||||
.string "Wouldn't you agree, youngster?$"
|
||||
|
||||
MossdeepCity_Text_SpecialSpaceCenterRock:
|
||||
.string "This rock has a special meaning to\n"
|
||||
.string "the people at the SPACE CENTER.\p"
|
||||
.string "They put it here as their wish for\n"
|
||||
.string "their rockets to fly safely.\p"
|
||||
.string "When you make a wish, what do you use?\n"
|
||||
.string "Do you wish upon a star?\p"
|
||||
.string "I use a wish tag to make it happen.\n"
|
||||
.string "That's what I do.$"
|
||||
|
||||
MossdeepCity_Text_ItsAWhiteRock:
|
||||
.string "It's a white rock.$"
|
||||
|
||||
MossdeepCity_Text_GymSign:
|
||||
.string "MOSSDEEP CITY POKéMON GYM\n"
|
||||
.string "LEADERS: LIZA & TATE\p"
|
||||
.string "“The mystic combination!”$"
|
||||
|
||||
MossdeepCity_Text_CitySign:
|
||||
.string "MOSSDEEP CITY\n"
|
||||
.string "“Our slogan: Cherish POKéMON!”$"
|
||||
|
||||
MossdeepCity_Text_SpaceCenterSign:
|
||||
.string "MOSSDEEP SPACE CENTER\n"
|
||||
.string "“The closest place to space.”$"
|
||||
|
||||
MossdeepCity_Text_ScottSomethingWrongWithTown:
|
||||
.string "SCOTT: {PLAYER}{KUN}, feeling good?\n"
|
||||
.string "I'm doing great!\p"
|
||||
.string "I'd heard MOSSDEEP's GYM LEADER is\n"
|
||||
.string "pretty strong, so I decided to come\l"
|
||||
.string "take a look-see for myself.\p"
|
||||
.string "But there's something wrong about\n"
|
||||
.string "this town.\p"
|
||||
.string "People are going on about a warning\n"
|
||||
.string "letter and the SPACE CENTER…\p"
|
||||
.string "I don't think it concerns me in any\n"
|
||||
.string "way, though.$"
|
||||
|
||||
MossdeepCity_Text_SootopolisNewGymLeader:
|
||||
.string "Ahh… It feels great letting the waves\n"
|
||||
.string "wash over my feet…\p"
|
||||
.string "Speaking of the waves, you know that\n"
|
||||
.string "island city SOOTOPOLIS?\p"
|
||||
.string "I think the GYM there had a new\n"
|
||||
.string "LEADER come in.\p"
|
||||
.string "People tell me the new LEADER once\n"
|
||||
.string "mentored WALLACE.$"
|
||||
|
Reference in New Issue
Block a user