import from github
This commit is contained in:
75
data/maps/MossdeepCity_House2/map.json
Normal file
75
data/maps/MossdeepCity_House2/map.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "MAP_MOSSDEEP_CITY_HOUSE2",
|
||||
"name": "MossdeepCity_House2",
|
||||
"layout": "LAYOUT_HOUSE1",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_MOSSDEEP_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
|
||||
"x": 6,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"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_House2_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TWIN",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_House2_EventScript_Twin",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WINGULL",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"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_House2_EventScript_Wingull",
|
||||
"flag": "FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 3
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
70
data/maps/MossdeepCity_House2/scripts.inc
Normal file
70
data/maps/MossdeepCity_House2/scripts.inc
Normal file
@ -0,0 +1,70 @@
|
||||
.set LOCALID_WINGULL, 3
|
||||
|
||||
MossdeepCity_House2_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_House2_EventScript_Man::
|
||||
msgbox MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_House2_EventScript_Twin::
|
||||
msgbox MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_House2_EventScript_Wingull::
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_WINGULL, CRY_MODE_NORMAL
|
||||
msgbox MossdeepCity_House2_Text_Wingull, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
closemessage
|
||||
setflag FLAG_WINGULL_DELIVERED_MAIL
|
||||
clearflag FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL
|
||||
call_if_eq VAR_FACING, DIR_NORTH, MossdeepCity_House2_EventScript_WingullExitNorth
|
||||
call_if_eq VAR_FACING, DIR_WEST, MossdeepCity_House2_EventScript_WingullExitWest
|
||||
removeobject LOCALID_WINGULL
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House2_EventScript_WingullExitNorth::
|
||||
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitNorth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
MossdeepCity_House2_EventScript_WingullExitWest::
|
||||
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitEast
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
MossdeepCity_House2_Movement_WingullExitNorth:
|
||||
walk_fast_right
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_left
|
||||
walk_fast_down
|
||||
delay_8
|
||||
step_end
|
||||
|
||||
MossdeepCity_House2_Movement_WingullExitEast:
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
delay_8
|
||||
step_end
|
||||
|
||||
MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree:
|
||||
.string "My little sister exchanges MAIL with\n"
|
||||
.string "her boyfriend in FORTREE.\p"
|
||||
.string "I don't envy her one bit at all.$"
|
||||
|
||||
MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth:
|
||||
.string "Even though I can't see my friend in\n"
|
||||
.string "FORTREE, my POKéMON carries MAIL\l"
|
||||
.string "back and forth for us.\p"
|
||||
.string "I'm not lonesome, even though we're\n"
|
||||
.string "apart.$"
|
||||
|
||||
MossdeepCity_House2_Text_Wingull:
|
||||
.string "WINGULL: Pihyoh!$"
|
||||
|
Reference in New Issue
Block a user