import from github
This commit is contained in:
49
data/maps/Route111_OldLadysRestStop/map.json
Normal file
49
data/maps/Route111_OldLadysRestStop/map.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "MAP_ROUTE111_OLD_LADYS_REST_STOP",
|
||||
"name": "Route111_OldLadysRestStop",
|
||||
"layout": "LAYOUT_HOUSE3",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_ROUTE_111",
|
||||
"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_EXPERT_F",
|
||||
"x": 6,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route111_OldLadysRestStop_EventScript_OldLady",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE111",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE111",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
50
data/maps/Route111_OldLadysRestStop/scripts.inc
Normal file
50
data/maps/Route111_OldLadysRestStop/scripts.inc
Normal file
@ -0,0 +1,50 @@
|
||||
Route111_OldLadysRestStop_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Route111_OldLadysRestStop_OnTransition
|
||||
.byte 0
|
||||
|
||||
Route111_OldLadysRestStop_OnTransition:
|
||||
setflag FLAG_LANDMARK_OLD_LADY_REST_SHOP
|
||||
end
|
||||
|
||||
Route111_OldLadysRestStop_EventScript_OldLady::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox Route111_OldLadysRestStop_Text_RestUpHere, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route111_OldLadysRestStop_EventScript_Rest
|
||||
goto_if_eq VAR_RESULT, NO, Route111_OldLadysRestStop_EventScript_DeclineRest
|
||||
end
|
||||
|
||||
Route111_OldLadysRestStop_EventScript_Rest::
|
||||
msgbox Route111_OldLadysRestStop_Text_TakeYourTimeRestUp, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
msgbox Route111_OldLadysRestStop_Text_StillTiredTakeAnotherRest, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route111_OldLadysRestStop_EventScript_Rest
|
||||
goto_if_eq VAR_RESULT, NO, Route111_OldLadysRestStop_EventScript_DeclineRest
|
||||
end
|
||||
|
||||
Route111_OldLadysRestStop_EventScript_DeclineRest::
|
||||
msgbox Route111_OldLadysRestStop_Text_DontNeedToBeShy, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route111_OldLadysRestStop_Text_RestUpHere:
|
||||
.string "Oh, dear, dear.\n"
|
||||
.string "Aren't your POKéMON exhausted?\p"
|
||||
.string "If you'd like, rest up here.\n"
|
||||
.string "That's a fine idea! You should do that.$"
|
||||
|
||||
Route111_OldLadysRestStop_Text_TakeYourTimeRestUp:
|
||||
.string "That's right.\n"
|
||||
.string "Take your time and rest up!$"
|
||||
|
||||
Route111_OldLadysRestStop_Text_StillTiredTakeAnotherRest:
|
||||
.string "Oh, dear, dear.\n"
|
||||
.string "Are your POKéMON still tired?\p"
|
||||
.string "You should take another rest here.\n"
|
||||
.string "That's a fine idea. You should do that.$"
|
||||
|
||||
Route111_OldLadysRestStop_Text_DontNeedToBeShy:
|
||||
.string "Is that so?\n"
|
||||
.string "You don't need to be shy about it.$"
|
||||
|
Reference in New Issue
Block a user