import from github
This commit is contained in:
108
data/maps/MauvilleCity_PokemonCenter_1F/map.json
Normal file
108
data/maps/MauvilleCity_PokemonCenter_1F/map.json
Normal file
@ -0,0 +1,108 @@
|
||||
{
|
||||
"id": "MAP_MAUVILLE_CITY_POKEMON_CENTER_1F",
|
||||
"name": "MauvilleCity_PokemonCenter_1F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_1F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_MAUVILLE_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": "MauvilleCity_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
|
||||
"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": "MauvilleCity_PokemonCenter_1F_EventScript_MauvilleOldMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1",
|
||||
"x": 8,
|
||||
"y": 6,
|
||||
"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": "MauvilleCity_PokemonCenter_1F_EventScript_Woman1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Woman2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
|
||||
"x": 2,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Youngster",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MAUVILLE_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MAUVILLE_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_MAUVILLE_CITY_POKEMON_CENTER_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
56
data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc
Normal file
56
data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc
Normal file
@ -0,0 +1,56 @@
|
||||
.set LOCALID_NURSE, 1
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, MauvilleCity_PokemonCenter_1F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||||
.byte 0
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_OnTransition:
|
||||
setrespawn HEAL_LOCATION_MAUVILLE_CITY
|
||||
call Common_EventScript_UpdateBrineyLocation
|
||||
goto MauvilleCity_PokemonCenter_1F_EventScript_SetMauvilleOldManGfx
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_EventScript_SetMauvilleOldManGfx::
|
||||
special SetMauvilleOldManObjEventGfx
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_EventScript_Nurse::
|
||||
setvar VAR_0x800B, LOCALID_NURSE
|
||||
call Common_EventScript_PkmnCenterNurse
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_EventScript_Woman1::
|
||||
msgbox MauvilleCity_PokemonCenter_1F_Text_ManOverThereSaysWeirdThings, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_EventScript_Woman2::
|
||||
msgbox MauvilleCity_PokemonCenter_1F_Text_MyDataUpdatedFromRecordCorner, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_EventScript_Youngster::
|
||||
msgbox MauvilleCity_PokemonCenter_1F_Text_RecordCornerSoundsFun, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_Text_ManOverThereSaysWeirdThings:
|
||||
.string "That man over there, he says weird\n"
|
||||
.string "things!\p"
|
||||
.string "He's funny in a weird way.\n"
|
||||
.string "I doubt I'll forget about him!$"
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_Text_MyDataUpdatedFromRecordCorner:
|
||||
.string "When I accessed the RECORD CORNER,\n"
|
||||
.string "the data for what's hot in DEWFORD\l"
|
||||
.string "got updated.\p"
|
||||
.string "Now that bit of data is the same\n"
|
||||
.string "as my friend's!$"
|
||||
|
||||
MauvilleCity_PokemonCenter_1F_Text_RecordCornerSoundsFun:
|
||||
.string "A RECORD CORNER opened upstairs in\n"
|
||||
.string "the POKéMON CENTER.\p"
|
||||
.string "I don't know what it's about, but it\n"
|
||||
.string "sounds fun. I'll go check it out!$"
|
||||
|
Reference in New Issue
Block a user