import from github
This commit is contained in:
133
data/maps/RustboroCity_Flat1_2F/map.json
Normal file
133
data/maps/RustboroCity_Flat1_2F/map.json
Normal file
@ -0,0 +1,133 @@
|
||||
{
|
||||
"id": "MAP_RUSTBORO_CITY_FLAT1_2F",
|
||||
"name": "RustboroCity_Flat1_2F",
|
||||
"layout": "LAYOUT_RUSTBORO_CITY_FLAT1_2F",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_RUSTBORO_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_POKEFAN_F",
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "RustboroCity_Flat1_2F_EventScript_WaldasMom",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TWIN",
|
||||
"x": 9,
|
||||
"y": 5,
|
||||
"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": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SKITTY_DOLL",
|
||||
"x": 9,
|
||||
"y": 4,
|
||||
"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": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TREECKO_DOLL",
|
||||
"x": 10,
|
||||
"y": 5,
|
||||
"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": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TORCHIC_DOLL",
|
||||
"x": 10,
|
||||
"y": 6,
|
||||
"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": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_1",
|
||||
"x": 8,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "RustboroCity_Flat1_2F_EventScript_WaldasDad",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MUDKIP_DOLL",
|
||||
"x": 8,
|
||||
"y": 6,
|
||||
"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": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PIKACHU_DOLL",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"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": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_RUSTBORO_CITY_FLAT1_1F",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
178
data/maps/RustboroCity_Flat1_2F/scripts.inc
Normal file
178
data/maps/RustboroCity_Flat1_2F/scripts.inc
Normal file
@ -0,0 +1,178 @@
|
||||
.set LOCALID_WALDAS_DAD, 6
|
||||
|
||||
RustboroCity_Flat1_2F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldasDad::
|
||||
lock
|
||||
faceplayer
|
||||
specialvar VAR_RESULT, TryBufferWaldaPhrase
|
||||
goto_if_eq VAR_RESULT, FALSE, RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase
|
||||
goto_if_eq VAR_RESULT, TRUE, RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_GivePhrase::
|
||||
special DoWaldaNamingScreen
|
||||
waitstate
|
||||
goto_if_eq VAR_0x8004, 1, RustboroCity_Flat1_2F_EventScript_CancelGivePhrase
|
||||
goto_if_eq VAR_0x8004, 2, RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase
|
||||
specialvar VAR_RESULT, TryGetWallpaperWithWaldaPhrase
|
||||
goto_if_eq VAR_RESULT, TRUE, RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase
|
||||
goto_if_eq VAR_RESULT, FALSE, RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
|
||||
msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
|
||||
goto RustboroCity_Flat1_2F_EventScript_GivePhrase
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
|
||||
msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
|
||||
goto RustboroCity_Flat1_2F_EventScript_GivePhrase
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_OhIsThatRight, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_CancelGivePhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_OhYouDontKnowAny, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase, MSGBOX_DEFAULT
|
||||
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
|
||||
msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry2, MSGBOX_DEFAULT
|
||||
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
|
||||
msgbox RustboroCity_Flat1_2F_Text_OhShesLaughing, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_WALDAS_DAD, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase::
|
||||
msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry, MSGBOX_DEFAULT
|
||||
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
|
||||
msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda::
|
||||
turnobject LOCALID_WALDAS_DAD, DIR_EAST
|
||||
return
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_WaldasMom::
|
||||
msgbox RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard, MSGBOX_NPC
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_EventScript_PokeDoll::
|
||||
msgbox RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard:
|
||||
.string "Oh, it's so hard every day…\p"
|
||||
.string "What's hard?\n"
|
||||
.string "You need to ask?\p"
|
||||
.string "It's trying to figure out what to\n"
|
||||
.string "make for meals every day.\p"
|
||||
.string "It really isn't easy coming up with\n"
|
||||
.string "meals every day.$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase:
|
||||
.string "Oh, hello!\n"
|
||||
.string "Welcome to the PEPPER household.\p"
|
||||
.string "I have a question for you.\n"
|
||||
.string "Have you ever baby-sat?\p"
|
||||
.string "You see, I'm a new father, so raising\n"
|
||||
.string "a child is all new to me.\p"
|
||||
.string "And I have a problem. My daughter\n"
|
||||
.string "WALDA doesn't laugh enough.\p"
|
||||
.string "I think she'd laugh for me if I told\n"
|
||||
.string "her something funny.\p"
|
||||
.string "Do you know of a funny word or\n"
|
||||
.string "phrase you can tell me?$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase:
|
||||
.string "I've been saying “{STR_VAR_1}”\n"
|
||||
.string "to amuse her lately.\p"
|
||||
.string "Do you know of a better word or\n"
|
||||
.string "a phrase that might work?$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion:
|
||||
.string "Oh, that's wonderful.\n"
|
||||
.string "So, let's hear it, your suggestion.$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_OhIsThatRight:
|
||||
.string "Oh, is that right?\p"
|
||||
.string "Well, if you come up with a good\n"
|
||||
.string "suggestion, I'm all ears.$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_LetsGiveItATry2:
|
||||
.string "Ah, I see.\n"
|
||||
.string "Well, let's give it a try, shall we?$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_OhShesLaughing:
|
||||
.string "{STR_VAR_1}.\n"
|
||||
.string "{STR_VAR_1}.\p"
|
||||
.string "Oh, yes! She's laughing!\n"
|
||||
.string "Oh, I am as delighted as she!$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_LetsGiveItATry:
|
||||
.string "Ah, I see.\n"
|
||||
.string "Well, let's give it a try, shall we?$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll:
|
||||
.string "{STR_VAR_1}.\n"
|
||||
.string "{STR_VAR_1}.\p"
|
||||
.string "Hmmm… She's not smiling at all.\n"
|
||||
.string "Maybe WALDA is one serious child…$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase:
|
||||
.string "Oh, so you don't know any good words.\n"
|
||||
.string "I'd better think for myself, then.\p"
|
||||
.string "Hmm…\n"
|
||||
.string "How about “{STR_VAR_1}”?\l"
|
||||
.string "Let's see if that will work.$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2:
|
||||
.string "{STR_VAR_1}.\n"
|
||||
.string "{STR_VAR_1}.\p"
|
||||
.string "Hmmm… She's not smiling at all.\n"
|
||||
.string "Maybe WALDA is one serious child…$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_OhYouDontKnowAny:
|
||||
.string "Oh, so you don't know any good words.\n"
|
||||
.string "I guess I'll try to amuse her with\l"
|
||||
.string "the saying I used before.\p"
|
||||
.string "Anyways, if you have a good suggestion,\n"
|
||||
.string "don't hesitate in telling me, okay?$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper:
|
||||
.string "Thank you!\p"
|
||||
.string "Thanks to you, my darling WALDA\n"
|
||||
.string "laughed for me!\p"
|
||||
.string "Actually, I may not look all that\n"
|
||||
.string "special, but I'm one of DEVON\l"
|
||||
.string "CORPORATION's top researchers.\p"
|
||||
.string "So, how about I do something in return\n"
|
||||
.string "for you?\p"
|
||||
.string "I know, I'll add some new wallpaper\n"
|
||||
.string "patterns for the BOXES in the PC\l"
|
||||
.string "POKéMON Storage System.\p"
|
||||
.string "In the wallpaper pattern menu,\n"
|
||||
.string "select “FRIENDS.”\p"
|
||||
.string "That will give you access to the new\n"
|
||||
.string "wallpaper patterns.$"
|
||||
|
||||
RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll:
|
||||
.string "It's a POKéMON plush DOLL!$"
|
||||
|
Reference in New Issue
Block a user