Merge branch 'master' into fix-eventobj
This commit is contained in:
@@ -1,30 +1,30 @@
|
||||
VerdanturfTown_BattleTentLobby_MapScripts:: @ 82016D0
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentLobby_MapScript2_2016EF
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentLobby_MapScript2_2016DB
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_MapScript2_2016DB: @ 82016DB
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentLobby_EventScript_2016E5
|
||||
VerdanturfTown_BattleTentLobby_OnWarp: @ 82016DB
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2016E5:: @ 82016E5
|
||||
VerdanturfTown_BattleTentLobby_EventScript_TurnPlayerNorth:: @ 82016E5
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_MapScript2_2016EF: @ 82016EF
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentLobby_EventScript_201719
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, VerdanturfTown_BattleTentLobby_EventScript_201722
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, VerdanturfTown_BattleTentLobby_EventScript_201837
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, VerdanturfTown_BattleTentLobby_EventScript_201757
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, VerdanturfTown_BattleTentLobby_EventScript_2017FD
|
||||
VerdanturfTown_BattleTentLobby_OnFrame: @ 82016EF
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, VerdanturfTown_BattleTentLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, VerdanturfTown_BattleTentLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, VerdanturfTown_BattleTentLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, VerdanturfTown_BattleTentLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201719:: @ 8201719
|
||||
VerdanturfTown_BattleTentLobby_EventScript_GetChallengeStatus:: @ 8201719
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
|
||||
VerdanturfTown_BattleTentLobby_EventScript_QuitWithoutSaving:: @ 8201722
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
@@ -34,10 +34,10 @@ VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201757:: @ 8201757
|
||||
VerdanturfTown_BattleTentLobby_EventScript_WonChallenge:: @ 8201757
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5731, MSGBOX_DEFAULT
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C5791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AchievedThreeWinStreak, MSGBOX_DEFAULT
|
||||
message VerdanturfTown_BattleTentLobby_Text_FeatWillBeRecorded
|
||||
waitmessage
|
||||
verdanturftent_setrandomprize
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
@@ -45,23 +45,23 @@ VerdanturfTown_BattleTentLobby_EventScript_201757:: @ 8201757
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201791:: @ 8201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C57CD, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_GivePrize:: @ 8201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_PresentYouWithPrize, MSGBOX_DEFAULT
|
||||
verdanturftent_giveprize
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_2017DD
|
||||
case FALSE, VerdanturfTown_BattleTentLobby_EventScript_NoRoomForPrize
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
message VerdanturfTown_BattleTentLobby_Text_24A554
|
||||
message BattleFrontier_BattleDomeLobby_Text_ReceivedPrize @ Odd that it used Dome's copy instead of Palace's
|
||||
waitmessage
|
||||
playfanfare MUS_FANFA4
|
||||
waitfanfare
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NoRoomForPrize:: @ 82017DD
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
closemessage
|
||||
@@ -69,27 +69,27 @@ VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017EE:: @ 82017EE
|
||||
VerdanturfTown_BattleTentLobby_EventScript_PrizeWaiting:: @ 82017EE
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5731, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AchievedThreeWinStreak, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_GivePrize
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017FD:: @ 82017FD
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LostChallenge:: @ 82017FD
|
||||
lockall
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C56B8
|
||||
message VerdanturfTown_BattleTentLobby_Text_ResultsWillBeRecorded
|
||||
waitmessage
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
verdanturftent_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ResumeChallenge:: @ 8201837
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
|
||||
@@ -99,50 +99,49 @@ VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837
|
||||
waitse
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_2019AE
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EnterChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201873:: @ 8201873
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Attendant:: @ 8201873
|
||||
lock
|
||||
faceplayer
|
||||
verdanturftent_getprize
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne VerdanturfTown_BattleTentLobby_EventScript_2017EE
|
||||
compare VAR_RESULT, ITEM_NONE
|
||||
goto_if_ne VerdanturfTown_BattleTentLobby_EventScript_PrizeWaiting
|
||||
special SavePlayerParty
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C50C3, MSGBOX_DEFAULT
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201893:: @ 8201893
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C5129
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_WelcomeToBattleTent, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_AskEnterChallenge:: @ 8201893
|
||||
message VerdanturfTown_BattleTentLobby_Text_TakeChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_2018CF
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_2019DB
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_TryEnterChallenge
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_ExplainChallenge
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2018CF:: @ 82018CF
|
||||
VerdanturfTown_BattleTentLobby_EventScript_TryEnterChallenge:: @ 82018CF
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
setvar VAR_RESULT, 2
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_2019E8
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_TENT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5633, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 1
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5662, MSGBOX_YESNO
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
case YES, VerdanturfTown_BattleTentLobby_EventScript_201954
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
case NO, VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
case YES, VerdanturfTown_BattleTentLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201954:: @ 8201954
|
||||
VerdanturfTown_BattleTentLobby_EventScript_SaveBeforeChallenge:: @ 8201954
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
verdanturftent_init
|
||||
@@ -154,185 +153,184 @@ VerdanturfTown_BattleTentLobby_EventScript_201954:: @ 8201954
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_201A1D
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019AE:: @ 82019AE
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed
|
||||
VerdanturfTown_BattleTentLobby_EventScript_EnterChallenge:: @ 82019AE
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C56A2, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NowFollowMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call VerdanturfTown_BattleTentLobby_EventScript_201A41
|
||||
call VerdanturfTown_BattleTentLobby_EventScript_WalkToDoor
|
||||
warp MAP_VERDANTURF_TOWN_BATTLE_TENT_CORRIDOR, 255, 2, 7
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019DB:: @ 82019DB
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5163, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201893
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ExplainChallenge:: @ 82019DB
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ExplainVerdanturfTent, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_AskEnterChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019E8:: @ 82019E8
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMons:: @ 82019E8
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, VerdanturfTown_BattleTentLobby_EventScript_201A03
|
||||
case FRONTIER_LVL_OPEN, VerdanturfTown_BattleTentLobby_EventScript_201A10
|
||||
case FRONTIER_LVL_50, VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A03:: @ 8201A03
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C543D, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50:: @ 8201A03
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A10:: @ 8201A10
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5538, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8201A10
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A1D:: @ 8201A1D
|
||||
VerdanturfTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed:: @ 8201A1D
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A34:: @ 8201A34
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge:: @ 8201A34
|
||||
special LoadPlayerParty
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A37:: @ 8201A37
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A3F:: @ 8201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge:: @ 8201A37
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge:: @ 8201A3F
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A41:: @ 8201A41
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_201A70
|
||||
applymovement OBJ_EVENT_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_201A70
|
||||
VerdanturfTown_BattleTentLobby_EventScript_WalkToDoor:: @ 8201A41
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_WalkToDoor
|
||||
applymovement OBJ_EVENT_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 6, 1
|
||||
waitdooranim
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_201A74
|
||||
applymovement OBJ_EVENT_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_201A77
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_AttendantEnterDoor
|
||||
applymovement OBJ_EVENT_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 6, 1
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A70: @ 8201A70
|
||||
VerdanturfTown_BattleTentLobby_Movement_WalkToDoor: @ 8201A70
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A74: @ 8201A74
|
||||
VerdanturfTown_BattleTentLobby_Movement_AttendantEnterDoor: @ 8201A74
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A77: @ 8201A77
|
||||
VerdanturfTown_BattleTentLobby_Movement_PlayerEnterDoor: @ 8201A77
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A7B:: @ 8201A7B
|
||||
VerdanturfTown_BattleTentLobby_EventScript_AttractGiver:: @ 8201A7B
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201D9E, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM45
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM45
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201E43, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionMutual, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AB2:: @ 8201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201E43, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract:: @ 8201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionMutual, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201ABC:: @ 8201ABC
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201EB1, MSGBOX_NPC
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Boy1:: @ 8201ABC
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_TaughtWhatKindsOfMoves, MSGBOX_NPC
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AC5:: @ 8201AC5
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Boy2:: @ 8201AC5
|
||||
lock
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201BD4, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_MonsReluctantToUseDislikedMoves, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AD0:: @ 8201AD0
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Scott:: @ 8201AD0
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201F3F, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ScottCanMeetToughTrainers, MSGBOX_DEFAULT
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
setflag FLAG_MET_SCOTT_IN_VERDANTURF
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AED:: @ 8201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_202025, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo:: @ 8201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ScottVisitRegularly, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AF7:: @ 8201AF7
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LittleBoy:: @ 8201AF7
|
||||
lock
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201D11, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_GentleMonsScaryIfAngry, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B02:: @ 8201B02
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesBoard:: @ 8201B02
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C6878, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard:: @ 8201B11
|
||||
message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES
|
||||
special ShowScrollableMultichoice
|
||||
waitstate
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_201B7E
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_201B8C
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_201B9A
|
||||
case 3, VerdanturfTown_BattleTentLobby_EventScript_201BA8
|
||||
case 4, VerdanturfTown_BattleTentLobby_EventScript_201BB6
|
||||
case 5, VerdanturfTown_BattleTentLobby_EventScript_201BC4
|
||||
case 6, VerdanturfTown_BattleTentLobby_EventScript_201BD2
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201BD2
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_RulesLevel
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_RulesBasics
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_RulesNature
|
||||
case 3, VerdanturfTown_BattleTentLobby_EventScript_RulesMoves
|
||||
case 4, VerdanturfTown_BattleTentLobby_EventScript_RulesUnderpowered
|
||||
case 5, VerdanturfTown_BattleTentLobby_EventScript_RulesWhenInDanger
|
||||
case 6, VerdanturfTown_BattleTentLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B7E:: @ 8201B7E
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C67CD, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesLevel:: @ 8201B7E
|
||||
msgbox BattleTentLobby_Text_ExplainLevelRules, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesBasics:: @ 8201B8C
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesNature:: @ 8201B9A
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesMoves:: @ 8201BA8
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesUnderpowered:: @ 8201BB6
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesWhenInDanger:: @ 8201BC4
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BD2:: @ 8201BD2
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ExitRules:: @ 8201BD2
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201BD4: @ 8201BD4
|
||||
VerdanturfTown_BattleTentLobby_Text_MonsReluctantToUseDislikedMoves: @ 8201BD4
|
||||
.string "If it doesn't like a certain move,\n"
|
||||
.string "a POKéMON will be reluctant to use it.\p"
|
||||
.string "It doesn't matter how strong it is,\n"
|
||||
@@ -344,14 +342,14 @@ VerdanturfTown_BattleTentLobby_Text_201BD4: @ 8201BD4
|
||||
.string "potential, it's probably failing at\l"
|
||||
.string "using a disliked move against its will.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201D11: @ 8201D11
|
||||
VerdanturfTown_BattleTentLobby_Text_GentleMonsScaryIfAngry: @ 8201D11
|
||||
.string "My big sister is gentle usually.\n"
|
||||
.string "But when she gets angry,\l"
|
||||
.string "she's really, really scary!\p"
|
||||
.string "I bet a gentle POKéMON will be scary\n"
|
||||
.string "if it gets angry!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201D9E: @ 8201D9E
|
||||
VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep: @ 8201D9E
|
||||
.string "My feelings toward my POKéMON…\n"
|
||||
.string "The attraction runs deep…\p"
|
||||
.string "Oh, hi, you didn't see that, did you?\n"
|
||||
@@ -359,20 +357,20 @@ VerdanturfTown_BattleTentLobby_Text_201D9E: @ 8201D9E
|
||||
.string "How would you like this TM for\n"
|
||||
.string "your POKéMON?$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201E43: @ 8201E43
|
||||
VerdanturfTown_BattleTentLobby_Text_AttractionMutual: @ 8201E43
|
||||
.string "My feelings toward my POKéMON…\n"
|
||||
.string "I'm sure the attraction is mutual!\p"
|
||||
.string "They battle exactly the way I want\n"
|
||||
.string "them to!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201EB1: @ 8201EB1
|
||||
VerdanturfTown_BattleTentLobby_Text_TaughtWhatKindsOfMoves: @ 8201EB1
|
||||
.string "What kind of moves have you taught\n"
|
||||
.string "your POKéMON?\p"
|
||||
.string "I think you would give yourself\n"
|
||||
.string "an advantage if they knew how to\l"
|
||||
.string "heal or protect themselves.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201F3F: @ 8201F3F
|
||||
VerdanturfTown_BattleTentLobby_Text_ScottCanMeetToughTrainers: @ 8201F3F
|
||||
.string "SCOTT: Hey there, {PLAYER}{KUN}!\n"
|
||||
.string "I thought I might see you here.\p"
|
||||
.string "A BATTLE TENT's a place where\n"
|
||||
@@ -382,7 +380,7 @@ VerdanturfTown_BattleTentLobby_Text_201F3F: @ 8201F3F
|
||||
.string "{PLAYER}{KUN}, I expect you to do\n"
|
||||
.string "the best you can!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_202025: @ 8202025
|
||||
VerdanturfTown_BattleTentLobby_Text_ScottVisitRegularly: @ 8202025
|
||||
.string "SCOTT: I visit here regularly in hopes\n"
|
||||
.string "of seeing tough TRAINERS in action\l"
|
||||
.string "in whatever the situation.$"
|
||||
|
||||
Reference in New Issue
Block a user