pokecrystal-board/maps/Pokecenter2F.asm

1051 lines
23 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const POKECENTER2F_TRADE_RECEPTIONIST
const POKECENTER2F_BATTLE_RECEPTIONIST
const POKECENTER2F_TIME_CAPSULE_RECEPTIONIST
2015-11-26 21:22:14 -08:00
const POKECENTER2F_OFFICER
Pokecenter2F_MapScripts:
.SceneScripts:
db 6
scene_script .Scene0
scene_script .Scene1
scene_script .Scene2
scene_script .Scene3
scene_script .Scene4
scene_script .Scene5
.MapCallbacks:
db 0
.Scene0:
special Special_CheckMysteryGift
if_equal $0, .Scene0Done
clearevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue .Scene0Done
priorityjump Pokecenter2F_AppearMysteryGiftDeliveryGuy
.Scene0Done:
end
.Scene1:
priorityjump Script_LeftCableTradeCenter
end
.Scene2:
priorityjump Script_LeftCableColosseum
end
.Scene3:
priorityjump Script_LeftTimeCapsule
end
.Scene4:
priorityjump Script_LeftMobileTradeRoom
end
.Scene5:
priorityjump Script_LeftMobileBattleRoom
end
Pokecenter2F_AppearMysteryGiftDeliveryGuy:
2015-11-26 21:22:14 -08:00
appear POKECENTER2F_OFFICER
setevent EVENT_RECEIVED_BALLS_FROM_KURT
end
Script_TradeCenterClosed:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
writetext Text_TradeRoomClosed
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
Script_BattleRoomClosed:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
writetext Text_BattleRoomClosed
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
LinkReceptionistScript_Trade:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse Script_TradeCenterClosed
2015-12-09 15:25:44 -08:00
opentext
writetext Text_TradeReceptionistIntro
yesorno
iffalse .Cancel
special Special_Mobile_DummyReturnFalse ; always returns false
iffalse .NoMobile
writetext Text_TradeReceptionistMobile
special Special_AskMobileOrCable
iffalse .Cancel
if_equal $1, .Mobile
.NoMobile:
special Special_SetBitsForLinkTradeRequest
writetext Text_PleaseWait
special Special_WaitForLinkedFriend
iffalse .FriendNotReady
writetext Text_MustSaveGame
yesorno
iffalse .DidNotSave
special Special_TryQuickSave
iffalse .DidNotSave
writetext Text_PleaseWait
special Special_CheckLinkTimeout
iffalse .LinkTimedOut
2015-11-23 13:04:53 -08:00
copybytetovar wOtherPlayerLinkMode
iffalse .LinkedToFirstGen
special Special_CheckBothSelectedSameRoom
iffalse .IncompatibleRooms
writetext Text_PleaseComeIn2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
scall Pokecenter2F_CheckGender
warpcheck
end
.FriendNotReady:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
writetext Text_FriendNotReady
2015-11-25 07:16:29 -08:00
closetext
end
.LinkedToFirstGen:
special Special_FailedLinkToPast
writetext Text_CantLinkToThePast
special Special_CloseLink
2015-11-25 07:16:29 -08:00
closetext
end
.IncompatibleRooms:
writetext Text_IncompatibleRooms
special Special_CloseLink
2015-11-25 07:16:29 -08:00
closetext
end
.LinkTimedOut:
writetext Text_LinkTimedOut
jump .AbortLink
.DidNotSave:
writetext Text_PleaseComeAgain
.AbortLink:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
.Cancel:
2015-11-25 07:16:29 -08:00
closetext
end
.Mobile:
scall .Mobile_TrySave
iftrue .Mobile_Abort
scall BattleTradeMobile_WalkIn
warpcheck
end
.Mobile_Abort:
end
.Mobile_TrySave:
writetext Text_MustSaveGame
yesorno
iffalse .Mobile_DidNotSave
special Special_TryQuickSave
iffalse .Mobile_DidNotSave
special Special_Function1011f1
writetext Text_PleaseComeIn2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-01-11 22:40:20 -08:00
writebyte FALSE
end
.Mobile_DidNotSave:
writetext Text_PleaseComeAgain
2015-11-25 07:16:29 -08:00
closetext
2018-01-11 22:40:20 -08:00
writebyte TRUE
end
BattleTradeMobile_WalkIn:
applymovement2 Pokecenter2FMobileMobileMovementData_ReceptionistWalksUpAndLeft_LookDown
applymovement PLAYER, Pokecenter2FMobileMovementData_PlayerWalksIntoMobileBattleRoom
end
LinkReceptionistScript_Battle:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse Script_BattleRoomClosed
2015-12-09 15:25:44 -08:00
opentext
writetext Text_BattleReceptionistIntro
yesorno
iffalse .Cancel
special Special_Mobile_DummyReturnFalse ; always returns false
iffalse .NoMobile
writetext Text_BattleReceptionistMobile
special Special_AskMobileOrCable
iffalse .Cancel
if_equal $1, .Mobile
.NoMobile:
special Special_SetBitsForBattleRequest
writetext Text_PleaseWait
special Special_WaitForLinkedFriend
iffalse .FriendNotReady
writetext Text_MustSaveGame
yesorno
iffalse .DidNotSave
special Special_TryQuickSave
iffalse .DidNotSave
writetext Text_PleaseWait
special Special_CheckLinkTimeout
iffalse .LinkTimedOut
2015-11-23 13:04:53 -08:00
copybytetovar wOtherPlayerLinkMode
iffalse .LinkedToFirstGen
special Special_CheckBothSelectedSameRoom
iffalse .IncompatibleRooms
writetext Text_PleaseComeIn2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
scall Pokecenter2F_CheckGender
warpcheck
end
.FriendNotReady:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
writetext Text_FriendNotReady
2015-11-25 07:16:29 -08:00
closetext
end
.LinkedToFirstGen:
special Special_FailedLinkToPast
writetext Text_CantLinkToThePast
special Special_CloseLink
2015-11-25 07:16:29 -08:00
closetext
end
.IncompatibleRooms:
writetext Text_IncompatibleRooms
special Special_CloseLink
2015-11-25 07:16:29 -08:00
closetext
end
.LinkTimedOut:
writetext Text_LinkTimedOut
jump .AbortLink
.DidNotSave:
writetext Text_PleaseComeAgain
.AbortLink:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
.Cancel:
2015-11-25 07:16:29 -08:00
closetext
end
.Mobile:
scall .SelectThreeMons
iffalse .Mobile_Abort
scall .Mobile_TrySave
iftrue .Mobile_Abort
scall BattleTradeMobile_WalkIn
warpcheck
end
.Mobile_Abort:
end
.Mobile_TrySave:
writetext Text_MustSaveGame
yesorno
iffalse .Mobile_DidNotSave
special Special_Function103780
iffalse .Mobile_DidNotSave
special Special_Function1011f1
writetext Text_PleaseComeIn2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-01-11 22:40:20 -08:00
writebyte FALSE
end
.Mobile_DidNotSave:
writetext Text_PleaseComeAgain
2015-11-25 07:16:29 -08:00
closetext
2018-01-11 22:40:20 -08:00
writebyte TRUE
end
.SelectThreeMons:
special Special_Mobile_SelectThreeMons
iffalse .Mobile_DidNotSelect
if_equal $1, .Mobile_OK
if_equal $2, .Mobile_OK
if_equal $3, .Mobile_InvalidParty
jump .Mobile_DidNotSelect
.Mobile_InvalidParty:
writetext Text_BrokeStadiumRules
2015-11-25 07:16:29 -08:00
waitbutton
.Mobile_DidNotSelect:
2015-11-25 07:16:29 -08:00
closetext
2018-01-11 22:40:20 -08:00
writebyte FALSE
end
.Mobile_OK:
2018-01-11 22:40:20 -08:00
writebyte TRUE
end
Script_TimeCapsuleClosed:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
writetext Text_TimeCapsuleClosed
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
LinkReceptionistScript_TimeCapsule:
2015-07-10 05:08:03 -07:00
checkevent EVENT_MET_BILL
iftrue Script_TimeCapsuleClosed
2015-07-10 05:08:03 -07:00
checkflag ENGINE_TIME_CAPSULE
iftrue Script_TimeCapsuleClosed
special Special_SetBitsForTimeCapsuleRequest
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-28 22:29:44 -07:00
writetext Text_TimeCapsuleReceptionistIntro
yesorno
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
yesorno
iffalse .DidNotSave
special Special_TryQuickSave
iffalse .DidNotSave
writetext Text_PleaseWait
special Special_CheckLinkTimeout
iffalse .LinkTimedOut
2015-11-23 13:04:53 -08:00
copybytetovar wOtherPlayerLinkMode
iffalse .OK
special Special_CheckBothSelectedSameRoom
writetext Text_IncompatibleRooms
special Special_CloseLink
2015-11-25 07:16:29 -08:00
closetext
end
.OK:
special Special_EnterTimeCapsule
writetext Text_PleaseComeIn2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
scall TimeCapsuleScript_CheckPlayerGender
warpcheck
end
.FriendNotReady:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
writetext Text_FriendNotReady
2015-11-25 07:16:29 -08:00
closetext
end
.LinkTimedOut:
writetext Text_LinkTimedOut
jump .Cancel
.DidNotSave:
writetext Text_PleaseComeAgain
.Cancel:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
2015-11-25 07:16:29 -08:00
closetext
end
.MonTooNew:
writetext Text_RejectNewMon
2015-11-25 07:16:29 -08:00
closetext
end
.MonMoveTooNew:
writetext Text_RejectMonWithNewMove
2015-11-25 07:16:29 -08:00
closetext
end
.MonHasMail:
writetext Text_RejectMonWithMail
2015-11-25 07:16:29 -08:00
closetext
end
Script_LeftCableTradeCenter:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkTradeRoom
setscene 0
setmapscene TRADE_CENTER, 0
end
Script_LeftMobileTradeRoom:
special Special_Function101220
scall Script_WalkOutOfMobileTradeRoom
setscene 0
setmapscene MOBILE_TRADE_ROOM_MOBILE, 0
end
Script_WalkOutOfMobileTradeRoom:
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMobileMovementData_ReceptionistWalksUpAndLeft
applymovement PLAYER, Pokecenter2FMovementData_PlayerWalksOutOfMobileRoom
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMobileMovementData_ReceptionistWalksRightAndDown
end
Script_LeftCableColosseum:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkBattleRoom
setscene 0
setmapscene COLOSSEUM, 0
end
Script_LeftMobileBattleRoom:
special Special_Function101220
scall Script_WalkOutOfMobileBattleRoom
setscene 0
setmapscene MOBILE_BATTLE_ROOM, 0
end
Script_WalkOutOfMobileBattleRoom:
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMobileMovementData_ReceptionistWalksUpAndLeft
applymovement PLAYER, Pokecenter2FMovementData_PlayerWalksOutOfMobileRoom
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMobileMovementData_ReceptionistWalksRightAndDown
end
Pokecenter2F_CheckGender:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
applymovement2 Pokecenter2FMovementData_ReceptionistWalksUpAndLeft_LookRight
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesThreeStepsUp
end
.Female:
applymovement2 Pokecenter2FMovementData_ReceptionistWalksUpAndLeft_LookRight_2
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsUp
2015-12-09 15:25:44 -08:00
opentext
writetext Text_OhPleaseWait
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement2 Pokecenter2FMovementData_ReceptionistLooksRight
spriteface PLAYER, LEFT
2015-12-09 15:25:44 -08:00
opentext
writetext Text_ChangeTheLook
2015-11-25 07:16:29 -08:00
waitbutton
closetext
playsound SFX_TINGLE
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight
2017-12-10 17:50:08 -08:00
writebyte (PAL_NPC_RED << 4)
2015-11-17 09:29:37 -08:00
special Special_SetPlayerPalette
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingLeft
2015-07-10 05:08:03 -07:00
setflag ENGINE_KRIS_IN_CABLE_CLUB
2015-11-04 13:14:27 -08:00
special ReplaceKrisSprite
2015-12-09 15:25:44 -08:00
opentext
writetext Text_LikeTheLook
2015-11-25 07:16:29 -08:00
waitbutton
closetext
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepUp
end
Script_WalkOutOfLinkTradeRoom:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_3
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesThreeStepsDown
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightAndDown
end
.Female:
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_3
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown_2
2015-07-10 05:08:03 -07:00
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight
2017-12-10 17:50:08 -08:00
writebyte (PAL_NPC_BLUE << 4)
2015-11-17 09:29:37 -08:00
special Special_SetPlayerPalette
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingLeft
2015-11-04 13:14:27 -08:00
special ReplaceKrisSprite
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsDown_2
applymovement POKECENTER2F_TRADE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightAndDown
end
Script_WalkOutOfLinkBattleRoom:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_3
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesThreeStepsDown
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightAndDown
end
.Female:
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_3
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown_2
2015-07-10 05:08:03 -07:00
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight
2017-12-10 17:50:08 -08:00
writebyte (PAL_NPC_BLUE << 4)
2015-11-17 09:29:37 -08:00
special Special_SetPlayerPalette
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingLeft
2015-11-04 13:14:27 -08:00
special ReplaceKrisSprite
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsDown_2
applymovement POKECENTER2F_BATTLE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightAndDown
end
TimeCapsuleScript_CheckPlayerGender:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
checkcode VAR_FACING
if_equal LEFT, .MaleFacingLeft
if_equal RIGHT, .MaleFacingRight
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksDown
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsUp_2
end
.MaleFacingLeft:
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksDown
applymovement PLAYER, Pokecenter2FMovementData_PlayerWalksLeftAndUp
end
.MaleFacingRight:
applymovement2 Pokecenter2FMovementData_ReceptionistStepsRightLooksDown
applymovement PLAYER, Pokecenter2FMovementData_PlayerWalksRightAndUp
end
.Female:
checkcode VAR_FACING
if_equal RIGHT, .FemaleFacingRight
if_equal LEFT, .FemaleFacingLeft
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight_2
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepUp_2
jump .FemaleContinue
.FemaleFacingRight:
applymovement2 Pokecenter2FMovementData_ReceptionistStepsRightLooksLeft_2
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepRight
jump .FemaleContinue
.FemaleFacingLeft:
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight_2
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepLeft
.FemaleContinue:
2015-12-09 15:25:44 -08:00
opentext
writetext Text_OhPleaseWait
2015-11-25 07:16:29 -08:00
waitbutton
closetext
checkcode VAR_FACING
if_not_equal UP, .FemaleChangeApperance
spriteface PLAYER, LEFT
.FemaleChangeApperance:
2015-12-09 15:25:44 -08:00
opentext
writetext Text_ChangeTheLook
2015-11-25 07:16:29 -08:00
waitbutton
closetext
playsound SFX_TINGLE
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight
2017-12-10 17:50:08 -08:00
writebyte (PAL_NPC_RED << 4)
2015-11-17 09:29:37 -08:00
special Special_SetPlayerPalette
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingDown
faceobject PLAYER, POKECENTER2F_TIME_CAPSULE_RECEPTIONIST
2015-07-10 05:08:03 -07:00
setflag ENGINE_KRIS_IN_CABLE_CLUB
2015-11-04 13:14:27 -08:00
special ReplaceKrisSprite
2015-12-09 15:25:44 -08:00
opentext
writetext Text_LikeTheLook
2015-11-25 07:16:29 -08:00
waitbutton
closetext
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepUp_2
end
Script_LeftTimeCapsule:
2018-01-02 08:13:57 -08:00
special Special_WaitForOtherPlayerToExit
2015-07-10 05:08:03 -07:00
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsDown
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2
jump .Done
.Female:
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown
2015-07-10 05:08:03 -07:00
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight
2017-12-10 17:50:08 -08:00
writebyte (PAL_NPC_BLUE << 4)
2015-11-17 09:29:37 -08:00
special Special_SetPlayerPalette
applymovement PLAYER, Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingLeft
2015-11-04 13:14:27 -08:00
special ReplaceKrisSprite
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2
.Done:
setscene 0
setmapscene TIME_CAPSULE, 0
end
MapPokecenter2FSignpost0Script:
2018-01-11 22:40:20 -08:00
refreshscreen
2015-11-16 19:29:54 -08:00
special Special_DisplayLinkRecord
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:45:35 -07:00
OfficerScript_0x192c9a:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
iftrue .AlreadyGotGift
writetext Text_MysteryGiftDeliveryGuy_Intro
yesorno
iffalse .RefusedGift
writetext Text_MysteryGiftDeliveryGuy_HereYouGo
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-25 07:16:29 -08:00
waitsfx
special Special_GetMysteryGiftItem
iffalse .BagIsFull
itemnotify
setevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
.AlreadyGotGift:
writetext Text_MysteryGiftDeliveryGuy_Outro
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.BagIsFull:
writetext Text_MysteryGiftDeliveryGuy_NoRoom
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.RefusedGift:
writetext Text_MysteryGiftDeliveryGuy_SaidNo
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
Pokecenter2FMovementData_ReceptionistWalksUpAndLeft_LookRight:
2016-05-14 10:46:14 -07:00
slow_step UP
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMobileMobileMovementData_ReceptionistWalksUpAndLeft_LookDown:
2016-05-14 10:46:14 -07:00
slow_step UP
slow_step LEFT
turn_head DOWN
step_end
Pokecenter2FMovementData_ReceptionistStepsLeftLooksDown:
2016-05-14 10:46:14 -07:00
slow_step LEFT
turn_head DOWN
step_end
Pokecenter2FMovementData_ReceptionistStepsRightLooksDown:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
turn_head DOWN
step_end
Pokecenter2FMovementData_ReceptionistWalksUpAndLeft_LookRight_2:
2016-05-14 10:46:14 -07:00
slow_step UP
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMovementData_ReceptionistLooksRight:
2016-05-14 10:46:14 -07:00
turn_head RIGHT
step_end
Pokecenter2FMovementData_PlayerTakesThreeStepsUp:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step_end
Pokecenter2FMovementData_PlayerTakesTwoStepsUp:
2016-05-14 10:46:14 -07:00
step UP
step UP
step_end
Pokecenter2FMovementData_PlayerTakesOneStepUp:
2016-05-14 10:46:14 -07:00
step UP
step_end
Pokecenter2FMobileMovementData_PlayerWalksIntoMobileBattleRoom:
2016-05-14 10:46:14 -07:00
step UP
step UP
step RIGHT
step UP
step_end
Pokecenter2FMovementData_PlayerTakesTwoStepsUp_2:
2016-05-14 10:46:14 -07:00
step UP
step UP
step_end
Pokecenter2FMovementData_PlayerWalksLeftAndUp:
2016-05-14 10:46:14 -07:00
step LEFT
step UP
step_end
Pokecenter2FMovementData_PlayerWalksRightAndUp:
2016-05-14 10:46:14 -07:00
step RIGHT
step UP
step_end
Pokecenter2FMovementData_PlayerTakesThreeStepsDown:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step DOWN
step_end
Pokecenter2FMovementData_PlayerTakesTwoStepsDown:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step_end
Pokecenter2FMovementData_PlayerTakesOneStepDown:
2016-05-14 10:46:14 -07:00
step DOWN
step_end
Pokecenter2FMovementData_ReceptionistStepsRightAndDown:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
slow_step DOWN
step_end
Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
turn_head DOWN
step_end
Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_3:
2016-05-14 10:46:14 -07:00
slow_step UP
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight:
2016-05-14 10:46:14 -07:00
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMobileMovementData_ReceptionistWalksUpAndLeft:
2016-05-14 10:46:14 -07:00
slow_step UP
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMovementData_PlayerWalksOutOfMobileRoom:
2016-05-14 10:46:14 -07:00
step DOWN
step LEFT
step DOWN
step DOWN
step_end
Pokecenter2FMobileMovementData_ReceptionistWalksRightAndDown:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
slow_step DOWN
step_end
Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingRight:
2016-05-14 10:46:14 -07:00
turn_head DOWN
turn_head LEFT
turn_head UP
turn_head RIGHT
step_end
Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingLeft:
2016-05-14 10:46:14 -07:00
turn_head DOWN
turn_head LEFT
turn_head UP
turn_head RIGHT
turn_head LEFT
step_end
Pokecenter2FMovementData_PlayerSpinsClockwiseEndsFacingDown:
2016-05-14 10:46:14 -07:00
turn_head DOWN
turn_head LEFT
turn_head UP
turn_head RIGHT
turn_head DOWN
step_end
Pokecenter2FMovementData_PlayerTakesOneStepDown_2:
2016-05-14 10:46:14 -07:00
step DOWN
step_end
Pokecenter2FMovementData_PlayerTakesTwoStepsDown_2:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step_end
Pokecenter2FMovementData_PlayerTakesOneStepUp_2:
2016-05-14 10:46:14 -07:00
step UP
step_end
Pokecenter2FMovementData_PlayerTakesOneStepRight:
2016-05-14 10:46:14 -07:00
step RIGHT
step_end
Pokecenter2FMovementData_PlayerTakesOneStepLeft:
2016-05-14 10:46:14 -07:00
step LEFT
step_end
Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight_2:
2016-05-14 10:46:14 -07:00
slow_step LEFT
turn_head RIGHT
step_end
Pokecenter2FMovementData_ReceptionistStepsRightLooksLeft_2:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
turn_head LEFT
step_end
Text_BattleReceptionistMobile:
text "Would you like to"
line "battle over a GAME"
para "LINK cable or by"
line "mobile phone?"
done
Text_TradeReceptionistMobile:
text "Would you like to"
line "trade over a GAME"
para "LINK cable or by"
line "mobile phone?"
done
Text_ThisWayToMobileRoom:
text "This way to the"
line "MOBILE ROOM."
done
Text_BattleReceptionistIntro:
text "Welcome to CABLE"
line "CLUB COLOSSEUM."
para "You may battle a"
line "friend here."
para "Would you like to"
line "battle?"
done
Text_TradeReceptionistIntro:
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
2015-07-28 22:29:44 -07:00
Text_TimeCapsuleReceptionistIntro:
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
Text_FriendNotReady:
text "Your friend is not"
line "ready."
prompt
Text_MustSaveGame:
text "Before opening the"
line "link, you must"
cont "save your game."
done
Text_PleaseWait:
text "Please wait."
done
Text_LinkTimedOut:
text "The link has been"
line "closed because of"
cont "inactivity."
para "Please contact"
line "your friend and"
cont "come again."
prompt
Text_PleaseComeAgain:
text "Please come again."
prompt
Text_PleaseComeIn:
text "Please come in."
prompt
Text_TemporaryStagingInLinkRoom:
text "We'll put you in"
line "the link room for"
cont "the time being."
done
Text_CantLinkToThePast:
text "You can't link to"
line "the past here."
prompt
Text_IncompatibleRooms:
text "Incompatible rooms"
line "were chosen."
prompt
Text_PleaseComeIn2:
text "Please come in."
done
Text_PleaseEnter:
text "Please enter."
prompt
Text_RejectNewMon:
text "Sorry--@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer1
text_start
line "can't be taken."
prompt
Text_RejectMonWithNewMove:
text "You can't take the"
line "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer1
text " with a"
cont "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer2
text "."
prompt
Text_RejectMonWithMail:
text "You can't take the"
line "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer1
text " that"
cont "has MAIL with you."
prompt
Text_TimeCapsuleClosed:
text "I'm sorry--the"
line "TIME CAPSULE is"
cont "being adjusted."
done
Text_TradeRoomClosed:
text "I'm sorry--the"
line "TRADE MACHINE is"
cont "being adjusted."
done
Text_BattleRoomClosed:
text "I'm sorry--the"
line "BATTLE MACHINE is"
cont "being adjusted."
done
Text_MysteryGiftDeliveryGuy_Intro:
text "Hello! You're"
line "<PLAYER>, right?"
para "I have some-"
line "thing for you."
done
Text_MysteryGiftDeliveryGuy_HereYouGo:
text "Here you go!"
done
Text_MysteryGiftDeliveryGuy_Outro:
text "We hope to serve"
line "you again."
done
Text_MysteryGiftDeliveryGuy_NoRoom:
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
Text_MysteryGiftDeliveryGuy_SaidNo:
text "No? That's very"
line "strange…"
done
Text_OhPleaseWait:
text "Oh, please wait."
done
Text_ChangeTheLook:
text "We need to change"
line "the look here…"
done
Text_LikeTheLook:
text "How does this"
line "style look to you?"
done
Text_BrokeStadiumRules:
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
Pokecenter2F_MapEvents:
; filler
db 0, 0
.Warps:
db 6
warp_def 0, 7, -1, POKECENTER_2F
warp_def 5, 0, 1, TRADE_CENTER
warp_def 9, 0, 1, COLOSSEUM
warp_def 13, 2, 1, TIME_CAPSULE
warp_def 6, 0, 1, MOBILE_TRADE_ROOM_MOBILE
warp_def 10, 0, 1, MOBILE_BATTLE_ROOM
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 7, 3, BGEVENT_READ, MapPokecenter2FSignpost0Script
.ObjectEvents:
db 4
object_event 5, 2, SPRITE_LINK_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LinkReceptionistScript_Trade, -1
object_event 9, 2, SPRITE_LINK_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LinkReceptionistScript_Battle, -1
object_event 13, 3, SPRITE_LINK_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LinkReceptionistScript_TimeCapsule, -1
object_event 1, 1, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x192c9a, EVENT_MYSTERY_GIFT_DELIVERY_GUY