mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-26 21:33:53 +01:00
Merge pull request #1443 from ExpoSeed/document-playbgm
Document second parameter of playbgm
This commit is contained in:
commit
ef6d91b0e3
@ -345,11 +345,12 @@
|
||||
.byte 0x32
|
||||
.endm
|
||||
|
||||
@ Plays the specified (song_number) song. The byte is apparently supposed to be 0x00.
|
||||
.macro playbgm song_number:req, unknown:req
|
||||
@ Plays the specified (song_number) song. If save_song is TRUE, the
|
||||
@ specified (song_number) will be saved as if savebgm was called with it.
|
||||
.macro playbgm song_number:req, save_song:req
|
||||
.byte 0x33
|
||||
.2byte \song_number
|
||||
.byte \unknown
|
||||
.byte \save_song
|
||||
.endm
|
||||
|
||||
@ Saves the specified (song_number) song to be played later.
|
||||
|
@ -736,7 +736,7 @@ EventScript_RegionMap:: @ 827208F
|
||||
|
||||
Common_EventScript_PlayBrineysBoatMusic:: @ 82720A0
|
||||
setflag FLAG_DONT_TRANSITION_MUSIC
|
||||
playbgm MUS_SAILING, 0
|
||||
playbgm MUS_SAILING, FALSE
|
||||
return
|
||||
|
||||
Common_EventScript_StopBrineysBoatMusic:: @ 82720A8
|
||||
|
@ -33,7 +33,7 @@ BattleFrontier_BattlePyramidFloor_EventScript_ShowMapName:: @ 8252A8F
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_PlayPyramidMusic:: @ 8252A98
|
||||
playbgm MUS_B_PYRAMID, 0
|
||||
playbgm MUS_B_PYRAMID, FALSE
|
||||
setvar VAR_TEMP_E, 1
|
||||
end
|
||||
|
||||
|
@ -53,7 +53,7 @@ BattleFrontier_BattlePyramidTop_OnFrame: @ 825516E
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic:: @ 8255180
|
||||
playbgm MUS_B_PYRAMID_TOP, 0
|
||||
playbgm MUS_B_PYRAMID_TOP, FALSE
|
||||
setvar VAR_TEMP_E, 1
|
||||
end
|
||||
|
||||
@ -136,7 +136,7 @@ BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech:: @ 82552D0
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver:: @ 82552DA
|
||||
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
|
||||
@ -176,7 +176,7 @@ BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech:: @ 8255388
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold:: @ 8255392
|
||||
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
|
||||
|
@ -72,7 +72,7 @@ BirthIsland_Exterior_EventScript_Deoxys:: @ 8267FC1
|
||||
setfieldeffectargument 1, 58
|
||||
setfieldeffectargument 2, 26
|
||||
dofieldeffect FLDEFF_DESTROY_DEOXYS_ROCK
|
||||
playbgm MUS_RG_ENCOUNTER_DEOXYS, 0
|
||||
playbgm MUS_RG_ENCOUNTER_DEOXYS, FALSE
|
||||
waitfieldeffect FLDEFF_DESTROY_DEOXYS_ROCK
|
||||
addobject LOCALID_DEOXYS
|
||||
applymovement LOCALID_DEOXYS, BirthIsland_Exterior_Movement_DeoxysApproach
|
||||
|
@ -42,7 +42,7 @@ EverGrandeCity_ChampionsRoom_Movement_PlayerApproachWallace: @ 8228A42
|
||||
step_end
|
||||
|
||||
EverGrandeCity_ChampionsRoom_EventScript_Wallace:: @ 8228A45
|
||||
playbgm MUS_ENCOUNTER_CHAMPION, 0
|
||||
playbgm MUS_ENCOUNTER_CHAMPION, FALSE
|
||||
msgbox EverGrandeCity_ChampionsRoom_Text_IntroSpeech, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_WALLACE, EverGrandeCity_ChampionsRoom_Text_Defeat
|
||||
goto EverGrandeCity_ChampionsRoom_EventScript_Defeated
|
||||
@ -71,11 +71,11 @@ EverGrandeCity_ChampionsRoom_EventScript_Defeated:: @ 8228A61
|
||||
end
|
||||
|
||||
EverGrandeCity_ChampionsRoom_EventScript_PlayMayMusic:: @ 8228ABC
|
||||
playbgm MUS_ENCOUNTER_MAY, 0
|
||||
playbgm MUS_ENCOUNTER_MAY, FALSE
|
||||
return
|
||||
|
||||
EverGrandeCity_ChampionsRoom_EventScript_PlayBrendanMusic:: @ 8228AC1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 0
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, FALSE
|
||||
return
|
||||
|
||||
EverGrandeCity_ChampionsRoom_EventScript_MayAdvice:: @ 8228AC6
|
||||
|
@ -42,7 +42,7 @@ EverGrandeCity_DrakesRoom_EventScript_Drake:: @ 82286F3
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_ELITE_4_DRAKE, EverGrandeCity_DrakesRoom_EventScript_PostBattleSpeech
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, 0
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
|
||||
msgbox EverGrandeCity_DrakesRoom_Text_IntroSpeech, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_Defeat
|
||||
goto EverGrandeCity_DrakesRoom_EventScript_Defeated
|
||||
|
@ -41,7 +41,7 @@ EverGrandeCity_GlaciasRoom_EventScript_Glacia:: @ 8228469
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_ELITE_4_GLACIA, EverGrandeCity_GlaciasRoom_EventScript_PostBattleSpeech
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, 0
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
|
||||
msgbox EverGrandeCity_GlaciasRoom_Text_IntroSpeech, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_Defeat
|
||||
goto EverGrandeCity_GlaciasRoom_EventScript_Defeated
|
||||
|
@ -41,7 +41,7 @@ EverGrandeCity_PhoebesRoom_EventScript_Phoebe:: @ 82281CB
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_ELITE_4_PHOEBE, EverGrandeCity_PhoebesRoom_EventScript_PostBattleSpeech
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, 0
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
|
||||
msgbox EverGrandeCity_PhoebesRoom_Text_IntroSpeech, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_Defeat
|
||||
goto EverGrandeCity_PhoebesRoom_EventScript_Defeated
|
||||
|
@ -47,7 +47,7 @@ EverGrandeCity_SidneysRoom_EventScript_Sidney:: @ 8227F64
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_ELITE_4_SIDNEY, EverGrandeCity_SidneysRoom_EventScript_PostBattleSpeech
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, 0
|
||||
playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
|
||||
msgbox EverGrandeCity_SidneysRoom_Text_IntroSpeech, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_Defeat
|
||||
goto EverGrandeCity_SidneysRoom_EventScript_Defeated
|
||||
|
@ -105,11 +105,11 @@ LavaridgeTown_EventScript_RivalExit:: @ 81EA5FF
|
||||
end
|
||||
|
||||
LavaridgeTown_EventScript_PlayMayMusic:: @ 81EA630
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
LavaridgeTown_EventScript_PlayBrendanMusic:: @ 81EA635
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
LavaridgeTown_EventScript_RivalNoticePlayer:: @ 81EA63A
|
||||
|
@ -241,7 +241,7 @@ LilycoveCity_EventScript_Rival:: @ 81E2DDE
|
||||
end
|
||||
|
||||
LilycoveCity_EventScript_May:: @ 81E2DF8
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_MayAskToBattleAgain
|
||||
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_MayAskToBattle
|
||||
compare VAR_RESULT, NO
|
||||
@ -270,7 +270,7 @@ LilycoveCity_EventScript_DeclineMayBattle:: @ 81E2E5A
|
||||
end
|
||||
|
||||
LilycoveCity_EventScript_Brendan:: @ 81E2E6B
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_BrendanAskToBattleAgain
|
||||
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_BrendanAskToBattle
|
||||
compare VAR_RESULT, NO
|
||||
|
@ -158,7 +158,7 @@ LittlerootTown_BrendansHouse_1F_EventScript_MeetRival:: @ 81F78E2
|
||||
waitmovement 0
|
||||
compare VAR_0x8008, 1
|
||||
call_if_ne LittlerootTown_BrendansHouse_1F_EventScript_PlayerFaceBrendan
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
compare VAR_0x8008, 0
|
||||
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer0
|
||||
compare VAR_0x8008, 1
|
||||
|
@ -74,7 +74,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendan:: @ 81F8497
|
||||
applymovement LOCALID_RIVAL, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
delay 10
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanNorth
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
|
@ -192,7 +192,7 @@ LittlerootTown_MaysHouse_1F_EventScript_MeetRival:: @ 81F8A8B
|
||||
waitmovement 0
|
||||
compare VAR_0x8008, 1
|
||||
call_if_ne LittlerootTown_MaysHouse_1F_EventScript_PlayerFaceMay
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
compare VAR_0x8008, 0
|
||||
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer0
|
||||
compare VAR_0x8008, 1
|
||||
|
@ -74,7 +74,7 @@ LittlerootTown_MaysHouse_2F_EventScript_MeetMay:: @ 81F934A
|
||||
applymovement LOCALID_RIVAL, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
delay 10
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
|
@ -11,7 +11,7 @@ MagmaHideout_4F_MapScripts:: @ 823A55F
|
||||
|
||||
MagmaHideout_4F_EventScript_Maxie:: @ 823A560
|
||||
lockall
|
||||
playbgm MUS_ENCOUNTER_MAGMA, 0
|
||||
playbgm MUS_ENCOUNTER_MAGMA, FALSE
|
||||
msgbox MagmaHideout_4F_Text_MaxieAwakenGroudon, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
delay 20
|
||||
|
@ -21,7 +21,7 @@ MeteorFalls_1F_1R_EventScript_OpenStevensCave:: @ 822BD3A
|
||||
|
||||
MeteorFalls_1F_1R_EventScript_MagmaStealsMeteoriteScene:: @ 822BD5F
|
||||
lockall
|
||||
playbgm MUS_ENCOUNTER_MAGMA, 0
|
||||
playbgm MUS_ENCOUNTER_MAGMA, FALSE
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_FaceDown
|
||||
waitmovement 0
|
||||
delay 30
|
||||
@ -50,7 +50,7 @@ MeteorFalls_1F_1R_EventScript_MagmaStealsMeteoriteScene:: @ 822BD5F
|
||||
addobject LOCALID_ARCHIE
|
||||
addobject LOCALID_AQUA_GRUNT_1
|
||||
addobject LOCALID_AQUA_GRUNT_2
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
applymovement LOCALID_ARCHIE, MeteorFalls_1F_1R_Movement_ArchieArrive
|
||||
applymovement LOCALID_AQUA_GRUNT_1, MeteorFalls_1F_1R_Movement_AquaGrunt1Arrive
|
||||
applymovement LOCALID_AQUA_GRUNT_2, MeteorFalls_1F_1R_Movement_AquaGrunt2Arrive
|
||||
|
@ -40,7 +40,7 @@ MtChimney_EventScript_ArchieBusyFighting:: @ 822EE02
|
||||
|
||||
MtChimney_EventScript_Maxie:: @ 822EE0B
|
||||
lockall
|
||||
playbgm MUS_ENCOUNTER_MAGMA, 0
|
||||
playbgm MUS_ENCOUNTER_MAGMA, FALSE
|
||||
msgbox MtChimney_Text_MeteoriteWillActivateVolcano, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_MAXIE, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
|
@ -39,7 +39,7 @@ MtPyre_Summit_EventScript_TeamAquaTrigger2:: @ 8232030
|
||||
end
|
||||
|
||||
MtPyre_Summit_EventScript_TeamAquaExits:: @ 823203C
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_FaceUp
|
||||
waitmovement 0
|
||||
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFastestDown
|
||||
|
@ -43,7 +43,7 @@ OldaleTown_EventScript_MartEmployee:: @ 81E8EFC
|
||||
goto_if_set FLAG_RECEIVED_POTION_OLDALE, OldaleTown_EventScript_ExplainPotion
|
||||
goto_if_set FLAG_TEMP_1, OldaleTown_EventScript_ExplainPotion
|
||||
setflag FLAG_TEMP_1
|
||||
playbgm MUS_FOLLOW_ME, 0
|
||||
playbgm MUS_FOLLOW_ME, FALSE
|
||||
msgbox OldaleTown_Text_IWorkAtPokemonMart, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
switch VAR_FACING
|
||||
|
@ -271,7 +271,7 @@ PetalburgCity_EventScript_ShowGymToPlayer3:: @ 81DC4BE
|
||||
PetalburgCity_EventScript_ShowGymToPlayer:: @ 81DC4CA
|
||||
applymovement LOCALID_GYM_BOY, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
playbgm MUS_FOLLOW_ME, 0
|
||||
playbgm MUS_FOLLOW_ME, FALSE
|
||||
playse SE_PIN
|
||||
applymovement LOCALID_GYM_BOY, Common_Movement_ExclamationMark
|
||||
waitmovement 0
|
||||
|
@ -203,7 +203,7 @@ PetalburgCity_Gym_EventScript_BeginWallyTutorial:: @ 8204AAC
|
||||
msgbox PetalburgCity_Gym_Text_WouldYouReallyComeWithMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setflag FLAG_DONT_TRANSITION_MUSIC
|
||||
playbgm MUS_FOLLOW_ME, 0
|
||||
playbgm MUS_FOLLOW_ME, FALSE
|
||||
compare VAR_0x8008, 0
|
||||
call_if_eq PetalburgCity_Gym_EventScript_ExitGymWithWallySouth
|
||||
compare VAR_0x8008, 1
|
||||
@ -487,7 +487,7 @@ PetalburgCity_Gym_EventScript_WallysDadArrives:: @ 8204F13
|
||||
msgbox PetalburgCity_Gym_Text_LetMeBorrowPlayer, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setflag FLAG_DONT_TRANSITION_MUSIC
|
||||
playbgm MUS_FOLLOW_ME, 0
|
||||
playbgm MUS_FOLLOW_ME, FALSE
|
||||
compare VAR_0x8008, 1
|
||||
call_if_eq PetalburgCity_Gym_EventScript_ExitGymWithWallysDadNorth
|
||||
compare VAR_0x8008, 2
|
||||
|
@ -11,7 +11,7 @@ PetalburgWoods_EventScript_DevonResearcherLeft:: @ 822DFD7
|
||||
waitmovement 0
|
||||
msgbox PetalburgWoods_Text_HaveYouSeenShroomish, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
applymovement LOCALID_GRUNT, PetalburgWoods_Movement_AquaEntrance
|
||||
waitmovement 0
|
||||
msgbox PetalburgWoods_Text_IWasGoingToAmbushYou, MSGBOX_DEFAULT
|
||||
@ -48,7 +48,7 @@ PetalburgWoods_EventScript_DevonResearcherRight:: @ 822E079
|
||||
waitmovement 0
|
||||
msgbox PetalburgWoods_Text_HaveYouSeenShroomish, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
applymovement LOCALID_GRUNT, PetalburgWoods_Movement_AquaEntrance
|
||||
waitmovement 0
|
||||
msgbox PetalburgWoods_Text_IWasGoingToAmbushYou, MSGBOX_DEFAULT
|
||||
|
@ -21,7 +21,7 @@ Route101_EventScript_HideMapNamePopup:: @ 81EBCD5
|
||||
|
||||
Route101_EventScript_StartBirchRescue:: @ 81EBCDE
|
||||
lockall
|
||||
playbgm MUS_HELP, 1
|
||||
playbgm MUS_HELP, TRUE
|
||||
msgbox Route101_Text_HelpMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setobjectxy LOCALID_BIRCH, 0, 15
|
||||
|
@ -31,7 +31,7 @@ Route103_EventScript_Rival:: @ 81EC3C1
|
||||
Route103_EventScript_RivalMay:: @ 81EC3DA
|
||||
msgbox Route103_Text_MayRoute103Pokemon, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
applymovement LOCALID_RIVAL, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Common_Movement_ExclamationMark
|
||||
@ -48,7 +48,7 @@ Route103_EventScript_RivalMay:: @ 81EC3DA
|
||||
Route103_EventScript_RivalBrendan:: @ 81EC434
|
||||
msgbox Route103_Text_BrendanRoute103Pokemon, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
applymovement LOCALID_RIVAL, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Common_Movement_ExclamationMark
|
||||
|
@ -84,11 +84,11 @@ Route104_EventScript_PlayRivalMusic:: @ 81ECD11
|
||||
return
|
||||
|
||||
Route104_EventScript_PlayMayMusic:: @ 81ECD29
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
Route104_EventScript_PlayBrendanMusic:: @ 81ECD2E
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
Route104_EventScript_RivalEncounter:: @ 81ECD33
|
||||
|
@ -410,11 +410,11 @@ Route110_EventScript_RivalScene:: @ 81EF76E
|
||||
end
|
||||
|
||||
Route110_EventScript_PlayMayMusic:: @ 81EF7E1
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
Route110_EventScript_PlayBrendanMusic:: @ 81EF7E6
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
Route110_EventScript_MayBattle:: @ 81EF7EB
|
||||
|
@ -74,11 +74,11 @@ Route119_EventScript_RivalEncounter:: @ 81F4488
|
||||
end
|
||||
|
||||
Route119_EventScript_PlayMayMusic:: @ 81F4501
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
Route119_EventScript_PlayBrendanMusic:: @ 81F4506
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
Route119_EventScript_BattleMay:: @ 81F450B
|
||||
|
@ -19,7 +19,7 @@ Route121_EventScript_SafariZoneSign:: @ 81F5E0F
|
||||
|
||||
Route121_EventScript_AquaGruntsMoveOut:: @ 81F5E18
|
||||
lockall
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
applymovement LOCALID_GRUNT_2, Common_Movement_WalkInPlaceRight
|
||||
waitmovement 0
|
||||
msgbox Route121_Text_OkayMoveOutToMtPyre, MSGBOX_DEFAULT
|
||||
|
@ -294,7 +294,7 @@ RustboroCity_EventScript_StolenGoodsTrigger4:: @ 81E09B6
|
||||
RustboroCity_EventScript_StolenGoodsScene:: @ 81E09CD
|
||||
msgbox RustboroCity_Text_OutOfTheWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
addobject LOCALID_GRUNT
|
||||
addobject LOCALID_DEVON_EMPLOYEE
|
||||
applymovement LOCALID_GRUNT, RustboroCity_Movement_GruntEscape
|
||||
@ -706,11 +706,11 @@ RustboroCity_EventScript_PlayRivalMusic:: @ 81E0DD1
|
||||
return
|
||||
|
||||
RustboroCity_EventScript_PlayMayMusic:: @ 81E0DE9
|
||||
playbgm MUS_ENCOUNTER_MAY, 1
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
RustboroCity_EventScript_PlayBrendanMusic:: @ 81E0DEE
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, 1
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
RustboroCity_EventScript_RivalTrigger0:: @ 81E0DF3
|
||||
|
@ -39,7 +39,7 @@ RustboroCity_DevonCorp_3F_EventScript_MeetPresident:: @ 821246E
|
||||
waitmovement 0
|
||||
msgbox RustboroCity_DevonCorp_3F_Text_WordWithPresidentComeWithMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_FOLLOW_ME, 0
|
||||
playbgm MUS_FOLLOW_ME, FALSE
|
||||
applymovement LOCALID_DEVON_EMPLOYEE, RustboroCity_DevonCorp_3F_Movement_LeadPlayerToPresident
|
||||
applymovement OBJ_EVENT_ID_PLAYER, RustboroCity_DevonCorp_3F_Movement_PlayerFollowToPresident
|
||||
waitmovement 0
|
||||
|
@ -316,7 +316,7 @@ RusturfTunnel_EventScript_Peeko:: @ 822D0AF
|
||||
RusturfTunnel_EventScript_Grunt:: @ 822D0C2
|
||||
lock
|
||||
faceplayer
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
msgbox RusturfTunnel_Text_GruntIntro, MSGBOX_DEFAULT
|
||||
trainerbattle_no_intro TRAINER_GRUNT_RUSTURF_TUNNEL, RusturfTunnel_Text_GruntDefeat
|
||||
msgbox RusturfTunnel_Text_GruntTakePackage, MSGBOX_DEFAULT
|
||||
|
@ -18,7 +18,7 @@ SeafloorCavern_Room9_EventScript_ArchieAwakenKyogre:: @ 8234DC9
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, SeafloorCavern_Room9_Movement_Delay32
|
||||
waitmovement 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
msgbox SeafloorCavern_Room9_Text_ArchieHoldItRightThere, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
addobject VAR_0x8004
|
||||
|
@ -603,7 +603,7 @@ SlateportCity_EventScript_CaptStern:: @ 81DD1F8
|
||||
applymovement LOCALID_CAPT_STERN, Common_Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
msgbox SlateportCity_Text_OhPlayerWeMadeDiscovery, MSGBOX_DEFAULT
|
||||
playbgm MUS_ENCOUNTER_AQUA, 0
|
||||
playbgm MUS_ENCOUNTER_AQUA, FALSE
|
||||
msgbox SlateportCity_Text_AquaWillAssumeControlOfSubmarine, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_COOK, Common_Movement_WalkInPlaceFastestLeft
|
||||
applymovement LOCALID_FAT_MAN, Common_Movement_WalkInPlaceFastestLeft
|
||||
|
@ -11,7 +11,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
|
||||
faceplayer
|
||||
msgbox SlateportCity_OceanicMuseum_2F_Text_ThankYouForTheParts, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playbgm MUS_ENCOUNTER_AQUA, 1
|
||||
playbgm MUS_ENCOUNTER_AQUA, TRUE
|
||||
addobject LOCALID_GRUNT_1
|
||||
applymovement LOCALID_GRUNT_1, SlateportCity_OceanicMuseum_2F_Movement_FirstGruntEnter
|
||||
waitmovement 0
|
||||
|
@ -916,7 +916,7 @@ ContestHall_EventScript_ContestResults:: @ 827A8A5
|
||||
setvar VAR_TEMP_9, 1
|
||||
showcontestresults
|
||||
setvar VAR_TEMP_9, 0
|
||||
playbgm MUS_CONTEST_WINNER, 0
|
||||
playbgm MUS_CONTEST_WINNER, FALSE
|
||||
return
|
||||
|
||||
ContestHall_EventScript_ThatsItForJudging:: @ 827A8FB
|
||||
|
@ -159,7 +159,7 @@ PlayersHouse_1F_EventScript_PetalburgGymReportMale:: @ 829286D
|
||||
call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForGymMale
|
||||
waitmovement 0
|
||||
playbgm MUS_ENCOUNTER_INTERVIEWER, 0
|
||||
playbgm MUS_ENCOUNTER_INTERVIEWER, FALSE
|
||||
msgbox PlayersHouse_1F_Text_MaybeDadWillBeOn, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomMakeRoomToSeeTVMale
|
||||
@ -184,7 +184,7 @@ PlayersHouse_1F_EventScript_PetalburgGymReportFemale:: @ 82928DC
|
||||
call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale
|
||||
waitmovement 0
|
||||
playbgm MUS_ENCOUNTER_INTERVIEWER, 0
|
||||
playbgm MUS_ENCOUNTER_INTERVIEWER, FALSE
|
||||
msgbox PlayersHouse_1F_Text_MaybeDadWillBeOn, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomMakeRoomToSeeTVFemale
|
||||
|
Loading…
x
Reference in New Issue
Block a user