import from github
This commit is contained in:
108
data/maps/BattleFrontier_PokemonCenter_1F/map.json
Normal file
108
data/maps/BattleFrontier_PokemonCenter_1F/map.json
Normal file
@ -0,0 +1,108 @@
|
||||
{
|
||||
"id": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F",
|
||||
"name": "BattleFrontier_PokemonCenter_1F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_1F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"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": "BattleFrontier_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCHOOL_KID_M",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PICNICKER",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Picnicker",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SKITTY",
|
||||
"x": 1,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Skitty",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
|
||||
"dest_warp_id": 12
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
|
||||
"dest_warp_id": 12
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
61
data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc
Normal file
61
data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc
Normal file
@ -0,0 +1,61 @@
|
||||
.set LOCALID_NURSE, 1
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_PokemonCenter_1F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_OnTransition:
|
||||
setrespawn HEAL_LOCATION_BATTLE_FRONTIER_OUTSIDE_EAST
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_EventScript_Nurse::
|
||||
setvar VAR_0x800B, LOCALID_NURSE
|
||||
call Common_EventScript_PkmnCenterNurse
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid::
|
||||
msgbox BattleFrontier_PokemonCenter_1F_Text_NeverSeenPokemon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_EventScript_Man::
|
||||
msgbox BattleFrontier_PokemonCenter_1F_Text_NextStopBattleArena, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_EventScript_Picnicker::
|
||||
msgbox BattleFrontier_PokemonCenter_1F_Text_GoingThroughEveryChallenge, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_EventScript_Skitty::
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_SKITTY, CRY_MODE_NORMAL
|
||||
msgbox BattleFrontier_PokemonCenter_1F_Text_Skitty, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_Text_NeverSeenPokemon:
|
||||
.string "There was someone here using a \n"
|
||||
.string "POKéMON I've never seen before.\p"
|
||||
.string "I never learned about it at\n"
|
||||
.string "TRAINER'S SCHOOL at least.\p"
|
||||
.string "I wonder where you can catch POKéMON\n"
|
||||
.string "like that.$"
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_Text_NextStopBattleArena:
|
||||
.string "Okay! Next stop, the BATTLE ARENA!\n"
|
||||
.string "I'd better get the right POKéMON from\l"
|
||||
.string "the PC Storage System.$"
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_Text_GoingThroughEveryChallenge:
|
||||
.string "Giggle… I'm going to go through every\n"
|
||||
.string "challenge with just this baby!$"
|
||||
|
||||
BattleFrontier_PokemonCenter_1F_Text_Skitty:
|
||||
.string "SKITTY: Mya myaaah!$"
|
||||
|
Reference in New Issue
Block a user