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,172 @@
{
"id": "MAP_BATTLE_FRONTIER_RANKING_HALL",
"name": "BattleFrontier_RankingHall",
"layout": "LAYOUT_BATTLE_FRONTIER_RANKING_HALL",
"music": "MUS_LILYCOVE_MUSEUM",
"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_TEALA",
"x": 24,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_RankingHall_EventScript_Attendant",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
"x": 4,
"y": 10,
"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": "BattleFrontier_RankingHall_EventScript_NinjaBoy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
"x": 44,
"y": 11,
"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": "BattleFrontier_RankingHall_EventScript_Boy",
"flag": "0"
}
],
"warp_events": [
{
"x": 26,
"y": 14,
"elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 4
},
{
"x": 27,
"y": 14,
"elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 4
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 26,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_TowerSinglesRecords"
},
{
"type": "sign",
"x": 23,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_TowerDoublesRecords"
},
{
"type": "sign",
"x": 26,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_TowerMultisRecords"
},
{
"type": "sign",
"x": 29,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_TowerLinkRecords"
},
{
"type": "sign",
"x": 42,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_ArenaRecords"
},
{
"type": "sign",
"x": 46,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_PalaceRecords"
},
{
"type": "sign",
"x": 10,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_FactoryRecords"
},
{
"type": "sign",
"x": 8,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_DomeRecords"
},
{
"type": "sign",
"x": 6,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_PikeRecords"
},
{
"type": "sign",
"x": 44,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_PyramidRecords"
},
{
"type": "sign",
"x": 16,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign"
},
{
"type": "sign",
"x": 36,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn"
}
]
}

View File

@ -0,0 +1,134 @@
BattleFrontier_RankingHall_MapScripts::
.byte 0
BattleFrontier_RankingHall_EventScript_TowerSinglesRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_TOWER_SINGLES
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_TowerDoublesRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_TOWER_DOUBLES
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_TowerMultisRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_TOWER_MULTIS
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_TowerLinkRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_TOWER_LINK
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_ArenaRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_ARENA
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_PalaceRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_PALACE
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_FactoryRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_FACTORY
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_DomeRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_DOME
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_PikeRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_PIKE
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_PyramidRecords::
lockall
setvar VAR_0x8005, RANKING_HALL_PYRAMID
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_ShowRecords::
special ShowRankingHallRecordsWindow
waitbuttonpress
special ScrollRankingHallRecordsWindow
waitbuttonpress
special RemoveRecordsWindow
releaseall
end
BattleFrontier_RankingHall_EventScript_Attendant::
msgbox BattleFrontier_RankingHall_Text_ExplainRankingHall, MSGBOX_NPC
end
BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign::
msgbox BattleFrontier_RankingHall_Text_DomePikeFactoryRecords, MSGBOX_SIGN
end
BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn::
msgbox BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords, MSGBOX_SIGN
end
BattleFrontier_RankingHall_EventScript_NinjaBoy::
lock
faceplayer
msgbox BattleFrontier_RankingHall_Text_IsYourNameOnThisList, MSGBOX_YESNO
goto_if_eq VAR_RESULT, YES, BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
msgbox BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName, MSGBOX_DEFAULT
release
end
BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList::
msgbox BattleFrontier_RankingHall_Text_WowThatsSuper, MSGBOX_DEFAULT
release
end
BattleFrontier_RankingHall_EventScript_Boy::
msgbox BattleFrontier_RankingHall_Text_MyNamesNotUpThere, MSGBOX_NPC
end
BattleFrontier_RankingHall_Text_ExplainRankingHall:
.string "This is the RANKING HALL.\p"
.string "This is where we recognize the immortal\n"
.string "TRAINERS who left great records in\l"
.string "BATTLE FRONTIER events.$"
BattleFrontier_RankingHall_Text_DomePikeFactoryRecords:
.string "BATTLE DOME, BATTLE PIKE,\n"
.string "and BATTLE FACTORY Records$"
BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords:
.string "BATTLE PALACE, BATTLE ARENA,\n"
.string "and BATTLE PYRAMID Records$"
BattleFrontier_RankingHall_Text_IsYourNameOnThisList:
.string "Hi, is your name on this list?$"
BattleFrontier_RankingHall_Text_WowThatsSuper:
.string "Wow, that's super!\n"
.string "I'll have to try harder, too!$"
BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName:
.string "Oh, is that right?\p"
.string "If you saw your friend's name up here,\n"
.string "I bet it would make you work harder!$"
BattleFrontier_RankingHall_Text_MyNamesNotUpThere:
.string "Hmm…\n"
.string "My name's not up there…\p"
.string "Well, it's only natural since I haven't\n"
.string "taken any challenges yet.$"