import from github
This commit is contained in:
114
data/maps/LilycoveCity_House3/map.json
Normal file
114
data/maps/LilycoveCity_House3/map.json
Normal file
@ -0,0 +1,114 @@
|
||||
{
|
||||
"id": "MAP_LILYCOVE_CITY_HOUSE3",
|
||||
"name": "LilycoveCity_House3",
|
||||
"layout": "LAYOUT_HOUSE2",
|
||||
"music": "MUS_LILYCOVE",
|
||||
"region_map_section": "MAPSEC_LILYCOVE_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_GAMEBOY_KID",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_House3_EventScript_GameBoyKid4",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
|
||||
"x": 7,
|
||||
"y": 4,
|
||||
"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": "LilycoveCity_House3_EventScript_PokefanF",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GAMEBOY_KID",
|
||||
"x": 1,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_House3_EventScript_GameBoyKid2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GAMEBOY_KID",
|
||||
"x": 2,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_House3_EventScript_GameBoyKid3",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GAMEBOY_KID",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_House3_EventScript_GameBoyKid1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_1",
|
||||
"x": 7,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_House3_EventScript_Man",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 10
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 10
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
168
data/maps/LilycoveCity_House3/scripts.inc
Normal file
168
data/maps/LilycoveCity_House3/scripts.inc
Normal file
@ -0,0 +1,168 @@
|
||||
LilycoveCity_House3_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_House3_OnTransition
|
||||
.byte 0
|
||||
|
||||
LilycoveCity_House3_OnTransition:
|
||||
random 4
|
||||
copyvar VAR_TEMP_1, VAR_RESULT
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_PokefanF::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox LilycoveCity_House3_Text_LearnFromMasterOfPokeblocks, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, LilycoveCity_House3_EventScript_DeclinePokeblockLearn
|
||||
msgbox LilycoveCity_House3_Text_ExplainPokeblocks, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_DeclinePokeblockLearn::
|
||||
msgbox LilycoveCity_House3_Text_OhAreYouSure, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_Man::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox LilycoveCity_House3_Text_HappyToHaveQuadruplets, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_GameBoyKid1::
|
||||
lock
|
||||
faceplayer
|
||||
switch VAR_TEMP_1
|
||||
case 0, LilycoveCity_House3_EventScript_WereDoingMultiBattle
|
||||
case 1, LilycoveCity_House3_EventScript_WereMixingRecords
|
||||
case 2, LilycoveCity_House3_EventScript_WereBlendingBerries
|
||||
case 3, LilycoveCity_House3_EventScript_WereDoingContest
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_GameBoyKid2::
|
||||
lock
|
||||
faceplayer
|
||||
switch VAR_TEMP_1
|
||||
case 0, LilycoveCity_House3_EventScript_WereDoingMultiBattle
|
||||
case 1, LilycoveCity_House3_EventScript_WereMixingRecords
|
||||
case 2, LilycoveCity_House3_EventScript_WereBlendingBerries
|
||||
case 3, LilycoveCity_House3_EventScript_WereDoingContest
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_GameBoyKid3::
|
||||
lock
|
||||
faceplayer
|
||||
switch VAR_TEMP_1
|
||||
case 0, LilycoveCity_House3_EventScript_WereDoingMultiBattle
|
||||
case 1, LilycoveCity_House3_EventScript_WereMixingRecords
|
||||
case 2, LilycoveCity_House3_EventScript_WereBlendingBerries
|
||||
case 3, LilycoveCity_House3_EventScript_WereDoingContest
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_GameBoyKid4::
|
||||
lock
|
||||
faceplayer
|
||||
switch VAR_TEMP_1
|
||||
case 0, LilycoveCity_House3_EventScript_WereDoingMultiBattle
|
||||
case 1, LilycoveCity_House3_EventScript_WereMixingRecords
|
||||
case 2, LilycoveCity_House3_EventScript_WereBlendingBerries
|
||||
case 3, LilycoveCity_House3_EventScript_WereDoingContest
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_WereDoingMultiBattle::
|
||||
msgbox LilycoveCity_House3_Text_GoingToWinMultiBattles, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_WereMixingRecords::
|
||||
msgbox LilycoveCity_House3_Text_LikeMixingAtRecordCorner, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_WereBlendingBerries::
|
||||
msgbox LilycoveCity_House3_Text_MakePokeblocksWithBerryBlender, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_EventScript_WereDoingContest::
|
||||
msgbox LilycoveCity_House3_Text_GoingToEnterContest, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House3_Text_LearnFromMasterOfPokeblocks:
|
||||
.string "Oh, my, my! Are you traveling alone?\n"
|
||||
.string "But you're so young! Good for you!\p"
|
||||
.string "I'm sure my kids could learn a thing\n"
|
||||
.string "or two from you!\p"
|
||||
.string "Me? I'm a master of {POKEBLOCK}S.\p"
|
||||
.string "If I get serious just a little, why,\n"
|
||||
.string "I can concoct great {POKEBLOCK}S.\p"
|
||||
.string "Would you like to learn from me,\n"
|
||||
.string "a master of {POKEBLOCK}S?$"
|
||||
|
||||
LilycoveCity_House3_Text_OhAreYouSure:
|
||||
.string "Oh? Are you sure?\p"
|
||||
.string "You shouldn't always try to do\n"
|
||||
.string "everything by yourself, dear!$"
|
||||
|
||||
LilycoveCity_House3_Text_ExplainPokeblocks:
|
||||
.string "Oh, good! You're a smart soul!\n"
|
||||
.string "This is a bit long, so listen up!\p"
|
||||
.string "Are you ready?\p"
|
||||
.string "If you look at {POKEBLOCK}S, you should see\n"
|
||||
.string "that they are rated on how they feel.\p"
|
||||
.string "The lower the feel rating,\n"
|
||||
.string "the better it is. Don't forget this!\p"
|
||||
.string "A good {POKEBLOCK} has a low feel\n"
|
||||
.string "rating and a high level.\p"
|
||||
.string "A POKéMON can eat more good\n"
|
||||
.string "{POKEBLOCK}S than ordinary ones, too.\p"
|
||||
.string "And this is important.\p"
|
||||
.string "If you want to make smooth {POKEBLOCK}S,\n"
|
||||
.string "use different kinds of BERRIES.\p"
|
||||
.string "Don't be stingy--the kinds of BERRIES\n"
|
||||
.string "affect the smoothness of {POKEBLOCK}S.\p"
|
||||
.string "And another thing.\p"
|
||||
.string "The more people blending BERRIES,\n"
|
||||
.string "the smoother the {POKEBLOCK}S.\p"
|
||||
.string "That's why you should talk to other\n"
|
||||
.string "people and make {POKEBLOCK}S together.\p"
|
||||
.string "That's about all you need to know to\n"
|
||||
.string "make good {POKEBLOCK}S.\p"
|
||||
.string "If everyone had POKéMON they love,\n"
|
||||
.string "smooth {POKEBLOCK}S, and a loving family,\l"
|
||||
.string "the world would be a happier place.\p"
|
||||
.string "Don't give up, dear!$"
|
||||
|
||||
LilycoveCity_House3_Text_HappyToHaveQuadruplets:
|
||||
.string "When my wife gave birth to quadruplets,\n"
|
||||
.string "you bet I was shocked.\p"
|
||||
.string "But, now, seeing them play together,\n"
|
||||
.string "it makes me happy.$"
|
||||
|
||||
LilycoveCity_House3_Text_GoingToWinMultiBattles:
|
||||
.string "We're having MULTI BATTLES, but I know\n"
|
||||
.string "I'm going to win.$"
|
||||
|
||||
LilycoveCity_House3_Text_LikeMixingAtRecordCorner:
|
||||
.string "We like mixing stuff at\n"
|
||||
.string "the RECORD CORNER.\p"
|
||||
.string "But what gets mixed up?$"
|
||||
|
||||
LilycoveCity_House3_Text_MakePokeblocksWithBerryBlender:
|
||||
.string "We're going to make super {POKEBLOCK}S\n"
|
||||
.string "with a BERRY BLENDER!$"
|
||||
|
||||
LilycoveCity_House3_Text_GoingToEnterContest:
|
||||
.string "I want to brag about how tough my\n"
|
||||
.string "POKéMON is, so we're going to enter\l"
|
||||
.string "a CONTEST together.$"
|
||||
|
Reference in New Issue
Block a user