import from github
This commit is contained in:
62
data/maps/DewfordTown_House2/map.json
Normal file
62
data/maps/DewfordTown_House2/map.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "MAP_DEWFORD_TOWN_HOUSE2",
|
||||
"name": "DewfordTown_House2",
|
||||
"layout": "LAYOUT_HOUSE4",
|
||||
"music": "MUS_DEWFORD",
|
||||
"region_map_section": "MAPSEC_DEWFORD_TOWN",
|
||||
"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_MAN_3",
|
||||
"x": 6,
|
||||
"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": "DewfordTown_House2_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"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": "DewfordTown_House2_EventScript_Boy",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_DEWFORD_TOWN",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_DEWFORD_TOWN",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
57
data/maps/DewfordTown_House2/scripts.inc
Normal file
57
data/maps/DewfordTown_House2/scripts.inc
Normal file
@ -0,0 +1,57 @@
|
||||
DewfordTown_House2_MapScripts::
|
||||
.byte 0
|
||||
|
||||
DewfordTown_House2_EventScript_Man::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_ExplainSilkScarf
|
||||
msgbox DewfordTown_House2_Text_WantYouToHaveSilkScarf, MSGBOX_DEFAULT
|
||||
giveitem ITEM_SILK_SCARF
|
||||
goto_if_eq VAR_RESULT, FALSE, DewfordTown_House2_EventScript_NoRoomForScarf
|
||||
setflag FLAG_RECEIVED_SILK_SCARF
|
||||
release
|
||||
end
|
||||
|
||||
DewfordTown_House2_EventScript_NoRoomForScarf::
|
||||
msgbox DewfordTown_House2_Text_NoRoom, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
DewfordTown_House2_EventScript_ExplainSilkScarf::
|
||||
msgbox DewfordTown_House2_Text_ExplainSilkScarf, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
DewfordTown_House2_EventScript_Boy::
|
||||
msgbox DewfordTown_House2_Text_BrawlySoCool, MSGBOX_NPC
|
||||
end
|
||||
|
||||
DewfordTown_House2_Text_WantYouToHaveSilkScarf:
|
||||
.string "Gorge your eyes on this!\p"
|
||||
.string "It's a SILK SCARF. It's right at the\n"
|
||||
.string "cutting edge of fashion, yeah!\p"
|
||||
.string "Oh, I can see your eyes twinkling!\n"
|
||||
.string "You appreciate my dazzling style!\p"
|
||||
.string "Oh, you're a delight!\n"
|
||||
.string "Here you go. I want you to have it!$"
|
||||
|
||||
DewfordTown_House2_Text_NoRoom:
|
||||
.string "Oh, you don't have room?\p"
|
||||
.string "Now, listen tight, this SCARF is a must-\n"
|
||||
.string "have! Why, I would sell all my items\l"
|
||||
.string "in order to get it!$"
|
||||
|
||||
DewfordTown_House2_Text_ExplainSilkScarf:
|
||||
.string "The SILK SCARF raises the power of\n"
|
||||
.string "NORMAL-type moves.\p"
|
||||
.string "It's a marvelous SCARF that will go\n"
|
||||
.string "with almost all POKéMON!$"
|
||||
|
||||
DewfordTown_House2_Text_BrawlySoCool:
|
||||
.string "Wow, you bothered to cross the sea\n"
|
||||
.string "to visit DEWFORD?\p"
|
||||
.string "Did you maybe come here because you\n"
|
||||
.string "heard about BRAWLY?\p"
|
||||
.string "He's so cool…\n"
|
||||
.string "Everyone idolizes him.$"
|
||||
|
Reference in New Issue
Block a user