pokeemerald/data/maps/BattleFrontier_RankingHall/scripts.inc

135 lines
4.0 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_TowerSinglesRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_TOWER_SINGLES
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_TowerDoublesRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_TOWER_DOUBLES
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_TowerMultisRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_TOWER_MULTIS
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_TowerLinkRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_TOWER_LINK
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_ArenaRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_ARENA
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_PalaceRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_PALACE
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_FactoryRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_FACTORY
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_DomeRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_DOME
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_PikeRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_PIKE
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_PyramidRecords::
2017-11-10 02:21:31 +01:00
lockall
2021-10-23 16:55:46 +02:00
setvar VAR_0x8005, RANKING_HALL_PYRAMID
2019-11-17 00:11:27 +01:00
goto BattleFrontier_RankingHall_EventScript_ShowRecords
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_ShowRecords::
2018-10-28 21:11:53 +01:00
special ShowRankingHallRecordsWindow
2017-11-10 02:21:31 +01:00
waitbuttonpress
2018-10-28 21:11:53 +01:00
special ScrollRankingHallRecordsWindow
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_Attendant::
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_ExplainRankingHall, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign::
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_DomePikeFactoryRecords, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn::
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_NinjaBoy::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_IsYourNameOnThisList, MSGBOX_YESNO
goto_if_eq VAR_RESULT, YES, BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList::
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_WowThatsSuper, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_EventScript_Boy::
2019-11-17 00:11:27 +01:00
msgbox BattleFrontier_RankingHall_Text_MyNamesNotUpThere, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_ExplainRankingHall:
2017-11-10 02:21:31 +01:00
.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.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_DomePikeFactoryRecords:
2017-11-10 02:21:31 +01:00
.string "BATTLE DOME, BATTLE PIKE,\n"
.string "and BATTLE FACTORY Records$"
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords:
2017-11-10 02:21:31 +01:00
.string "BATTLE PALACE, BATTLE ARENA,\n"
.string "and BATTLE PYRAMID Records$"
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_IsYourNameOnThisList:
2017-11-10 02:21:31 +01:00
.string "Hi, is your name on this list?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_WowThatsSuper:
2018-12-07 16:41:08 +01:00
.string "Wow, that's super!\n"
.string "I'll have to try harder, too!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName:
2017-11-10 02:21:31 +01:00
.string "Oh, is that right?\p"
2018-12-07 16:41:08 +01:00
.string "If you saw your friend's name up here,\n"
2017-11-10 02:21:31 +01:00
.string "I bet it would make you work harder!$"
2021-07-20 21:18:31 +02:00
BattleFrontier_RankingHall_Text_MyNamesNotUpThere:
2017-11-10 02:21:31 +01:00
.string "Hmm…\n"
2018-12-07 16:41:08 +01:00
.string "My name's not up there…\p"
.string "Well, it's only natural since I haven't\n"
2017-11-10 02:21:31 +01:00
.string "taken any challenges yet.$"