import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,75 @@
{
"id": "MAP_FORTREE_CITY_HOUSE1",
"name": "FortreeCity_House1",
"layout": "LAYOUT_FORTREE_CITY_HOUSE1",
"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_NINJA_BOY",
"x": 1,
"y": 3,
"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": "FortreeCity_House1_EventScript_Trader",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ZIGZAGOON_2",
"x": 2,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_Zigzagoon",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
"x": 7,
"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": "FortreeCity_House1_EventScript_ExpertF",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 5,
"elevation": 0,
"dest_map": "MAP_FORTREE_CITY",
"dest_warp_id": 1
},
{
"x": 4,
"y": 5,
"elevation": 0,
"dest_map": "MAP_FORTREE_CITY",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,98 @@
FortreeCity_House1_MapScripts::
.byte 0
FortreeCity_House1_EventScript_Trader::
lock
faceplayer
goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_PLUSLE
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_YouWillTradeWontYou, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, FortreeCity_House1_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, FortreeCity_House1_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
goto_if_ne VAR_RESULT, VAR_0x8009, FortreeCity_House1_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
bufferspeciesname STR_VAR_1, VAR_0x8009
msgbox FortreeCity_House1_Text_MonYouTakeCare, MSGBOX_DEFAULT
setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
release
end
FortreeCity_House1_EventScript_DeclineTrade::
msgbox FortreeCity_House1_Text_YouWontTradeMe, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_NotRequestedMon::
bufferspeciesname STR_VAR_1, VAR_0x8009
msgbox FortreeCity_House1_Text_ThisIsntAMon, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_TradeCompleted::
msgbox FortreeCity_House1_Text_GoingToMakeVolbeatStrong, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_ExpertF::
msgbox FortreeCity_House1_Text_TradingMemoriesWithOthers, MSGBOX_NPC
end
FortreeCity_House1_EventScript_Zigzagoon::
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, CRY_MODE_NORMAL
msgbox FortreeCity_House1_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
FortreeCity_House1_Text_YouWillTradeWontYou:
.string "Wrooooaaar! I need it!\n"
.string "I have to get me a {STR_VAR_1}!\l"
.string "I'll do anything for it!\p"
.string "…Uh… Did you hear that?\n"
.string "My shout from the bottom of my heart?\p"
.string "Having heard that, you will trade\n"
.string "your {STR_VAR_1} for my {STR_VAR_2},\l"
.string "won't you?$"
FortreeCity_House1_Text_MonYouTakeCare:
.string "Oh, yeah, right on!\p"
.string "{STR_VAR_1}, welcome!\n"
.string "{STR_VAR_2}, you take care!$"
FortreeCity_House1_Text_ThisIsntAMon:
.string "Uh, no, I don't think so.\n"
.string "That isn't a {STR_VAR_1}.$"
FortreeCity_House1_Text_YouWontTradeMe:
.string "No? You won't trade me?\n"
.string "Even after I bared my heart to you?$"
FortreeCity_House1_Text_GoingToMakeVolbeatStrong:
.string "I'm going to make VOLBEAT super\n"
.string "strong from this moment on!\p"
.string "I hope you do the same with PLUSLE!$"
FortreeCity_House1_Text_TradingMemoriesWithOthers:
.string "Trading POKéMON with others…\p"
.string "It's as if you're trading your own\n"
.string "memories with other people.$"
FortreeCity_House1_Text_Zigzagoon:
.string "ZIGZAGOON: Gumomoh?$"