import from github
This commit is contained in:
75
data/maps/FortreeCity_House4/map.json
Normal file
75
data/maps/FortreeCity_House4/map.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "MAP_FORTREE_CITY_HOUSE4",
|
||||
"name": "FortreeCity_House4",
|
||||
"layout": "LAYOUT_FORTREE_CITY_HOUSE2",
|
||||
"music": "MUS_FORTREE",
|
||||
"region_map_section": "MAPSEC_FORTREE_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_WOMAN_4",
|
||||
"x": 6,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FortreeCity_House4_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
|
||||
"x": 1,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FortreeCity_House4_EventScript_Boy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WINGULL",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FortreeCity_House4_EventScript_Wingull",
|
||||
"flag": "FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FORTREE_CITY",
|
||||
"dest_warp_id": 6
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FORTREE_CITY",
|
||||
"dest_warp_id": 6
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
97
data/maps/FortreeCity_House4/scripts.inc
Normal file
97
data/maps/FortreeCity_House4/scripts.inc
Normal file
@ -0,0 +1,97 @@
|
||||
.set LOCALID_WINGULL, 3
|
||||
|
||||
FortreeCity_House4_MapScripts::
|
||||
.byte 0
|
||||
|
||||
FortreeCity_House4_EventScript_Woman::
|
||||
msgbox FortreeCity_House4_Text_BringsWorldCloserTogether, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FortreeCity_House4_EventScript_Boy::
|
||||
lockall
|
||||
goto_if_set FLAG_RECEIVED_MENTAL_HERB, FortreeCity_House4_EventScript_ReceivedMentalHerb
|
||||
goto_if_set FLAG_WINGULL_DELIVERED_MAIL, FortreeCity_House4_EventScript_WingullReturned
|
||||
goto_if_set FLAG_WINGULL_SENT_ON_ERRAND, FortreeCity_House4_EventScript_WingullOnErrand
|
||||
msgbox FortreeCity_House4_Text_GoBirdPokemon, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setflag FLAG_WINGULL_SENT_ON_ERRAND
|
||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL
|
||||
applymovement LOCALID_WINGULL, FortreeCity_House4_Movement_WingullExit
|
||||
waitmovement 0
|
||||
removeobject LOCALID_WINGULL
|
||||
releaseall
|
||||
end
|
||||
|
||||
FortreeCity_House4_EventScript_WingullOnErrand::
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox FortreeCity_House4_Text_AskedWingullToRunErrand, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
FortreeCity_House4_EventScript_WingullReturned::
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
||||
giveitem ITEM_MENTAL_HERB
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MENTAL_HERB
|
||||
releaseall
|
||||
end
|
||||
|
||||
FortreeCity_House4_EventScript_ReceivedMentalHerb::
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox FortreeCity_House4_Text_FriendsFarAwayThanksToWingull, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
FortreeCity_House4_Movement_WingullExit:
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
walk_in_place_faster_down
|
||||
delay_8
|
||||
step_end
|
||||
|
||||
FortreeCity_House4_EventScript_Wingull::
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_WINGULL, CRY_MODE_NORMAL
|
||||
msgbox FortreeCity_House4_Text_Wingull, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_House4_Text_BringsWorldCloserTogether:
|
||||
.string "By being together with POKéMON,\n"
|
||||
.string "people make more and more friends.\p"
|
||||
.string "And that brings the world closer\n"
|
||||
.string "together. I think it's wonderful!$"
|
||||
|
||||
FortreeCity_House4_Text_GoBirdPokemon:
|
||||
.string "There!\n"
|
||||
.string "Go, BIRD POKéMON!$"
|
||||
|
||||
FortreeCity_House4_Text_AskedWingullToRunErrand:
|
||||
.string "Heheh, I asked my WINGULL to run\n"
|
||||
.string "an errand for me.$"
|
||||
|
||||
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb:
|
||||
.string "Good!\n"
|
||||
.string "Welcome back, WINGULL!\p"
|
||||
.string "Huh? What is this?\n"
|
||||
.string "What is it holding?\p"
|
||||
.string "A MENTAL HERB?\n"
|
||||
.string "It must have picked it up somewhere.\p"
|
||||
.string "But I'm not a TRAINER, so you can\n"
|
||||
.string "have it.$"
|
||||
|
||||
FortreeCity_House4_Text_FriendsFarAwayThanksToWingull:
|
||||
.string "Thanks to my WINGULL, I have friends\n"
|
||||
.string "who live far away.$"
|
||||
|
||||
FortreeCity_House4_Text_Wingull:
|
||||
.string "WINGULL: Pihyoh!$"
|
||||
|
Reference in New Issue
Block a user