pokeemerald/data/maps/BattleFrontier_RankingHall/scripts.inc

136 lines
4.1 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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_SINGLES
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_DOUBLES
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_MULTIS
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_LINK
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_ARENA
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_PALACE
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_FACTORY
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_DOME
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_PIKE
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
2019-11-17 00:11:27 +01:00
setvar VAR_0x8005, RANKING_HALL_BATTLE_PYRAMID
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
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, YES
2019-11-17 00:11:27 +01:00
goto_if_eq BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
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.$"