import from github
This commit is contained in:
95
data/maps/FortreeCity_PokemonCenter_1F/map.json
Normal file
95
data/maps/FortreeCity_PokemonCenter_1F/map.json
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"id": "MAP_FORTREE_CITY_POKEMON_CENTER_1F",
|
||||
"name": "FortreeCity_PokemonCenter_1F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_1F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_FORTREE_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_NURSE",
|
||||
"x": 7,
|
||||
"y": 2,
|
||||
"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": "FortreeCity_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"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": "FortreeCity_PokemonCenter_1F_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 8,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"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": "FortreeCity_PokemonCenter_1F_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"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": "FortreeCity_PokemonCenter_1F_EventScript_Boy",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FORTREE_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FORTREE_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_FORTREE_CITY_POKEMON_CENTER_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
57
data/maps/FortreeCity_PokemonCenter_1F/scripts.inc
Normal file
57
data/maps/FortreeCity_PokemonCenter_1F/scripts.inc
Normal file
@ -0,0 +1,57 @@
|
||||
.set LOCALID_NURSE, 1
|
||||
|
||||
FortreeCity_PokemonCenter_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, FortreeCity_PokemonCenter_1F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||||
.byte 0
|
||||
|
||||
FortreeCity_PokemonCenter_1F_OnTransition:
|
||||
setrespawn HEAL_LOCATION_FORTREE_CITY
|
||||
end
|
||||
|
||||
FortreeCity_PokemonCenter_1F_EventScript_Nurse::
|
||||
setvar VAR_0x800B, LOCALID_NURSE
|
||||
call Common_EventScript_PkmnCenterNurse
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_PokemonCenter_1F_EventScript_Gentleman::
|
||||
msgbox FortreeCity_PokemonCenter_1F_Text_GoToSafariZone, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FortreeCity_PokemonCenter_1F_EventScript_Man::
|
||||
msgbox FortreeCity_PokemonCenter_1F_Text_RecordCornerIsNeat, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FortreeCity_PokemonCenter_1F_EventScript_Boy::
|
||||
msgbox FortreeCity_PokemonCenter_1F_Text_DoYouKnowAboutPokenav, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FortreeCity_PokemonCenter_1F_Text_GoToSafariZone:
|
||||
.string "Listen, kid, are you working\n"
|
||||
.string "on a POKéDEX?\p"
|
||||
.string "Hmm… Go to the SAFARI ZONE.\n"
|
||||
.string "That's my suggestion.$"
|
||||
|
||||
FortreeCity_PokemonCenter_1F_Text_RecordCornerIsNeat:
|
||||
.string "Have you done anything at\n"
|
||||
.string "the RECORD CORNER?\p"
|
||||
.string "It's pretty neat. It mixes and matches\n"
|
||||
.string "the records of TRAINERS.\p"
|
||||
.string "I don't know quite how it works,\n"
|
||||
.string "but it's cool. It's exciting, even!$"
|
||||
|
||||
FortreeCity_PokemonCenter_1F_Text_DoYouKnowAboutPokenav:
|
||||
.string "Oh, wow, you have a POKéNAV!\n"
|
||||
.string "And it's just like mine!\p"
|
||||
.string "Do you know about POKéNAV's\n"
|
||||
.string "MATCH CALL system?\p"
|
||||
.string "Access it, and you can chat with\n"
|
||||
.string "registered TRAINERS anytime.\p"
|
||||
.string "It also shows you which TRAINERS\n"
|
||||
.string "want a rematch with you.\p"
|
||||
.string "It's really nifty! Those DEVON guys\n"
|
||||
.string "sure know what they're doing!$"
|
||||
|
Reference in New Issue
Block a user