diff options
Diffstat (limited to 'data/maps/BattleFrontier_BattlePyramidTop/scripts.inc')
-rw-r--r-- | data/maps/BattleFrontier_BattlePyramidTop/scripts.inc | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc index 076fae158..1f031ea40 100644 --- a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc +++ b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc @@ -1,37 +1,37 @@ .set LOCALID_ATTENDANT, 1 .set LOCALID_BRANDON, 2 -BattleFrontier_BattlePyramidTop_MapScripts:: @ 82550A1 +BattleFrontier_BattlePyramidTop_MapScripts:: map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePyramidTop_OnResume map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidTop_OnFrame map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePyramidTop_OnTransition map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePyramidTop_OnWarp .byte 0 -BattleFrontier_BattlePyramidTop_OnTransition: @ 82550B6 +BattleFrontier_BattlePyramidTop_OnTransition: pyramid_updatelight 200, PYRAMID_LIGHT_SET_RADIUS setvar VAR_TEMP_F, 1 end -BattleFrontier_BattlePyramidTop_OnWarp: @ 82550CE +BattleFrontier_BattlePyramidTop_OnWarp: map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects .2byte 0 -BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects:: @ 82550D8 +BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects:: setvar VAR_TEMP_1, 1 turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH compare VAR_TEMP_C, 0 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects setobjectxyperm LOCALID_BRANDON, 0, 0 -BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects:: @ 82550F3 +BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects:: end -BattleFrontier_BattlePyramidTop_OnResume: @ 82550F4 +BattleFrontier_BattlePyramidTop_OnResume: frontier_getbrainstatus compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus call BattleFrontier_EventScript_SetBrainObjectGfx -BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: @ 825510C +BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: copyvar VAR_TEMP_C, VAR_RESULT frontier_getstatus switch VAR_TEMP_0 @@ -47,22 +47,22 @@ BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: @ 825510C goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost end -BattleFrontier_BattlePyramidTop_OnFrame: @ 825516E +BattleFrontier_BattlePyramidTop_OnFrame: map_script_2 VAR_TEMP_E, 0, BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic map_script_2 VAR_TEMP_F, 1, BattleFrontier_BattlePyramidTop_EventScript_ShowMapName .2byte 0 -BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic:: @ 8255180 - playbgm MUS_B_PYRAMID_TOP, 0 +BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic:: + playbgm MUS_B_PYRAMID_TOP, FALSE setvar VAR_TEMP_E, 1 end -BattleFrontier_BattlePyramidTop_EventScript_ShowMapName:: @ 825518A +BattleFrontier_BattlePyramidTop_EventScript_ShowMapName:: special ShowMapNamePopup setvar VAR_TEMP_F, 0 end -BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: @ 8255193 +BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: pyramid_save CHALLENGE_STATUS_SAVING special SavePlayerParty frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 @@ -71,7 +71,7 @@ BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: @ 8255193 setvar VAR_TEMP_F, 1 end -BattleFrontier_BattlePyramidTop_EventScript_Attendant:: @ 82551D0 +BattleFrontier_BattlePyramidTop_EventScript_Attendant:: lock faceplayer compare VAR_TEMP_D, 0 @@ -91,25 +91,25 @@ BattleFrontier_BattlePyramidTop_EventScript_Attendant:: @ 82551D0 playfanfare MUS_OBTAIN_B_POINTS waitfanfare closemessage -BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon:: @ 825521A +BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon:: frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13 waitstate end -BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady:: @ 8255236 +BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady:: msgbox BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady, MSGBOX_DEFAULT closemessage end -BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside:: @ 8255240 +BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside:: msgbox BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere, MSGBOX_DEFAULT applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside setvar VAR_TEMP_D, 1 closemessage end -BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: @ 8255256 +BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: lockall switch VAR_TEMP_C case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold @@ -130,18 +130,18 @@ BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: @ 8255256 goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver end -BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech:: @ 82552D0 +BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech:: applymovement LOCALID_BRANDON, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer waitmovement 0 -BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver:: @ 82552DA +BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver:: msgbox BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle, MSGBOX_DEFAULT call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle - playbgm MUS_B_PYRAMID_TOP, 0 + playbgm MUS_B_PYRAMID_TOP, FALSE compare VAR_RESULT, 1 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost -BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: @ 82552FB +BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: frontier_getsymbols compare VAR_RESULT, 0 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon @@ -154,7 +154,7 @@ BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: @ 82552FB msgbox BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting, MSGBOX_DEFAULT goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon -BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: @ 8255335 +BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH compare VAR_RESULT, FALSE goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech @@ -170,18 +170,18 @@ BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: @ 8255335 goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold end -BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech:: @ 8255388 +BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech:: applymovement LOCALID_BRANDON, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer waitmovement 0 -BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold:: @ 8255392 +BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold:: msgbox BattleFrontier_BattlePyramidTop_Text_EverythingYouHave, MSGBOX_DEFAULT call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle - playbgm MUS_B_PYRAMID_TOP, 0 + playbgm MUS_B_PYRAMID_TOP, FALSE compare VAR_RESULT, 1 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost -BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: @ 82553B3 +BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: frontier_getsymbols compare VAR_RESULT, 2 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon @@ -194,7 +194,7 @@ BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: @ 82553B3 msgbox BattleFrontier_BattlePyramidTop_Text_FarewellForNow, MSGBOX_DEFAULT goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon -BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: @ 82553ED +BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: closemessage setvar VAR_0x8004, SPECIAL_BATTLE_PYRAMID setvar VAR_0x8005, 0 @@ -202,17 +202,17 @@ BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: @ 82553ED waitstate return -BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside: @ 82553FD +BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside: walk_right walk_in_place_fastest_left step_end -BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath: @ 8255400 +BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath: walk_left walk_in_place_fastest_up step_end -BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop: @ 8255403 +BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop: walk_up walk_up walk_up @@ -221,17 +221,17 @@ BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop: @ 8255403 walk_in_place_fastest_down step_end -BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer: @ 825540A +BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer: walk_fast_down step_end -BattleFrontier_BattlePyramidTop_Movement_CameraPanUp: @ 825540C +BattleFrontier_BattlePyramidTop_Movement_CameraPanUp: walk_slow_up walk_slow_up delay_16 step_end -BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: @ 8255410 +BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: .string "It is a delight to see you here!\n" .string "You have reached the summit of\l" .string "the BATTLE PYRAMID!\p" @@ -242,11 +242,11 @@ BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: @ 8255410 .string "Now, please!\n" .string "Up you go!$" -BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid: @ 82554E8 +BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid: .string "The PYRAMID's new conqueror!\n" .string "Let the name {PLAYER} be known!$" -BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: @ 825551F +BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: .string "It is a delight to see you here!\p" .string "Unfortunately, you were second by\n" .string "a mere fraction of time!\p" @@ -259,7 +259,7 @@ BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: @ 825551F .string "Now, please! When you are ready,\n" .string "take one more step of courage!$" -BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: @ 8255669 +BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: .string "Young adventurer…\p" .string "Wouldn't you agree that explorations\n" .string "are the grandest of adventures?\p" @@ -269,7 +269,7 @@ BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: @ 8255669 .string "And, above all, only your own courage\n" .string "to lead you through unknown worlds…$" -BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: @ 825573E +BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: .string "Aah, yes, indeed this life is grand!\n" .string "Grand, it is! Eh?\p" .string "I'm BRANDON!\p" @@ -282,25 +282,25 @@ BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: @ 825573E .string "Hahahah!\n" .string "This should be exciting!$" -BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle: @ 8255846 +BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle: .string "Now, then!\n" .string "Bring your courage to our battle!$" -BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease: @ 8255873 +BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease: .string "BRANDON: Hahahah! Grand it was!\n" .string "Grand, yes, indeed!\p" .string "Well done! You've earned recognition!\n" .string "Your FRONTIER PASS, please!$" -BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol: @ 82558E9 +BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol: .string "The Brave Symbol was embossed on\n" .string "the FRONTIER PASS!$" -BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting: @ 825591D +BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting: .string "Young explorer!\n" .string "I look forward to our next meeting!$" -BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: @ 8255951 +BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: .string "BRANDON: …You've finally returned,\n" .string "young explorer…\p" .string "Your love of adventure seems to come\n" @@ -314,16 +314,16 @@ BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: @ 8255951 .string "Those days of death-defying,\n" .string "life-affirming adventures are back…$" -BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter: @ 8255A6D +BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter: .string "Now, then!\p" .string "I sense my own courage is off\n" .string "the meter!$" -BattleFrontier_BattlePyramidTop_Text_EverythingYouHave: @ 8255AA1 +BattleFrontier_BattlePyramidTop_Text_EverythingYouHave: .string "Everything you have!\n" .string "I'm braced for it all!$" -BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: @ 8255ACD +BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: .string "BRANDON: Hahahah!\n" .string "Remarkable!\l" .string "Yes, it's grand, indeed!\p" @@ -331,17 +331,17 @@ BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: @ 8255ACD .string "You've bested me through and through!\n" .string "Here! I want you to have this!$" -BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine: @ 8255B59 +BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine: .string "The Brave Symbol took on\n" .string "a golden shine!$" -BattleFrontier_BattlePyramidTop_Text_FarewellForNow: @ 8255B82 +BattleFrontier_BattlePyramidTop_Text_FarewellForNow: .string "Ah, yes! It just goes to show that\n" .string "I have much to learn still!\p" .string "May our paths cross again!\n" .string "Farewell for now, young explorer!$" -BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady: @ 8255BFE +BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady: .string "Now, when you are ready, take courage\n" .string "and step forward.$" |