import from github
This commit is contained in:
62
data/maps/PacifidlogTown_House3/map.json
Normal file
62
data/maps/PacifidlogTown_House3/map.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "MAP_PACIFIDLOG_TOWN_HOUSE3",
|
||||
"name": "PacifidlogTown_House3",
|
||||
"layout": "LAYOUT_PACIFIDLOG_TOWN_HOUSE1",
|
||||
"music": "MUS_LILYCOVE",
|
||||
"region_map_section": "MAPSEC_PACIFIDLOG_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_GIRL_2",
|
||||
"x": 3,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "PacifidlogTown_House3_EventScript_Girl",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "PacifidlogTown_House3_EventScript_Trader",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PACIFIDLOG_TOWN",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PACIFIDLOG_TOWN",
|
||||
"dest_warp_id": 3
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
89
data/maps/PacifidlogTown_House3/scripts.inc
Normal file
89
data/maps/PacifidlogTown_House3/scripts.inc
Normal file
@ -0,0 +1,89 @@
|
||||
PacifidlogTown_House3_MapScripts::
|
||||
.byte 0
|
||||
|
||||
PacifidlogTown_House3_EventScript_Trader::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED, PacifidlogTown_House3_EventScript_TradeCompleted
|
||||
setvar VAR_0x8008, INGAME_TRADE_HORSEA
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
|
||||
copyvar VAR_0x8009, VAR_RESULT
|
||||
msgbox PacifidlogTown_House3_Text_WillingToTradeIt, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, PacifidlogTown_House3_EventScript_DeclineTrade
|
||||
special ChoosePartyMon
|
||||
waitstate
|
||||
copyvar VAR_0x800A, VAR_0x8004
|
||||
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, PacifidlogTown_House3_EventScript_DeclineTrade
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
specialvar VAR_RESULT, GetTradeSpecies
|
||||
copyvar VAR_0x800B, VAR_RESULT
|
||||
goto_if_ne VAR_RESULT, VAR_0x8009, PacifidlogTown_House3_EventScript_NotRequestedMon
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
special CreateInGameTradePokemon
|
||||
special DoInGameTradeScene
|
||||
waitstate
|
||||
bufferspeciesname STR_VAR_1, VAR_0x8009
|
||||
msgbox PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou, MSGBOX_DEFAULT
|
||||
setflag FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House3_EventScript_DeclineTrade::
|
||||
msgbox PacifidlogTown_House3_Text_NotDesperateOrAnything, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House3_EventScript_NotRequestedMon::
|
||||
bufferspeciesname STR_VAR_1, VAR_0x8009
|
||||
msgbox PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House3_EventScript_TradeCompleted::
|
||||
msgbox PacifidlogTown_House3_Text_ReallyWantedToGetBagon, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House3_EventScript_Girl::
|
||||
msgbox PacifidlogTown_House3_Text_IsThatAPokedex, MSGBOX_NPC
|
||||
end
|
||||
|
||||
PacifidlogTown_House3_Text_WillingToTradeIt:
|
||||
.string "Check out this {STR_VAR_2}!\p"
|
||||
.string "It's the {STR_VAR_2} that I caught\n"
|
||||
.string "yesterday to celebrate my birthday!\p"
|
||||
.string "Oh, I can see that you want it!\n"
|
||||
.string "After all, it's priceless!\p"
|
||||
.string "I'll tell you what. I might be willing\n"
|
||||
.string "to trade it for a {STR_VAR_1}.$"
|
||||
|
||||
PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou:
|
||||
.string "Oh, so this is a {STR_VAR_1}?\p"
|
||||
.string "It's sort of like a {STR_VAR_2},\n"
|
||||
.string "and yet it's subtly different.\p"
|
||||
.string "Thank you!$"
|
||||
|
||||
PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon:
|
||||
.string "No, no, no! I won't accept any\n"
|
||||
.string "less than a real {STR_VAR_1}!$"
|
||||
|
||||
PacifidlogTown_House3_Text_NotDesperateOrAnything:
|
||||
.string "Oh, so you're not going to go through\n"
|
||||
.string "with this?\p"
|
||||
.string "That's cool. I'm not desperate to make\n"
|
||||
.string "a trade or anything.$"
|
||||
|
||||
PacifidlogTown_House3_Text_ReallyWantedToGetBagon:
|
||||
.string "I know I could go looking for one\n"
|
||||
.string "on my own, but…\p"
|
||||
.string "But I really wanted to get a BAGON\n"
|
||||
.string "that another TRAINER caught…$"
|
||||
|
||||
PacifidlogTown_House3_Text_IsThatAPokedex:
|
||||
.string "Is that a POKéDEX?\p"
|
||||
.string "Did you get to meet a lot of different\n"
|
||||
.string "POKéMON?\p"
|
||||
.string "I wish I was like you.$"
|
||||
|
Reference in New Issue
Block a user