2015-07-10 01:45:35 -07:00
|
|
|
PokeCenter2F_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 6
|
|
|
|
|
|
|
|
; triggers
|
2015-07-16 15:10:10 -07:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
|
|
|
dw .Trigger3, $0000
|
|
|
|
dw .Trigger4, $0000
|
|
|
|
dw .Trigger5, $0000
|
|
|
|
dw .Trigger6, $0000
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger1:
|
|
|
|
special Special_CheckMysteryGift
|
|
|
|
if_equal $0, .Trigger1Done
|
|
|
|
clearevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
|
2015-07-20 00:51:52 -07:00
|
|
|
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Trigger1Done
|
|
|
|
priorityjump PokeCenter2F_AppearMysteryGiftDeliveryGuy
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger1Done:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger2:
|
|
|
|
priorityjump Script_LeftCableTradeCenter
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger3:
|
|
|
|
priorityjump Script_LeftCableColosseum
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger4:
|
|
|
|
priorityjump Script_LeftTimeCapsule
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger5:
|
|
|
|
priorityjump Script_LeftMobileTradeRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger6:
|
|
|
|
priorityjump Script_LeftMobileBattleRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
PokeCenter2F_AppearMysteryGiftDeliveryGuy:
|
2013-02-16 22:54:07 -08:00
|
|
|
appear $5
|
2015-07-20 00:51:52 -07:00
|
|
|
setevent EVENT_RECEIVED_BALLS_FROM_KURT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_TradeCenterClosed:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_TradeRoomClosed
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_BattleRoomClosed:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_BattleRoomClosed
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
LinkReceptionistScript_Trade:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse Script_TradeCenterClosed
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_TradeReceptionistIntro
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Cancel
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function10630f
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .NoMobile
|
|
|
|
writetext Text_TradeReceptionistMobile
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function103612
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Cancel
|
|
|
|
if_equal $1, .Mobile
|
|
|
|
.NoMobile:
|
|
|
|
special Special_SetBitsForLinkTradeRequest
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_WaitForLinkedFriend
|
|
|
|
iffalse .FriendNotReady
|
|
|
|
writetext Text_MustSaveGame
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .DidNotSave
|
|
|
|
special Special_TryQuickSave
|
|
|
|
iffalse .DidNotSave
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_CheckLinkTimeout
|
|
|
|
iffalse .LinkTimedOut
|
2015-02-10 15:37:24 -08:00
|
|
|
copybytetovar wcf51
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .LinkedToFirstGen
|
|
|
|
special Special_CheckBothSelectedSameRoom
|
|
|
|
iffalse .IncompatibleRooms
|
|
|
|
writetext Text_PleaseComeIn2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-16 15:10:10 -07:00
|
|
|
scall PokeCenter2F_CheckGender
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FriendNotReady:
|
|
|
|
special Special_AbortLink
|
|
|
|
writetext Text_FriendNotReady
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.LinkedToFirstGen:
|
|
|
|
special Special_FailedLinkToPast
|
|
|
|
writetext Text_CantLinkToThePast
|
|
|
|
special Special_CloseLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.IncompatibleRooms:
|
|
|
|
writetext Text_IncompatibleRooms
|
|
|
|
special Special_CloseLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.LinkTimedOut:
|
|
|
|
writetext Text_LinkTimedOut
|
|
|
|
jump .AbortLink
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.DidNotSave:
|
|
|
|
writetext Text_PleaseComeAgain
|
|
|
|
.AbortLink:
|
|
|
|
special Special_AbortLink
|
|
|
|
.Cancel:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile:
|
|
|
|
scall .Mobile_TrySave
|
|
|
|
iftrue .Mobile_Abort
|
|
|
|
scall BattleTradeMobile_WalkIn
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_Abort:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_TrySave:
|
|
|
|
writetext Text_MustSaveGame
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Mobile_DidNotSave
|
|
|
|
special Special_TryQuickSave
|
|
|
|
iffalse .Mobile_DidNotSave
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function1011f1
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_PleaseComeIn2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
writebyte $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_DidNotSave:
|
|
|
|
writetext Text_PleaseComeAgain
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
writebyte $1
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
BattleTradeMobile_WalkIn:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cce
|
|
|
|
applymovement $0, MovementData_0x192ce7
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
LinkReceptionistScript_Battle:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse Script_BattleRoomClosed
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_BattleReceptionistIntro
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Cancel
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function10630f
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .NoMobile
|
|
|
|
writetext Text_BattleReceptionistMobile
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function103612
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Cancel
|
|
|
|
if_equal $1, .Mobile
|
|
|
|
.NoMobile:
|
|
|
|
special Special_SetBitsForBattleRequest
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_WaitForLinkedFriend
|
|
|
|
iffalse .FriendNotReady
|
|
|
|
writetext Text_MustSaveGame
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .DidNotSave
|
|
|
|
special Special_TryQuickSave
|
|
|
|
iffalse .DidNotSave
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_CheckLinkTimeout
|
|
|
|
iffalse .LinkTimedOut
|
2015-02-10 15:37:24 -08:00
|
|
|
copybytetovar wcf51
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .LinkedToFirstGen
|
|
|
|
special Special_CheckBothSelectedSameRoom
|
|
|
|
iffalse .IncompatibleRooms
|
|
|
|
writetext Text_PleaseComeIn2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-16 15:10:10 -07:00
|
|
|
scall PokeCenter2F_CheckGender
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FriendNotReady:
|
|
|
|
special Special_AbortLink
|
|
|
|
writetext Text_FriendNotReady
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.LinkedToFirstGen:
|
|
|
|
special Special_FailedLinkToPast
|
|
|
|
writetext Text_CantLinkToThePast
|
|
|
|
special Special_CloseLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.IncompatibleRooms:
|
|
|
|
writetext Text_IncompatibleRooms
|
|
|
|
special Special_CloseLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.LinkTimedOut:
|
|
|
|
writetext Text_LinkTimedOut
|
|
|
|
jump .AbortLink
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.DidNotSave:
|
|
|
|
writetext Text_PleaseComeAgain
|
|
|
|
.AbortLink:
|
|
|
|
special Special_AbortLink
|
|
|
|
.Cancel:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile:
|
|
|
|
scall .SelectThreeMons
|
|
|
|
iffalse .Mobile_Abort
|
|
|
|
scall .Mobile_TrySave
|
|
|
|
iftrue .Mobile_Abort
|
|
|
|
scall BattleTradeMobile_WalkIn
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_Abort:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_TrySave:
|
|
|
|
writetext Text_MustSaveGame
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Mobile_DidNotSave
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function103780
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Mobile_DidNotSave
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function1011f1
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_PleaseComeIn2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
writebyte $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_DidNotSave:
|
|
|
|
writetext Text_PleaseComeAgain
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
writebyte $1
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.SelectThreeMons:
|
|
|
|
special Mobile_SelectThreeMons
|
|
|
|
iffalse .Mobile_DidNotSelect
|
|
|
|
if_equal $1, .Mobile_OK
|
|
|
|
if_equal $2, .Mobile_OK
|
|
|
|
if_equal $3, .Mobile_InvalidParty
|
|
|
|
jump .Mobile_DidNotSelect
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_InvalidParty:
|
|
|
|
writetext Text_BrokeStadiumRules
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_DidNotSelect:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
writebyte $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Mobile_OK:
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte $1
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_TimeCapsuleClosed:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_TimeCapsuleClosed
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
LinkReceptionistScript_TimeCapsule:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_MET_BILL
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue Script_TimeCapsuleClosed
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_TIME_CAPSULE
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue Script_TimeCapsuleClosed
|
|
|
|
special Special_SetBitsForTimeCapsuleRequest
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_TimeCapsuleRecptionistIntro
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Cancel
|
|
|
|
special Special_CheckTimeCapsuleCompatibility
|
|
|
|
if_equal $1, .MonTooNew
|
|
|
|
if_equal $2, .MonMoveTooNew
|
|
|
|
if_equal $3, .MonHasMail
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_WaitForLinkedFriend
|
|
|
|
iffalse .FriendNotReady
|
|
|
|
writetext Text_MustSaveGame
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .DidNotSave
|
|
|
|
special Special_TryQuickSave
|
|
|
|
iffalse .DidNotSave
|
|
|
|
writetext Text_PleaseWait
|
|
|
|
special Special_CheckLinkTimeout
|
|
|
|
iffalse .LinkTimedOut
|
2015-02-10 15:37:24 -08:00
|
|
|
copybytetovar wcf51
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .OK
|
|
|
|
special Special_CheckBothSelectedSameRoom
|
|
|
|
writetext Text_IncompatibleRooms
|
|
|
|
special Special_CloseLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.OK:
|
|
|
|
special Special_EnterTimeCapsule
|
|
|
|
writetext Text_PleaseComeIn2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-16 15:10:10 -07:00
|
|
|
scall TimeCapsuleScript_CheckPlayerGender
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FriendNotReady:
|
|
|
|
special Special_AbortLink
|
|
|
|
writetext Text_FriendNotReady
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.LinkTimedOut:
|
|
|
|
writetext Text_LinkTimedOut
|
|
|
|
jump .Cancel
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.DidNotSave:
|
|
|
|
writetext Text_PleaseComeAgain
|
|
|
|
.Cancel:
|
|
|
|
special Special_AbortLink
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.MonTooNew:
|
|
|
|
writetext Text_RejectNewMon
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.MonMoveTooNew:
|
|
|
|
writetext Text_RejectMonWithNewMove
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.MonHasMail:
|
|
|
|
writetext Text_RejectMonWithMail
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_LeftCableTradeCenter:
|
|
|
|
special Special_AbortLink
|
|
|
|
scall Script_CleanUpFemaleFlagAfterTrade
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
|
|
|
domaptrigger GROUP_TRADE_CENTER, MAP_TRADE_CENTER, $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_LeftMobileTradeRoom:
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function101220
|
2015-07-16 15:10:10 -07:00
|
|
|
scall Script_WalkOutOfMobileTradeRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
|
|
|
domaptrigger GROUP_MOBILE_TRADE_ROOM_MOBILE, MAP_MOBILE_TRADE_ROOM_MOBILE, $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_WalkOutOfMobileTradeRoom:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x192d0b
|
|
|
|
applymovement $0, MovementData_0x192d0f
|
|
|
|
applymovement $2, MovementData_0x192d14
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_LeftCableColosseum:
|
|
|
|
special Special_AbortLink
|
|
|
|
scall Script_CleanUpFemaleFlagAfterBattle
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
|
|
|
domaptrigger GROUP_COLOSSEUM, MAP_COLOSSEUM, $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_LeftMobileBattleRoom:
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function101220
|
2015-07-16 15:10:10 -07:00
|
|
|
scall Script_WalkOutOfMobileBattleRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
|
|
|
domaptrigger GROUP_MOBILE_BATTLE_ROOM, MAP_MOBILE_BATTLE_ROOM, $0
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_WalkOutOfMobileBattleRoom:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $3, MovementData_0x192d0b
|
|
|
|
applymovement $0, MovementData_0x192d0f
|
|
|
|
applymovement $3, MovementData_0x192d14
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
PokeCenter2F_CheckGender:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Female
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cca
|
|
|
|
applymovement $0, MovementData_0x192cde
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Female:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cd8
|
|
|
|
applymovement $0, MovementData_0x192ce2
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_OhPleaseWait
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement2 MovementData_0x192cdc
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_ChangeTheLook
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TINGLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d17
|
|
|
|
writebyte $80
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc225
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d1c
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_KRIS_IN_CABLE_CLUB
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functione4a
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_LikeTheLook
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-15 12:48:44 -07:00
|
|
|
showemote EMOTE_SHOCK, $0, 15
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192ce5
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_CleanUpFemaleFlagAfterTrade:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_KRIS_IN_CABLE_CLUB
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Female
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x192d04
|
|
|
|
applymovement $0, MovementData_0x192cf5
|
|
|
|
applymovement $2, MovementData_0x192cfe
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Female:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x192d04
|
|
|
|
applymovement $0, MovementData_0x192d28
|
2015-07-10 05:08:03 -07:00
|
|
|
clearflag ENGINE_KRIS_IN_CABLE_CLUB
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TINGLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d17
|
|
|
|
writebyte $90
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc225
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d1c
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functione4a
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d2a
|
|
|
|
applymovement $2, MovementData_0x192cfe
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_CleanUpFemaleFlagAfterBattle:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_KRIS_IN_CABLE_CLUB
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Female
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $3, MovementData_0x192d04
|
|
|
|
applymovement $0, MovementData_0x192cf5
|
|
|
|
applymovement $3, MovementData_0x192cfe
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Female:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $3, MovementData_0x192d04
|
|
|
|
applymovement $0, MovementData_0x192d28
|
2015-07-10 05:08:03 -07:00
|
|
|
clearflag ENGINE_KRIS_IN_CABLE_CLUB
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TINGLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d17
|
|
|
|
writebyte $90
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc225
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d1c
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functione4a
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d2a
|
|
|
|
applymovement $3, MovementData_0x192cfe
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
TimeCapsuleScript_CheckPlayerGender:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Female
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_FACING
|
2015-07-16 15:10:10 -07:00
|
|
|
if_equal LEFT, .MaleFacingLeft
|
|
|
|
if_equal RIGHT, .MaleFacingRight
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cd2
|
|
|
|
applymovement $0, MovementData_0x192cec
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.MaleFacingLeft:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cd2
|
|
|
|
applymovement $0, MovementData_0x192cef
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.MaleFacingRight:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192cd5
|
|
|
|
applymovement $0, MovementData_0x192cf2
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Female:
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_FACING
|
2015-07-16 15:10:10 -07:00
|
|
|
if_equal RIGHT, .FemaleFacingRight
|
|
|
|
if_equal LEFT, .FemaleFacingLeft
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192d33
|
|
|
|
applymovement $0, MovementData_0x192d2d
|
2015-07-16 15:10:10 -07:00
|
|
|
jump .FemaleContinue
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FemaleFacingRight:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192d36
|
|
|
|
applymovement $0, MovementData_0x192d2f
|
2015-07-16 15:10:10 -07:00
|
|
|
jump .FemaleContinue
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FemaleFacingLeft:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement2 MovementData_0x192d33
|
|
|
|
applymovement $0, MovementData_0x192d31
|
2015-07-16 15:10:10 -07:00
|
|
|
.FemaleContinue:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_OhPleaseWait
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_FACING
|
2015-07-16 15:10:10 -07:00
|
|
|
if_not_equal UP, .FemaleChangeApperance
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, LEFT
|
2015-07-16 15:10:10 -07:00
|
|
|
.FemaleChangeApperance:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_ChangeTheLook
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TINGLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d17
|
|
|
|
writebyte $80
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc225
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d22
|
|
|
|
faceperson $0, $4
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_KRIS_IN_CABLE_CLUB
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functione4a
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext Text_LikeTheLook
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-15 12:48:44 -07:00
|
|
|
showemote EMOTE_SHOCK, $0, 15
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d2d
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Script_LeftTimeCapsule:
|
|
|
|
special Special_AbortLink
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_KRIS_IN_CABLE_CLUB
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .Female
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $4, MovementData_0x192d08
|
|
|
|
applymovement $0, MovementData_0x192cf9
|
|
|
|
applymovement $4, MovementData_0x192d01
|
2015-07-16 15:10:10 -07:00
|
|
|
jump .Done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Female:
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $4, MovementData_0x192d08
|
|
|
|
applymovement $0, MovementData_0x192cfc
|
2015-07-10 05:08:03 -07:00
|
|
|
clearflag ENGINE_KRIS_IN_CABLE_CLUB
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TINGLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d17
|
|
|
|
writebyte $90
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc225
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192d1c
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functione4a
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $0, MovementData_0x192cfc
|
|
|
|
applymovement $4, MovementData_0x192d01
|
2015-07-16 15:10:10 -07:00
|
|
|
.Done:
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
|
|
|
domaptrigger GROUP_TIME_CAPSULE, MAP_TIME_CAPSULE, $0
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapPokeCenter2FSignpost0Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
refreshscreen $0
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc2da
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
OfficerScript_0x192c9a:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
|
|
|
|
iftrue .AlreadyGotGift
|
|
|
|
writetext Text_MysteryGiftDeliveryGuy_Intro
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .RefusedGift
|
|
|
|
writetext Text_MysteryGiftDeliveryGuy_HereYouGo
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
waitbutton
|
2015-07-16 15:10:10 -07:00
|
|
|
special Special_GetMysteryGiftItem
|
|
|
|
iffalse .BagIsFull
|
2013-02-16 22:54:07 -08:00
|
|
|
itemnotify
|
2015-07-16 15:10:10 -07:00
|
|
|
setevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
|
|
|
|
.AlreadyGotGift:
|
|
|
|
writetext Text_MysteryGiftDeliveryGuy_Outro
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.BagIsFull:
|
|
|
|
writetext Text_MysteryGiftDeliveryGuy_NoRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.RefusedGift:
|
|
|
|
writetext Text_MysteryGiftDeliveryGuy_SaidNo
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cca:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cce:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cd2:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cd5:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cd8:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cdc:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cde:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192ce2:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192ce5:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192ce7:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cec:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cef:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_left
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cf2:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cf5:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cf9:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cfc:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192cfe:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
slow_step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d01:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d04:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d08:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d0b:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d0f:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_left
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d14:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
slow_step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d17:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d1c:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d22:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d28:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d2a:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d2d:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d2f:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d31:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d33:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x192d36:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_BattleReceptionistMobile:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Would you like to"
|
|
|
|
line "battle over a GAME"
|
|
|
|
|
|
|
|
para "LINK cable or by"
|
|
|
|
line "mobile phone?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TradeReceptionistMobile:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Would you like to"
|
|
|
|
line "trade over a GAME"
|
|
|
|
|
|
|
|
para "LINK cable or by"
|
|
|
|
line "mobile phone?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_ThisWayToMobileRoom:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "This way to the"
|
|
|
|
line "MOBILE ROOM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_BattleReceptionistIntro:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Welcome to CABLE"
|
|
|
|
line "CLUB COLOSSEUM."
|
|
|
|
|
|
|
|
para "You may battle a"
|
|
|
|
line "friend here."
|
|
|
|
|
|
|
|
para "Would you like to"
|
|
|
|
line "battle?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TradeReceptionistIntro:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Welcome to CABLE"
|
|
|
|
line "TRADE CENTER."
|
|
|
|
|
|
|
|
para "You may trade your"
|
|
|
|
line "#MON here with"
|
|
|
|
cont "a friend."
|
|
|
|
|
|
|
|
para "Would you like to"
|
|
|
|
line "trade?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TimeCapsuleRecptionistIntro:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Welcome to CABLE"
|
|
|
|
line "CLUB TIME CAPSULE."
|
|
|
|
|
|
|
|
para "You can travel to"
|
|
|
|
line "the past and trade"
|
|
|
|
cont "your #MON."
|
|
|
|
|
|
|
|
para "Would you like to"
|
|
|
|
line "trade across time?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_FriendNotReady:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your friend is not"
|
|
|
|
line "ready."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MustSaveGame:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Before opening the"
|
|
|
|
line "link, you must"
|
|
|
|
cont "save your game."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_PleaseWait:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please wait."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_LinkTimedOut:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The link has been"
|
|
|
|
line "closed because of"
|
|
|
|
cont "inactivity."
|
|
|
|
|
|
|
|
para "Please contact"
|
|
|
|
line "your friend and"
|
|
|
|
cont "come again."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_PleaseComeAgain:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please come again."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_PleaseComeIn:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please come in."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TemporaryStagingInLinkRoom:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We'll put you in"
|
|
|
|
line "the link room for"
|
|
|
|
cont "the time being."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_CantLinkToThePast:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can't link to"
|
|
|
|
line "the past here."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_IncompatibleRooms:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Incompatible rooms"
|
|
|
|
line "were chosen."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_PleaseComeIn2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please come in."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_PleaseEnter:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please enter."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_RejectNewMon:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry--@"
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer1
|
2015-06-27 21:59:17 -07:00
|
|
|
text ""
|
2014-03-05 21:29:44 -08:00
|
|
|
line "can't be taken."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_RejectMonWithNewMove:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can't take the"
|
|
|
|
line "@"
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer1
|
2014-03-05 21:29:44 -08:00
|
|
|
text " with a"
|
|
|
|
cont "@"
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer2
|
2014-03-05 21:29:44 -08:00
|
|
|
text "."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_RejectMonWithMail:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can't take the"
|
|
|
|
line "@"
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer1
|
2014-03-05 21:29:44 -08:00
|
|
|
text " that"
|
|
|
|
cont "has MAIL with you."
|
|
|
|
prompt
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TimeCapsuleClosed:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm sorry--the"
|
|
|
|
line "TIME CAPSULE is"
|
|
|
|
cont "being adjusted."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_TradeRoomClosed:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm sorry--the"
|
|
|
|
line "TRADE MACHINE is"
|
|
|
|
cont "being adjusted."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_BattleRoomClosed:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm sorry--the"
|
|
|
|
line "BATTLE MACHINE is"
|
|
|
|
cont "being adjusted."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MysteryGiftDeliveryGuy_Intro:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hello! You're"
|
2015-06-27 21:59:17 -07:00
|
|
|
line "<PLAYER>, right?"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "I have some-"
|
|
|
|
line "thing for you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MysteryGiftDeliveryGuy_HereYouGo:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Here you go!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MysteryGiftDeliveryGuy_Outro:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We hope to serve"
|
|
|
|
line "you again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MysteryGiftDeliveryGuy_NoRoom:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, you have no"
|
|
|
|
line "space for this."
|
|
|
|
|
|
|
|
para "Stop in at any"
|
|
|
|
line "#MON CENTER"
|
|
|
|
|
|
|
|
para "across the country"
|
|
|
|
line "to pick it up."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_MysteryGiftDeliveryGuy_SaidNo:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "No? That's very"
|
|
|
|
line "strange…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_OhPleaseWait:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, please wait."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_ChangeTheLook:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We need to change"
|
|
|
|
line "the look here…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_LikeTheLook:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "How does this"
|
|
|
|
line "style look to you?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
Text_BrokeStadiumRules:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Excuse me!"
|
|
|
|
|
|
|
|
para "For STADIUM rules,"
|
|
|
|
line "please bring six"
|
|
|
|
|
|
|
|
para "different #MON,"
|
|
|
|
line "excluding EGGS."
|
|
|
|
|
|
|
|
para "The six #MON"
|
|
|
|
line "must be different."
|
|
|
|
|
|
|
|
para "Also, they must"
|
|
|
|
line "not be holding"
|
|
|
|
cont "identical items."
|
|
|
|
|
|
|
|
para "Please come back"
|
|
|
|
line "when you're ready."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
PokeCenter2F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 6
|
2015-07-16 15:10:10 -07:00
|
|
|
warp_def $7, $0, -1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
2013-02-16 22:54:07 -08:00
|
|
|
warp_def $0, $5, 1, GROUP_TRADE_CENTER, MAP_TRADE_CENTER
|
|
|
|
warp_def $0, $9, 1, GROUP_COLOSSEUM, MAP_COLOSSEUM
|
|
|
|
warp_def $2, $d, 1, GROUP_TIME_CAPSULE, MAP_TIME_CAPSULE
|
|
|
|
warp_def $0, $6, 1, GROUP_MOBILE_TRADE_ROOM_MOBILE, MAP_MOBILE_TRADE_ROOM_MOBILE
|
|
|
|
warp_def $0, $a, 1, GROUP_MOBILE_BATTLE_ROOM, MAP_MOBILE_BATTLE_ROOM
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 3, 7, SIGNPOST_READ, MapPokeCenter2FSignpost0Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 4
|
2015-07-19 01:58:31 -07:00
|
|
|
person_event SPRITE_LINK_RECEPTIONIST, 6, 9, OW_UP | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LinkReceptionistScript_Trade, -1
|
|
|
|
person_event SPRITE_LINK_RECEPTIONIST, 6, 13, OW_UP | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LinkReceptionistScript_Battle, -1
|
|
|
|
person_event SPRITE_LINK_RECEPTIONIST, 7, 17, OW_UP | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LinkReceptionistScript_TimeCapsule, -1
|
|
|
|
person_event SPRITE_OFFICER, 5, 5, OW_UP | $2, $0, -1, -1, $0, 0, OfficerScript_0x192c9a, EVENT_MYSTERY_GIFT_DELIVERY_GUY
|