import from github
This commit is contained in:
95
data/maps/SootopolisCity_PokemonCenter_1F/map.json
Normal file
95
data/maps/SootopolisCity_PokemonCenter_1F/map.json
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"id": "MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_1F",
|
||||
"name": "SootopolisCity_PokemonCenter_1F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_1F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_SOOTOPOLIS_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": "SootopolisCity_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 12,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"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": "SootopolisCity_PokemonCenter_1F_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"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": "SootopolisCity_PokemonCenter_1F_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"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": "SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
72
data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc
Normal file
72
data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc
Normal file
@ -0,0 +1,72 @@
|
||||
.set LOCALID_NURSE, 1
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SootopolisCity_PokemonCenter_1F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||||
.byte 0
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_OnTransition:
|
||||
setrespawn HEAL_LOCATION_SOOTOPOLIS_CITY
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_Nurse::
|
||||
setvar VAR_0x800B, LOCALID_NURSE
|
||||
call Common_EventScript_PkmnCenterNurse
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_Gentleman::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_EveryoneTakenRefuge, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries::
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_WallaceToughestInHoenn, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_Woman::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_ArentPokemonOurFriends, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries::
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_AlwaysBeFriendsWithPokemon, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_Text_WallaceToughestInHoenn:
|
||||
.string "WALLACE is rumored to be the toughest\n"
|
||||
.string "TRAINER in the whole HOENN region.\p"
|
||||
.string "This town's GYM is led by the TRAINER\n"
|
||||
.string "who taught WALLACE.\p"
|
||||
.string "But the ELITE FOUR… They're said to be\n"
|
||||
.string "even stronger than WALLACE's mentor.\p"
|
||||
.string "How strong could they be?$"
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_Text_EveryoneTakenRefuge:
|
||||
.string "Everyone in town has taken refuge\n"
|
||||
.string "and won't come out of their homes.\p"
|
||||
.string "Even I would rather not venture\n"
|
||||
.string "outside.$"
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_Text_AlwaysBeFriendsWithPokemon:
|
||||
.string "Whenever, wherever, and whatever\n"
|
||||
.string "happens, I will always be friends with\l"
|
||||
.string "POKéMON.\p"
|
||||
.string "Because it's fun to be with POKéMON!$"
|
||||
|
||||
SootopolisCity_PokemonCenter_1F_Text_ArentPokemonOurFriends:
|
||||
.string "Aren't POKéMON our friends?\p"
|
||||
.string "Why are they going wild this way?$"
|
||||
|
Reference in New Issue
Block a user