import from github
This commit is contained in:
88
data/maps/Route111_WinstrateFamilysHouse/map.json
Normal file
88
data/maps/Route111_WinstrateFamilysHouse/map.json
Normal file
@ -0,0 +1,88 @@
|
||||
{
|
||||
"id": "MAP_ROUTE111_WINSTRATE_FAMILYS_HOUSE",
|
||||
"name": "Route111_WinstrateFamilysHouse",
|
||||
"layout": "LAYOUT_HOUSE2",
|
||||
"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_LASS",
|
||||
"x": 7,
|
||||
"y": 5,
|
||||
"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_WinstrateFamilysHouse_EventScript_Vivi",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_1",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"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": "Route111_WinstrateFamilysHouse_EventScript_Victor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
|
||||
"x": 7,
|
||||
"y": 4,
|
||||
"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": "Route111_WinstrateFamilysHouse_EventScript_Victoria",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"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": "Route111_WinstrateFamilysHouse_EventScript_Vicky",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE111",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE111",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
107
data/maps/Route111_WinstrateFamilysHouse/scripts.inc
Normal file
107
data/maps/Route111_WinstrateFamilysHouse/scripts.inc
Normal file
@ -0,0 +1,107 @@
|
||||
.set LOCALID_VIVI, 1
|
||||
.set LOCALID_VICTOR, 2
|
||||
.set LOCALID_VICTORIA, 3
|
||||
.set LOCALID_VICKY, 4
|
||||
|
||||
Route111_WinstrateFamilysHouse_MapScripts::
|
||||
.byte 0
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_Victor::
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8008, LOCALID_VICTOR
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_MySonIsStrongerThanYou, MSGBOX_DEFAULT
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_Victoria::
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8008, LOCALID_VICTORIA
|
||||
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace, MSGBOX_DEFAULT
|
||||
giveitem ITEM_MACHO_BRACE
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MACHO_BRACE
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace::
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_PassionateAboutBattles, MSGBOX_DEFAULT
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_Vivi::
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8008, LOCALID_VIVI
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_StrongerFamilyMembers, MSGBOX_DEFAULT
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_Vicky::
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8008, LOCALID_VICKY
|
||||
goto_if_set FLAG_TEMP_4, Route111_WinstrateFamilysHouse_EventScript_AlreadySpokenTo
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_GrandsonStrong, MSGBOX_DEFAULT
|
||||
setflag FLAG_TEMP_4
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_AlreadySpokenTo::
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_GrandsonStrongShort, MSGBOX_DEFAULT
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection::
|
||||
closemessage
|
||||
applymovement VAR_0x8008, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_MySonIsStrongerThanYou:
|
||||
.string "You're the first TRAINER I've seen who\n"
|
||||
.string "deploys POKéMON so masterfully.\p"
|
||||
.string "But, I should tell you--my son is\n"
|
||||
.string "stronger than you.\p"
|
||||
.string "He even took the POKéMON LEAGUE\n"
|
||||
.string "challenge, I'll have you know.$"
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace:
|
||||
.string "We use this MACHO BRACE to more\n"
|
||||
.string "effectively strengthen our POKéMON\l"
|
||||
.string "in training.\p"
|
||||
.string "Since you've beaten all of us here,\n"
|
||||
.string "I don't know if you need it, but we\l"
|
||||
.string "would like you to have our MACHO BRACE.$"
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_PassionateAboutBattles:
|
||||
.string "When it comes to POKéMON battles,\n"
|
||||
.string "we tend to be pretty passionate.$"
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_StrongerFamilyMembers:
|
||||
.string "Mommy is stronger than Daddy.\p"
|
||||
.string "I'm stronger than Mommy.\p"
|
||||
.string "And Grandma's stronger than me!\p"
|
||||
.string "But my big brother is even stronger\n"
|
||||
.string "than Grandma.$"
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_GrandsonStrong:
|
||||
.string "There's no question that you're strong.\p"
|
||||
.string "But if you were to battle my grandson,\n"
|
||||
.string "you'd end up crying in frustration.\p"
|
||||
.string "He's much stronger than any TRAINER\n"
|
||||
.string "our family knows.\p"
|
||||
.string "He must be challenging the POKéMON\n"
|
||||
.string "LEAGUE CHAMPION by now.\p"
|
||||
.string "Knowing my grandson, he could be the\n"
|
||||
.string "CHAMPION already!$"
|
||||
|
||||
Route111_WinstrateFamilysHouse_Text_GrandsonStrongShort:
|
||||
.string "My grandson must be challenging the\n"
|
||||
.string "POKéMON LEAGUE CHAMPION by now.\p"
|
||||
.string "Knowing my grandson, he could be the\n"
|
||||
.string "CHAMPION already!$"
|
||||
|
Reference in New Issue
Block a user