pokecrystal-board/maps/BattleTower1F.asm

820 lines
17 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const BATTLETOWER1F_RECEPTIONIST
const BATTLETOWER1F_YOUNGSTER
const BATTLETOWER1F_COOLTRAINER_F
const BATTLETOWER1F_BUG_CATCHER
const BATTLETOWER1F_GRANNY
2015-07-10 01:45:35 -07:00
BattleTower1F_MapScriptHeader:
.SceneScripts:
db 2
scene_script .Scene0
scene_script .Scene1
.MapCallbacks:
db 0
.Scene0:
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_CHECKSAVEFILEISYOURS
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-03 16:43:47 -08:00
iffalse .SkipEverything
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-03 16:43:47 -08:00
if_equal $0, .SkipEverything
if_equal $2, .priorityjump1
if_equal $3, .SkipEverything
if_equal $4, .SkipEverything
2015-12-09 15:25:44 -08:00
opentext
2015-11-26 18:05:32 -08:00
writetext Text_WeveBeenWaitingForYou
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 18:05:32 -08:00
priorityjump Script_ResumeBattleTowerChallenge
end
.priorityjump1
priorityjump BattleTower_LeftWithoutSaving
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_CHALLENGECANCELED
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_06
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-03 16:43:47 -08:00
.SkipEverything:
setscene $1
.Scene1:
end
2015-07-10 01:45:35 -07:00
MapBattleTower1FSignpost0Script:
2015-12-09 15:25:44 -08:00
opentext
2015-08-24 10:35:05 -07:00
writetext Text_ReadBattleTowerRules
yesorno
iffalse UnknownScript_0x9e3e0
2015-08-24 10:35:05 -07:00
writetext Text_BattleTowerRules
2015-11-25 07:16:29 -08:00
waitbutton
2015-07-10 01:45:35 -07:00
UnknownScript_0x9e3e0:
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:45:35 -07:00
ReceptionistScript_0x9e3e2:
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
2015-12-09 15:25:44 -08:00
opentext
2015-08-24 10:35:05 -07:00
writetext Text_BattleTowerWelcomesYou
2015-11-29 19:29:45 -08:00
buttonsound
writebyte BATTLETOWERACTION_CHECK_EXPLANATION_READ ; if new save file: bit 1, [sBattleTowerSaveFileFlags]
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 08:04:13 -07:00
if_not_equal $0, Script_Menu_ChallengeExplanationCancel
2015-08-24 10:35:05 -07:00
jump Script_BattleTowerIntroductionYesNo
2015-08-24 08:04:13 -07:00
Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
writetext Text_WantToGoIntoABattleRoom
writebyte $1
2015-08-24 08:04:13 -07:00
special Special_Menu_ChallengeExplanationCancel
if_equal $1, Script_ChooseChallenge
2015-08-24 16:56:30 -07:00
if_equal $2, Script_BattleTowerExplanation
2015-11-26 18:05:32 -08:00
jump Script_BattleTowerHopeToServeYouAgain
Script_ChooseChallenge: ; 0x9e40f
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-23 06:09:56 -07:00
special SpecialCheckForBattleTowerRules
2015-11-25 07:16:29 -08:00
if_not_equal $0, Script_WaitButton
2015-08-24 08:04:13 -07:00
writetext Text_SaveBeforeEnteringBattleRoom
yesorno
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
setscene $0
special Special_TryQuickSave
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
setscene $1
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
2015-11-03 12:05:19 -08:00
special BattleTowerAction
special BattleTowerRoomMenu
2015-08-24 08:04:13 -07:00
if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_11
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 08:04:13 -07:00
writetext Text_RightThisWayToYourBattleRoom
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-08 13:06:13 -08:00
writebyte BATTLETOWERACTION_CHOOSEREWARD
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
jump Script_WalkToBattleTowerElevator
2015-11-26 18:05:32 -08:00
Script_ResumeBattleTowerChallenge:
2015-11-25 07:16:29 -08:00
closetext
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_LOADLEVELGROUP ; load choice of level group
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
Script_WalkToBattleTowerElevator:
musicfadeout MUSIC_NONE, 8
setmapscene BATTLE_TOWER_BATTLE_ROOM, $0
setmapscene BATTLE_TOWER_ELEVATOR, $0
setmapscene BATTLE_TOWER_HALLWAY, $0
2015-11-26 21:22:14 -08:00
follow BATTLETOWER1F_RECEPTIONIST, PLAYER
applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_0A
2015-11-03 12:05:19 -08:00
special BattleTowerAction
warpsound
2015-11-26 21:22:14 -08:00
disappear BATTLETOWER1F_RECEPTIONIST
stopfollow
2015-11-26 18:05:32 -08:00
applymovement PLAYER, MovementData_BattleTowerHallwayPlayerEntersBattleRoom
warpcheck
end
2015-08-24 16:56:30 -07:00
Script_GivePlayerHisPrize: ; 0x9e47a
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_1C
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-12-08 13:06:13 -08:00
writebyte BATTLETOWERACTION_GIVEREWARD
2015-11-03 12:05:19 -08:00
special BattleTowerAction
if_equal POTION, Script_YourPackIsStuffedFull
itemtotext $0, $1
2015-11-03 12:05:19 -08:00
giveitem ITEM_FROM_MEM, 5
2015-08-24 16:56:30 -07:00
writetext Text_PlayerGotFive
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_1D
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-25 07:16:29 -08:00
closetext
end
2015-08-24 10:35:05 -07:00
Script_YourPackIsStuffedFull: ; 0x9e498
writetext Text_YourPackIsStuffedFull
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-08-24 10:35:05 -07:00
Script_BattleTowerIntroductionYesNo: ; 0x9e49e
writetext Text_WouldYouLikeToHearAboutTheBattleTower
yesorno
2015-11-26 18:05:32 -08:00
iffalse Script_BattleTowerSkipExplanation
2015-08-24 16:56:30 -07:00
Script_BattleTowerExplanation: ; 0x9e4a5
2015-08-24 10:35:05 -07:00
writetext Text_BattleTowerIntroduction_2
2015-11-26 18:05:32 -08:00
Script_BattleTowerSkipExplanation:
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 08:04:13 -07:00
jump Script_Menu_ChallengeExplanationCancel
2015-11-26 18:05:32 -08:00
Script_BattleTowerHopeToServeYouAgain:
2015-08-24 10:35:05 -07:00
writetext Text_WeHopeToServeYouAgain
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-11-26 18:05:32 -08:00
UnreferencedScript_0x9e4b6:
special BattleTowerMobileError
2015-11-25 07:16:29 -08:00
closetext
end
2015-11-25 07:16:29 -08:00
Script_WaitButton: ; 0x9e4bb
waitbutton
closetext
end
2015-11-26 18:05:32 -08:00
UnreferencedScript_0x9e4be:
2015-08-24 08:04:13 -07:00
writetext Text_SaveBeforeEnteringBattleRoom
2013-05-01 10:29:45 -07:00
yesorno
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
special Special_TryQuickSave
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
2015-11-03 12:05:19 -08:00
special BattleTowerAction
special Function1700ba
2015-08-24 08:04:13 -07:00
if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError
2015-08-24 10:35:05 -07:00
writetext Text_ReceivedAListOfLeadersOnTheHonorRoll
2015-11-26 21:22:14 -08:00
spriteface BATTLETOWER1F_RECEPTIONIST, LEFT
2015-08-24 10:35:05 -07:00
writetext Text_PleaseConfirmOnThisMonitor
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-26 21:22:14 -08:00
spriteface BATTLETOWER1F_RECEPTIONIST, DOWN
2015-11-25 07:16:29 -08:00
closetext
end
2015-11-26 18:05:32 -08:00
UnreferencedScript_0x9e4ea:
writebyte BATTLETOWERACTION_LEVEL_CHECK
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 10:35:05 -07:00
if_not_equal $0, Script_APkmnLevelExceeds
writebyte BATTLETOWERACTION_UBERS_CHECK
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 10:35:05 -07:00
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
2015-08-23 06:09:56 -07:00
special SpecialCheckForBattleTowerRules
2015-11-25 07:16:29 -08:00
if_not_equal $0, Script_WaitButton
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_05
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
if_equal $0, .zero
writetext Text_CantBeRegistered_PreviousRecordDeleted
jump continue
.zero
2015-11-26 18:05:32 -08:00
writetext Text_CantBeRegistered
continue:
yesorno
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
2015-11-26 18:05:32 -08:00
writetext Text_SaveBeforeReentry
yesorno
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
setscene $0
special Special_TryQuickSave
2015-08-24 08:04:13 -07:00
iffalse Script_Menu_ChallengeExplanationCancel
setscene $1
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_06
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_12
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-08-24 08:04:13 -07:00
writetext Text_RightThisWayToYourBattleRoom
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-26 18:05:32 -08:00
jump Script_ResumeBattleTowerChallenge
2015-11-26 18:05:32 -08:00
UnreferencedScript_0x9e53b:
writetext Text_FiveDayBattleLimit_Mobile
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-26 18:05:32 -08:00
jump Script_BattleTowerHopeToServeYouAgain
2015-08-24 10:35:05 -07:00
Script_APkmnLevelExceeds: ; 0x9e542
writetext Text_APkmnLevelExceeds
2015-11-25 07:16:29 -08:00
waitbutton
2015-08-24 08:04:13 -07:00
jump Script_Menu_ChallengeExplanationCancel
2015-08-24 10:35:05 -07:00
Script_MayNotEnterABattleRoomUnderL70: ; 0x9e549
writetext Text_MayNotEnterABattleRoomUnderL70
2015-11-25 07:16:29 -08:00
waitbutton
2015-08-24 08:04:13 -07:00
jump Script_Menu_ChallengeExplanationCancel
Script_MobileError:
special BattleTowerMobileError
2015-11-25 07:16:29 -08:00
closetext
end
BattleTower_LeftWithoutSaving:
2015-12-09 15:25:44 -08:00
opentext
writetext Text_BattleTower_LeftWithoutSaving
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-26 18:05:32 -08:00
jump Script_BattleTowerHopeToServeYouAgain
2015-07-10 01:45:35 -07:00
YoungsterScript_0x9e55d:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-08-24 10:35:05 -07:00
writetext Text_BattleTowerYoungster
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
spriteface BATTLETOWER1F_YOUNGSTER, RIGHT
end
2015-07-10 01:45:35 -07:00
CooltrainerFScript_0x9e568:
2015-08-24 10:35:05 -07:00
jumptextfaceplayer Text_BattleTowerCooltrainerF
2015-07-10 01:45:35 -07:00
BugCatcherScript_0x9e56b:
2015-08-24 10:35:05 -07:00
jumptextfaceplayer Text_BattleTowerBugCatcher
2015-07-10 01:45:35 -07:00
GrannyScript_0x9e56e:
2015-08-24 10:35:05 -07:00
jumptextfaceplayer Text_BattleTowerGranny
2015-11-26 18:05:32 -08:00
MovementData_BattleTower1FWalkToElevator:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step UP
step UP
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayPlayerEntersBattleRoom:
2016-05-14 10:46:14 -07:00
step UP
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerElevatorExitElevator:
2016-05-14 10:46:14 -07:00
step DOWN
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayWalkTo1020Room:
2016-05-14 10:46:14 -07:00
step RIGHT
step RIGHT
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayWalkTo3040Room:
2016-05-14 10:46:14 -07:00
step RIGHT
step RIGHT
step UP
step RIGHT
turn_head LEFT
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayWalkTo90100Room:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayWalkTo7080Room:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerHallwayWalkTo5060Room:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step UP
step LEFT
turn_head RIGHT
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomPlayerWalksIn:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step UP
turn_head RIGHT
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomOpponentWalksIn:
2016-05-14 10:46:14 -07:00
slow_step DOWN
slow_step DOWN
slow_step DOWN
turn_head LEFT
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomOpponentWalksOut:
2016-05-14 10:46:14 -07:00
turn_head UP
slow_step UP
slow_step UP
slow_step UP
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
slow_step RIGHT
slow_step UP
slow_step UP
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomReceptionistWalksAway:
2016-05-14 10:46:14 -07:00
slow_step DOWN
slow_step DOWN
slow_step LEFT
slow_step LEFT
turn_head RIGHT
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist:
2016-05-14 10:46:14 -07:00
turn_head DOWN
step_end
2015-11-26 18:05:32 -08:00
MovementData_BattleTowerBattleRoomPlayerTurnsToFaceNextOpponent:
2016-05-14 10:46:14 -07:00
turn_head RIGHT
step_end
2015-08-24 10:35:05 -07:00
Text_BattleTowerWelcomesYou: ; 0x9e5ab
text "BATTLE TOWER"
line "welcomes you!"
para "I could show you"
line "to a BATTLE ROOM."
done
2015-08-24 08:04:13 -07:00
Text_WantToGoIntoABattleRoom: ; 0x9e5ea
text "Want to go into a"
line "BATTLE ROOM?"
done
2015-08-24 08:04:13 -07:00
Text_RightThisWayToYourBattleRoom: ; 0x9e60a
text "Right this way to"
line "your BATTLE ROOM."
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerIntroduction_1: ; 0x9e62f
text "BATTLE TOWER is a"
line "facility made for"
cont "#MON battles."
para "Countless #MON"
line "trainers gather"
para "from all over to"
line "hold battles in"
para "specially designed"
line "BATTLE ROOMS."
para "There are many"
line "BATTLE ROOMS in"
cont "the BATTLE TOWER."
para "Each ROOM holds"
line "seven trainers."
para "If you defeat the"
line "seven in a ROOM,"
para "and you have a"
line "good record, you"
para "could become the"
line "ROOM's LEADER."
para "All LEADERS will"
line "be recorded in the"
para "HONOR ROLL for"
line "posterity."
para "You may challenge"
line "in up to five"
para "BATTLE ROOMS each"
line "day."
para "However, you may"
line "battle only once a"
para "day in any given"
line "ROOM."
para "To interrupt a"
line "session, you must"
para "SAVE. If not, you"
line "won't be able to"
para "resume your ROOM"
line "challenge."
para ""
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerIntroduction_2: ; 0x9e886
text "BATTLE TOWER is a"
line "facility made for"
cont "#MON battles."
para "Countless #MON"
line "trainers gather"
para "from all over to"
line "hold battles in"
para "specially designed"
line "BATTLE ROOMS."
para "There are many"
line "BATTLE ROOMS in"
cont "the BATTLE TOWER."
para "Each ROOM holds"
line "seven trainers."
para "Beat them all, and"
line "win a prize."
para "To interrupt a"
line "session, you must"
para "SAVE. If not, you"
line "won't be able to"
para "resume your ROOM"
line "challenge."
para ""
done
2015-08-24 10:35:05 -07:00
Text_ReceivedAListOfLeadersOnTheHonorRoll: ; 0x9e9eb
text "Received a list of"
line "LEADERS on the"
cont "HONOR ROLL."
para ""
done
2015-08-24 10:35:05 -07:00
Text_PleaseConfirmOnThisMonitor: ; 0x9ea1b
text "Please confirm on"
line "this monitor."
done
2015-08-24 10:35:05 -07:00
Text_ThankYou: ; 0x9ea3c
text "Thank you!"
para ""
done
2015-08-24 16:56:30 -07:00
Text_ThanksForVisiting: ; 0x9ea49
text "Thanks for"
line "visiting!"
done
2015-11-26 18:05:32 -08:00
Text_BeatenAllTheTrainers_Mobile:
text "Congratulations!"
para "You've beaten all"
line "the trainers!"
para "Your feat may be"
line "worth registering,"
para "<PLAYER>. With your"
line "results, you may"
para "be chosen as a"
line "ROOM LEADER."
para ""
done
2015-08-24 16:56:30 -07:00
Text_CongratulationsYouveBeatenAllTheTrainers: ; 0x9eaef
text "Congratulations!"
para "You've beaten all"
line "the trainers!"
para "For that, you get"
line "this great prize!"
para ""
done
2015-11-26 18:05:32 -08:00
Text_AskRegisterRecord_Mobile:
text "Would you like to"
line "register your"
para "record with the"
line "CENTER?"
done
2015-08-24 16:56:30 -07:00
Text_PlayerGotFive: ; 0x9eb7e
text "<PLAYER> got five"
line "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer4
text "!@"
2015-11-23 18:19:53 -08:00
sound_item
text_waitbutton
db "@"
2015-08-24 10:35:05 -07:00
Text_YourPackIsStuffedFull: ; 0x9eb94
text "Oops, your PACK is"
line "stuffed full."
para "Please make room"
line "and come back."
done
2015-08-24 10:35:05 -07:00
Text_YourRegistrationIsComplete: ; 0x9ebd6
text "Your registration"
line "is complete."
para "Please come again!"
done
2015-08-24 10:35:05 -07:00
Text_WeHopeToServeYouAgain: ; 0x9ec09
text "We hope to serve"
line "you again."
done
2015-08-24 10:35:05 -07:00
Text_PleaseStepThisWay: ; 0x9ec26
text "Please step this"
line "way."
done
2015-08-24 10:35:05 -07:00
Text_WouldYouLikeToHearAboutTheBattleTower: ; 0x9ec3d
text "Would you like to"
line "hear about the"
cont "BATTLE TOWER?"
done
2015-11-26 18:05:32 -08:00
Text_CantBeRegistered:
text "Your record from"
line "the previous"
para "BATTLE ROOM can't"
line "be registered. OK?"
done
2015-11-26 18:05:32 -08:00
Text_CantBeRegistered_PreviousRecordDeleted:
text "Your record from"
line "the previous"
para "BATTLE ROOM can't"
line "be registered."
para "Also, the existing"
line "record will be"
cont "deleted. OK?"
done
2015-08-24 10:35:05 -07:00
Text_CheckTheLeaderHonorRoll: ; 0x9ed1e
text "Check the LEADER"
line "HONOR ROLL?"
done
2015-08-24 10:35:05 -07:00
Text_ReadBattleTowerRules: ; 0x9ed3c
text "BATTLE TOWER rules"
line "are written here."
para "Read the rules?"
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerRules: ; 0x9ed72
text "Three #MON may"
line "enter battles."
para "All three must be"
line "different."
para "The items they"
line "hold must also be"
cont "different."
para "Certain #MON"
line "may also have"
para "level restrictions"
line "placed on them."
done
Text_BattleTower_LeftWithoutSaving:
text "Excuse me!"
line "You didn't SAVE"
para "before exiting"
line "the BATTLE ROOM."
para "I'm awfully sorry,"
line "but your challenge"
para "will be declared"
line "invalid."
done
2015-08-24 10:35:05 -07:00
Text_YourPkmnWillBeHealedToFullHealth: ; 0x9ee92
text "Your #MON will"
line "be healed to full"
cont "health."
done
2015-08-24 10:35:05 -07:00
Text_NextUpOpponentNo: ; 0x9eebc
text "Next up, opponent"
line "no.@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text ". Ready?"
done
2015-11-26 18:05:32 -08:00
Text_SaveBeforeConnecting_Mobile:
text "Your session will"
line "be SAVED before"
para "connecting with"
line "the CENTER."
done
2015-08-24 08:04:13 -07:00
Text_SaveBeforeEnteringBattleRoom: ; 0x9ef1f
text "Before entering"
line "the BATTLE ROOM,"
para "your progress will"
line "be saved."
done
2015-08-24 10:35:05 -07:00
Text_SaveAndEndTheSession: ; 0x9ef5e
text "SAVE and end the"
line "session?"
done
2015-11-26 18:05:32 -08:00
Text_SaveBeforeReentry:
text "Your record will"
line "be SAVED before"
para "you go back into"
line "the previous ROOM."
done
2015-08-24 10:35:05 -07:00
Text_CancelYourBattleRoomChallenge: ; 0x9efbf
text "Cancel your BATTLE"
line "ROOM challenge?"
done
2015-11-26 18:05:32 -08:00
Text_RegisterRecordOnFile_Mobile:
text "We have your"
line "previous record on"
para "file. Would you"
line "like to register"
cont "it at the CENTER?"
done
2015-11-26 18:05:32 -08:00
Text_WeveBeenWaitingForYou:
text "We've been waiting"
line "for you. This way"
para "to a BATTLE ROOM,"
line "please."
done
2015-11-26 18:05:32 -08:00
Text_FiveDayBattleLimit_Mobile:
text "You may enter only"
line "five BATTLE ROOMS"
cont "each day."
para "Please come back"
line "tomorrow."
done
2015-08-24 16:56:30 -07:00
Text_TooMuchTimeElapsedNoRegister: ; 0x9f0c1
text "Sorry, but it's"
line "not possible to"
para "register your"
line "current record at"
para "the CENTER because"
line "too much time has"
para "elapsed since the"
line "start of your"
cont "challenge."
done
; a dupe?
2015-11-26 18:05:32 -08:00
Text_RegisterRecordTimedOut_Mobile:
text "Sorry, but it's"
line "not possible to"
para "register your most"
line "recent record at"
para "the CENTER because"
line "too much time has"
para "elapsed since the"
line "start of your"
cont "challenge."
done
2015-08-24 10:35:05 -07:00
Text_APkmnLevelExceeds: ; 0x9f1e5
text "One or more of"
line "your #MON's"
cont "levels exceeds @"
2015-10-30 07:34:35 -07:00
deciram ScriptVar, 1, 3
text "."
done
2015-08-24 10:35:05 -07:00
Text_MayNotEnterABattleRoomUnderL70: ; 0x9f217
2015-02-10 15:37:24 -08:00
text_from_ram wcd49
text " may not"
line "enter a BATTLE"
cont "ROOM under L70."
para "This BATTLE ROOM"
line "is for L@"
2015-10-30 07:34:35 -07:00
deciram ScriptVar, 1, 3
text "."
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerYoungster: ; 0x9f264
text "Destroyed by the"
line "first opponent in"
para "no time at all…"
line "I'm no good…"
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerCooltrainerF: ; 0x9f2a4
text "There are lots of"
line "BATTLE ROOMS, but"
para "I'm going to win"
line "them all!"
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerGranny: ; 0x9f2e3
text "It's a grueling"
line "task, not being"
para "able to use items"
line "in battle."
para "Making your"
line "#MON hold items"
para "is the key to"
line "winning battles."
done
2015-08-24 10:35:05 -07:00
Text_BattleTowerBugCatcher: ; 0x9f35b
text "I'm trying to see"
line "how far I can go"
para "using just bug"
line "#MON."
para "Don't let there be"
line "any fire #MON…"
done
2015-07-10 01:45:35 -07:00
BattleTower1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def 7, 9, 3, BATTLE_TOWER_OUTSIDE
warp_def 8, 9, 4, BATTLE_TOWER_OUTSIDE
warp_def 7, 0, 1, BATTLE_TOWER_ELEVATOR
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 6, 6, BGEVENT_READ, MapBattleTower1FSignpost0Script
.ObjectEvents:
db 5
object_event 7, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ReceptionistScript_0x9e3e2, -1
object_event 14, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, YoungsterScript_0x9e55d, -1
object_event 4, 9, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x9e568, -1
object_event 1, 3, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BugCatcherScript_0x9e56b, -1
object_event 14, 3, SPRITE_GRANNY, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrannyScript_0x9e56e, -1