import from github
This commit is contained in:
42
data/maps/BattleFrontier_Lounge6/map.json
Normal file
42
data/maps/BattleFrontier_Lounge6/map.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"id": "MAP_BATTLE_FRONTIER_LOUNGE6",
|
||||
"name": "BattleFrontier_Lounge6",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_LOUNGE2",
|
||||
"music": "MUS_B_TOWER_RS",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"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_BEAUTY",
|
||||
"x": 2,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"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": "BattleFrontier_Lounge6_EventScript_Trader",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
|
||||
"dest_warp_id": 8
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
77
data/maps/BattleFrontier_Lounge6/scripts.inc
Normal file
77
data/maps/BattleFrontier_Lounge6/scripts.inc
Normal file
@ -0,0 +1,77 @@
|
||||
BattleFrontier_Lounge6_MapScripts::
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_Lounge6_EventScript_Trader::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_TradeCompleted
|
||||
setvar VAR_0x8008, INGAME_TRADE_MEOWTH
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
|
||||
copyvar VAR_0x8009, VAR_RESULT
|
||||
msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
special ChoosePartyMon
|
||||
waitstate
|
||||
copyvar VAR_0x800A, VAR_0x8004
|
||||
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
specialvar VAR_RESULT, GetTradeSpecies
|
||||
copyvar VAR_0x800B, VAR_RESULT
|
||||
goto_if_ne VAR_RESULT, VAR_0x8009, BattleFrontier_Lounge6_EventScript_NotRequestedMon
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
special CreateInGameTradePokemon
|
||||
special DoInGameTradeScene
|
||||
waitstate
|
||||
msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
|
||||
setflag FLAG_BATTLE_FRONTIER_TRADE_DONE
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_Lounge6_EventScript_DeclineTrade::
|
||||
msgbox BattleFrontier_Lounge6_Text_WellThatsFineToo, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_Lounge6_EventScript_NotRequestedMon::
|
||||
bufferspeciesname STR_VAR_1, VAR_0x8009
|
||||
msgbox BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_Lounge6_EventScript_TradeCompleted::
|
||||
msgbox BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_Lounge6_Text_WouldYouLikeToTrade:
|
||||
.string "My POKéMON is a {STR_VAR_2}.\n"
|
||||
.string "Do you know it?\l"
|
||||
.string "It's quite cute and rather nice.\p"
|
||||
.string "This little one, I could trade with\n"
|
||||
.string "pride!\p"
|
||||
.string "Would you like to trade me a {STR_VAR_1}\n"
|
||||
.string "for my {STR_VAR_2}?$"
|
||||
|
||||
BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt:
|
||||
.string "Oh, it's adorable!\n"
|
||||
.string "Thank you!\l"
|
||||
.string "I promise I'll be good to it!\p"
|
||||
.string "Oh! I hope you'll be good to\n"
|
||||
.string "my {STR_VAR_2}, too!$"
|
||||
|
||||
BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon:
|
||||
.string "Oh, I'm sorry!\n"
|
||||
.string "I don't intend to trade for anything\l"
|
||||
.string "but a {STR_VAR_1}.$"
|
||||
|
||||
BattleFrontier_Lounge6_Text_WellThatsFineToo:
|
||||
.string "Oh, you won't?\n"
|
||||
.string "Well, that's fine, too.\l"
|
||||
.string "Please come visit us again.$"
|
||||
|
||||
BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined:
|
||||
.string "Giggle!\n"
|
||||
.string "A SKITTY is so much cuter than I had\l"
|
||||
.string "imagined. I'm delighted!$"
|
Reference in New Issue
Block a user