import from github
This commit is contained in:
82
data/maps/SlateportCity_PokemonCenter_1F/map.json
Normal file
82
data/maps/SlateportCity_PokemonCenter_1F/map.json
Normal file
@ -0,0 +1,82 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_POKEMON_CENTER_1F",
|
||||
"name": "SlateportCity_PokemonCenter_1F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_1F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_SLATEPORT_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": "SlateportCity_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SAILOR",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"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": "SlateportCity_PokemonCenter_1F_EventScript_Sailor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 10,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_PokemonCenter_1F_EventScript_Woman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_SLATEPORT_CITY_POKEMON_CENTER_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
42
data/maps/SlateportCity_PokemonCenter_1F/scripts.inc
Normal file
42
data/maps/SlateportCity_PokemonCenter_1F/scripts.inc
Normal file
@ -0,0 +1,42 @@
|
||||
.set LOCALID_NURSE, 1
|
||||
|
||||
SlateportCity_PokemonCenter_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_PokemonCenter_1F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||||
.byte 0
|
||||
|
||||
SlateportCity_PokemonCenter_1F_OnTransition:
|
||||
setrespawn HEAL_LOCATION_SLATEPORT_CITY
|
||||
call Common_EventScript_UpdateBrineyLocation
|
||||
end
|
||||
|
||||
SlateportCity_PokemonCenter_1F_EventScript_Nurse::
|
||||
setvar VAR_0x800B, LOCALID_NURSE
|
||||
call Common_EventScript_PkmnCenterNurse
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_PokemonCenter_1F_EventScript_Sailor::
|
||||
msgbox SlateportCity_PokemonCenter_1F_Text_RaiseDifferentTypesOfPokemon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_PokemonCenter_1F_EventScript_Woman::
|
||||
msgbox SlateportCity_PokemonCenter_1F_Text_TradedMonWithFriend, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_PokemonCenter_1F_Text_RaiseDifferentTypesOfPokemon:
|
||||
.string "Want a tip for battling?\p"
|
||||
.string "I'd say it's raising different kinds\n"
|
||||
.string "of POKéMON in a balanced manner.\p"
|
||||
.string "It's no good to make just one\n"
|
||||
.string "POKéMON strong.\p"
|
||||
.string "If it has a type disadvantage,\n"
|
||||
.string "it might not stand a chance.$"
|
||||
|
||||
SlateportCity_PokemonCenter_1F_Text_TradedMonWithFriend:
|
||||
.string "I trade POKéMON with my friends.\p"
|
||||
.string "If a traded POKéMON is holding an\n"
|
||||
.string "item, it makes me twice as happy!$"
|
||||
|
Reference in New Issue
Block a user