import from github
This commit is contained in:
49
data/maps/MauvilleCity_House1/map.json
Normal file
49
data/maps/MauvilleCity_House1/map.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "MAP_MAUVILLE_CITY_HOUSE1",
|
||||
"name": "MauvilleCity_House1",
|
||||
"layout": "LAYOUT_HOUSE2",
|
||||
"music": "MUS_RUSTBORO",
|
||||
"region_map_section": "MAPSEC_MAUVILLE_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_SCIENTIST_1",
|
||||
"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": "MauvilleCity_House1_EventScript_RockSmashDude",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MAUVILLE_CITY",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MAUVILLE_CITY",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
46
data/maps/MauvilleCity_House1/scripts.inc
Normal file
46
data/maps/MauvilleCity_House1/scripts.inc
Normal file
@ -0,0 +1,46 @@
|
||||
MauvilleCity_House1_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MauvilleCity_House1_EventScript_RockSmashDude::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_HM06, MauvilleCity_House1_EventScript_ReceivedRockSmash
|
||||
msgbox MauvilleCity_House1_Text_ImRockSmashDudeTakeThis, MSGBOX_DEFAULT
|
||||
giveitem ITEM_HM06
|
||||
setflag FLAG_RECEIVED_HM06
|
||||
setflag FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY
|
||||
msgbox MauvilleCity_House1_Text_ExplainRockSmash, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MauvilleCity_House1_EventScript_ReceivedRockSmash::
|
||||
msgbox MauvilleCity_House1_Text_MonCanFlyOutOfSmashedRock, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MauvilleCity_House1_Text_ImRockSmashDudeTakeThis:
|
||||
.string "Woohoo!\p"
|
||||
.string "I hear people call me the ROCK SMASH\n"
|
||||
.string "GUY, but I find that sort of degrading.\p"
|
||||
.string "I think I deserve a bit more respect,\n"
|
||||
.string "like maybe the ROCK SMASH DUDE.\p"
|
||||
.string "Woohoo!\p"
|
||||
.string "Anyways, your POKéMON look pretty\n"
|
||||
.string "strong.\p"
|
||||
.string "I like that!\n"
|
||||
.string "Here, take this HIDDEN MACHINE!$"
|
||||
|
||||
MauvilleCity_House1_Text_ExplainRockSmash:
|
||||
.string "That HM contains ROCK SMASH.\p"
|
||||
.string "If you come across large boulders\n"
|
||||
.string "that block your path…\p"
|
||||
.string "Well, use that HM move and smash\n"
|
||||
.string "them right out of your way!\p"
|
||||
.string "Yes, sir! Smash rocks aside, I say!\n"
|
||||
.string "Woohoo!$"
|
||||
|
||||
MauvilleCity_House1_Text_MonCanFlyOutOfSmashedRock:
|
||||
.string "Oh, yes, if you smash a rock, a POKéMON\n"
|
||||
.string "could come flying out of hiding.\p"
|
||||
.string "Woohoo!$"
|
||||
|
Reference in New Issue
Block a user