import from github
This commit is contained in:
49
data/maps/MossdeepCity_House3/map.json
Normal file
49
data/maps/MossdeepCity_House3/map.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "MAP_MOSSDEEP_CITY_HOUSE3",
|
||||
"name": "MossdeepCity_House3",
|
||||
"layout": "LAYOUT_HOUSE2",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_MOSSDEEP_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_FISHERMAN",
|
||||
"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": "MossdeepCity_House3_EventScript_SuperRodFisherman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 5
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
50
data/maps/MossdeepCity_House3/scripts.inc
Normal file
50
data/maps/MossdeepCity_House3/scripts.inc
Normal file
@ -0,0 +1,50 @@
|
||||
MossdeepCity_House3_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_House3_EventScript_SuperRodFisherman::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_SUPER_ROD, MossdeepCity_House3_EventScript_ReceivedSuperRod
|
||||
msgbox MossdeepCity_House3_Text_YouWantSuperRod, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, MossdeepCity_House3_EventScript_DeclineSuperRod
|
||||
msgbox MossdeepCity_House3_Text_SuperRodIsSuper, MSGBOX_DEFAULT
|
||||
giveitem ITEM_SUPER_ROD
|
||||
setflag FLAG_RECEIVED_SUPER_ROD
|
||||
msgbox MossdeepCity_House3_Text_TryDroppingRodInWater, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House3_EventScript_ReceivedSuperRod::
|
||||
msgbox MossdeepCity_House3_Text_GoAfterSeafloorPokemon, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House3_EventScript_DeclineSuperRod::
|
||||
msgbox MossdeepCity_House3_Text_DontYouLikeToFish, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House3_Text_YouWantSuperRod:
|
||||
.string "Hey there, TRAINER!\n"
|
||||
.string "A SUPER ROD really is super!\p"
|
||||
.string "Say all you want, but this baby can\n"
|
||||
.string "catch POKéMON off the seafloor!\p"
|
||||
.string "What do you think?\n"
|
||||
.string "You want it, don't you?$"
|
||||
|
||||
MossdeepCity_House3_Text_SuperRodIsSuper:
|
||||
.string "You bet, you bet!\n"
|
||||
.string "After all, a SUPER ROD is really super!$"
|
||||
|
||||
MossdeepCity_House3_Text_TryDroppingRodInWater:
|
||||
.string "If there's any water, try dropping in\n"
|
||||
.string "your ROD and see what bites!$"
|
||||
|
||||
MossdeepCity_House3_Text_DontYouLikeToFish:
|
||||
.string "Hunh?\n"
|
||||
.string "Don't you like to fish?$"
|
||||
|
||||
MossdeepCity_House3_Text_GoAfterSeafloorPokemon:
|
||||
.string "Go after the seafloor POKéMON with\n"
|
||||
.string "your SUPER ROD.$"
|
||||
|
Reference in New Issue
Block a user