pokecrystal-board/engine/std_scripts.asm

1917 lines
40 KiB
NASM
Raw Normal View History

2015-06-26 23:17:10 -07:00
StdScripts::
2015-11-03 16:43:47 -08:00
dba PokeCenterNurseScript
dba DifficultBookshelfScript
dba PictureBookshelfScript
dba MagazineBookshelfScript
dba TeamRocketOathScript
dba IncenseBurnerScript
dba MerchandiseShelfScript
dba TownMapScript
dba WindowScript
dba TVScript
dba HomepageScript
dba Radio1Script
dba Radio2Script
dba TrashCanScript
dba StrengthBoulderScript
dba SmashRockScript
dba PokeCenterSignScript
dba MartSignScript
dba GoldenrodRocketsScript
dba RadioTowerRocketsScript
dba ElevatorButtonScript
dba DayToTextScript
dba BugContestResultsWarpScript
dba BugContestResultsScript
dba InitializeEventsScript
dba AskNumber1MScript
dba AskNumber2MScript
dba RegisteredNumberMScript
dba NumberAcceptedMScript
dba NumberDeclinedMScript
dba PhoneFullMScript
dba RematchMScript
dba GiftMScript
dba PackFullMScript
dba RematchGiftMScript
dba AskNumber1FScript
dba AskNumber2FScript
dba RegisteredNumberFScript
dba NumberAcceptedFScript
dba NumberDeclinedFScript
dba PhoneFullFScript
dba RematchFScript
dba GiftFScript
dba PackFullFScript
dba RematchGiftFScript
dba GymStatue1Script
dba GymStatue2Script
dba ReceiveItemScript
dba ReceiveTogepiEggScript
dba PCScript
dba GameCornerCoinVendorScript
dba HappinessCheckScript
2013-09-07 12:30:07 -07:00
2015-06-26 23:17:10 -07:00
PokeCenterNurseScript:
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
2013-09-07 12:30:07 -07:00
loadfont
checkmorn
2013-09-07 12:30:07 -07:00
iftrue .morn
checkday
2013-09-07 12:30:07 -07:00
iftrue .day
checknite
2013-09-07 12:30:07 -07:00
iftrue .nite
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.morn
2015-06-26 23:17:10 -07:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 12:30:07 -07:00
iftrue .morn_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b0000
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.morn_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b008a
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.day
2015-06-26 23:17:10 -07:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 12:30:07 -07:00
iftrue .day_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b002b
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.day_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b00d6
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.nite
2015-06-26 23:17:10 -07:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 12:30:07 -07:00
iftrue .nite_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b004f
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.nite_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b011b
2013-09-07 12:30:07 -07:00
keeptextopen
2015-06-26 23:17:10 -07:00
jump .ok
.ok
; only do this once
clearevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 12:30:07 -07:00
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b017a
2013-09-07 12:30:07 -07:00
yesorno
2015-06-26 23:17:10 -07:00
iffalse .done
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b01bd
2013-09-07 12:30:07 -07:00
pause 20
special Mobile_HealParty
spriteface LAST_TALKED, LEFT
2013-09-07 12:30:07 -07:00
pause 10
special HealParty
playmusic MUSIC_NONE
writebyte 0 ; Machine is at a Pokemon Center
special HealMachineAnim
2013-09-07 12:30:07 -07:00
pause 30
special RestartMapMusic
spriteface LAST_TALKED, DOWN
2013-09-07 12:30:07 -07:00
pause 10
2015-06-26 23:17:10 -07:00
checkphonecall ; elm already called about pokerus
iftrue .no
checkflag ENGINE_POKERUS ; nurse already talked about pokerus
iftrue .no
special SpecialCheckPokerus
2013-09-07 12:30:07 -07:00
iftrue .pokerus
2015-06-26 23:17:10 -07:00
.no
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b01d7
2013-09-07 12:30:07 -07:00
pause 20
2015-06-26 23:17:10 -07:00
.done
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b020b
2015-06-26 23:17:10 -07:00
spriteface LAST_TALKED, UP
2013-09-07 12:30:07 -07:00
pause 10
spriteface LAST_TALKED, DOWN
2013-09-07 12:30:07 -07:00
pause 10
2015-06-26 23:17:10 -07:00
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.pokerus
2015-06-26 23:17:10 -07:00
; already cleared earlier in the script
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 12:30:07 -07:00
iftrue .pokerus_comcenter
2015-06-26 23:17:10 -07:00
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b0241
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
2015-06-26 23:17:10 -07:00
jump .pokerus_done
2013-09-07 12:30:07 -07:00
.pokerus_comcenter
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b02d6
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
2015-06-26 23:17:10 -07:00
.pokerus_done
setflag ENGINE_POKERUS
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_POKERUS
2013-09-07 12:30:07 -07:00
end
DifficultBookshelfScript:
farjumptext DifficultBookshelfText
2013-09-07 12:30:07 -07:00
PictureBookshelfScript:
farjumptext PictureBookshelfText
2013-09-07 12:30:07 -07:00
MagazineBookshelfScript:
farjumptext MagazineBookshelfText
2013-09-07 12:30:07 -07:00
TeamRocketOathScript:
farjumptext TeamRocketOathText
2013-09-07 12:30:07 -07:00
IncenseBurnerScript:
farjumptext IncenseBurnerText
2013-09-07 12:30:07 -07:00
MerchandiseShelfScript:
farjumptext MerchandiseShelfText
2013-09-07 12:30:07 -07:00
TownMapScript:
2013-09-07 12:30:07 -07:00
loadfont
farwritetext TownMapText
2015-11-25 07:16:29 -08:00
waitbutton
special Special_TownMap
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
end
WindowScript:
farjumptext WindowText
2013-09-07 12:30:07 -07:00
TVScript:
2013-09-07 12:30:07 -07:00
loadfont
farwritetext TVText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
HomepageScript:
farjumptext HomepageText
2013-09-07 12:30:07 -07:00
2015-06-23 14:02:58 -07:00
Radio1Script:
2013-09-07 12:30:07 -07:00
loadfont
writebyte $0
special MapRadio
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
end
2015-06-23 14:02:58 -07:00
Radio2Script:
; Lucky Channel
2013-09-07 12:30:07 -07:00
loadfont
writebyte $4
special MapRadio
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
end
2015-06-23 14:02:58 -07:00
TrashCanScript: ; 0xbc1a5
farjumptext TrashCanText
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
PCScript:
2013-09-07 12:30:07 -07:00
loadfont
special PokemonCenterPC
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
end
2015-06-23 14:02:58 -07:00
ElevatorButtonScript:
playsound SFX_READ_TEXT_2
2013-09-07 12:30:07 -07:00
pause 15
playsound SFX_ELEVATOR_END
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
StrengthBoulderScript:
2015-06-23 14:02:58 -07:00
farjump AskStrengthScript
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
SmashRockScript:
2015-01-20 00:01:23 -08:00
farjump AskRockSmashScript
2013-09-07 12:30:07 -07:00
2015-06-23 14:02:58 -07:00
PokeCenterSignScript:
farjumptext PokeCenterSignText
2013-09-07 12:30:07 -07:00
2015-06-23 14:02:58 -07:00
MartSignScript
farjumptext MartSignText
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
DayToTextScript:
checkcode VAR_WEEKDAY
2015-06-23 13:29:06 -07:00
if_equal MONDAY, .Monday
if_equal TUESDAY, .Tuesday
if_equal WEDNESDAY, .Wednesday
if_equal THURSDAY, .Thursday
if_equal FRIDAY, .Friday
if_equal SATURDAY, .Saturday
stringtotext .SundayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Monday
stringtotext .MondayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Tuesday
stringtotext .TuesdayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Wednesday
stringtotext .WednesdayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Thursday
stringtotext .ThursdayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Friday
stringtotext .FridayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.Saturday
stringtotext .SaturdayText, 0
2013-09-07 12:30:07 -07:00
end
2015-06-23 13:29:06 -07:00
.SundayText
2013-09-07 12:30:07 -07:00
db "SUNDAY@"
2015-06-23 13:29:06 -07:00
.MondayText
2013-09-07 12:30:07 -07:00
db "MONDAY@"
2015-06-23 13:29:06 -07:00
.TuesdayText
2013-09-07 12:30:07 -07:00
db "TUESDAY@"
2015-06-23 13:29:06 -07:00
.WednesdayText
2013-09-07 12:30:07 -07:00
db "WEDNESDAY@"
2015-06-23 13:29:06 -07:00
.ThursdayText
2013-09-07 12:30:07 -07:00
db "THURSDAY@"
2015-06-23 13:29:06 -07:00
.FridayText
2013-09-07 12:30:07 -07:00
db "FRIDAY@"
2015-06-23 13:29:06 -07:00
.SaturdayText
2013-09-07 12:30:07 -07:00
db "SATURDAY@"
2015-06-24 18:26:24 -07:00
GoldenrodRocketsScript:
clearevent EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
RadioTowerRocketsScript:
2015-07-10 05:12:28 -07:00
setflag ENGINE_ROCKETS_IN_RADIO_TOWER
setevent EVENT_GOLDENROD_CITY_CIVILIANS
setevent EVENT_RADIO_TOWER_BLACKBELT_BLOCKS_STAIRS
clearevent EVENT_RADIO_TOWER_ROCKET_TAKEOVER
clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_WEIRDBROADCAST
domaptrigger MAHOGANY_TOWN, $1
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
BugContestResultsWarpScript:
2015-11-11 20:38:57 -08:00
special ClearBGPalettes
scall BugContestResults_CopyContestantsToResults
setevent EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY
clearevent EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY
setevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE
warp ROUTE_36_NATIONAL_PARK_GATE, $0, $4
applymovement PLAYER, Movement_ContestResults_WalkAfterWarp
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
BugContestResultsScript:
clearflag ENGINE_BUG_CONTEST_TIMER
clearevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE
clearevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
2013-09-07 12:30:07 -07:00
loadfont
farwritetext ContestResults_ReadyToJudgeText
2015-11-25 07:16:29 -08:00
waitbutton
special BugContestJudging
2013-09-07 12:30:07 -07:00
RAM2MEM $0
if_equal 1, BugContestResults_FirstPlace
if_equal 2, BugContestResults_SecondPlace
if_equal 3, BugContestResults_ThirdPlace
farwritetext ContestResults_ConsolationPrizeText
2013-09-07 12:30:07 -07:00
keeptextopen
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-04 17:20:14 -08:00
verbosegiveitem BERRY
iffalse BugContestResults_NoRoomForBerry
BugContestResults_DidNotWin
farwritetext ContestResults_DidNotWinText
2013-09-07 12:30:07 -07:00
keeptextopen
jump BugContestResults_FinishUp
2013-09-07 12:30:07 -07:00
; 0xbc2b1
BugContestResults_ReturnAfterWinnersPrize ; 0xbc2b1
farwritetext ContestResults_JoinUsNextTimeText
2013-09-07 12:30:07 -07:00
keeptextopen
BugContestResults_FinishUp
checkevent EVENT_LEFT_MONS_WITH_CONTEST_OFFICER
iffalse BugContestResults_DidNotLeaveMons
farwritetext ContestResults_ReturnPartyText
2015-11-25 07:16:29 -08:00
waitbutton
special ContestReturnMons
BugContestResults_DidNotLeaveMons
special CheckPartyFullAfterContest
if_equal $0, BugContestResults_CleanUp
if_equal $2, BugContestResults_CleanUp
farwritetext ContestResults_PartyFullText
2015-11-25 07:16:29 -08:00
waitbutton
BugContestResults_CleanUp
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
dotrigger $0
domaptrigger ROUTE_35_NATIONAL_PARK_GATE, $0
setevent EVENT_BUG_CATCHING_CONTESTANT_1A
setevent EVENT_BUG_CATCHING_CONTESTANT_2A
setevent EVENT_BUG_CATCHING_CONTESTANT_3A
setevent EVENT_BUG_CATCHING_CONTESTANT_4A
setevent EVENT_BUG_CATCHING_CONTESTANT_5A
setevent EVENT_BUG_CATCHING_CONTESTANT_6A
setevent EVENT_BUG_CATCHING_CONTESTANT_7A
setevent EVENT_BUG_CATCHING_CONTESTANT_8A
setevent EVENT_BUG_CATCHING_CONTESTANT_9A
setevent EVENT_BUG_CATCHING_CONTESTANT_10A
setevent EVENT_BUG_CATCHING_CONTESTANT_1B
setevent EVENT_BUG_CATCHING_CONTESTANT_2B
setevent EVENT_BUG_CATCHING_CONTESTANT_3B
setevent EVENT_BUG_CATCHING_CONTESTANT_4B
setevent EVENT_BUG_CATCHING_CONTESTANT_5B
setevent EVENT_BUG_CATCHING_CONTESTANT_6B
setevent EVENT_BUG_CATCHING_CONTESTANT_7B
setevent EVENT_BUG_CATCHING_CONTESTANT_8B
setevent EVENT_BUG_CATCHING_CONTESTANT_9B
setevent EVENT_BUG_CATCHING_CONTESTANT_10B
setflag ENGINE_DAILY_BUG_CONTEST
special PlayMapMusic
2013-09-07 12:30:07 -07:00
end
; 0xbc31e
BugContestResults_FirstPlace ; 0xbc31e
setevent EVENT_GAVE_KURT_APRICORNS
2013-09-07 12:30:07 -07:00
itemtotext SUN_STONE, $1
farwritetext ContestResults_PlayerWonAPrizeText
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem SUN_STONE
iffalse BugContestResults_NoRoomForSunStone
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc332
BugContestResults_SecondPlace ; 0xbc332
2013-09-07 12:30:07 -07:00
itemtotext EVERSTONE, $1
farwritetext ContestResults_PlayerWonAPrizeText
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem EVERSTONE
iffalse BugContestResults_NoRoomForEverstone
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc343
BugContestResults_ThirdPlace ; 0xbc343
2013-09-07 12:30:07 -07:00
itemtotext GOLD_BERRY, $1
farwritetext ContestResults_PlayerWonAPrizeText
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem GOLD_BERRY
iffalse BugContestResults_NoRoomForGoldBerry
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc354
BugContestResults_NoRoomForSunStone ; 0xbc354
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b08cc
2013-09-07 12:30:07 -07:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc35f
BugContestResults_NoRoomForEverstone ; 0xbc35f
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b08cc
2013-09-07 12:30:07 -07:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc36a
BugContestResults_NoRoomForGoldBerry ; 0xbc36a
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b08cc
2013-09-07 12:30:07 -07:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
; 0xbc375
BugContestResults_NoRoomForBerry ; 0xbc375
2015-01-20 00:01:23 -08:00
farwritetext UnknownText_0x1b08cc
2013-09-07 12:30:07 -07:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_BERRY
jump BugContestResults_DidNotWin
2013-09-07 12:30:07 -07:00
; 0xbc380
BugContestResults_CopyContestantsToResults ; 0xbc380
checkevent EVENT_BUG_CATCHING_CONTESTANT_1A
2013-09-07 12:30:07 -07:00
iftrue .skip1
clearevent EVENT_BUG_CATCHING_CONTESTANT_1B
2013-09-07 12:30:07 -07:00
.skip1
checkevent EVENT_BUG_CATCHING_CONTESTANT_2A
2013-09-07 12:30:07 -07:00
iftrue .skip2
clearevent EVENT_BUG_CATCHING_CONTESTANT_2B
2013-09-07 12:30:07 -07:00
.skip2
checkevent EVENT_BUG_CATCHING_CONTESTANT_3A
2013-09-07 12:30:07 -07:00
iftrue .skip3
clearevent EVENT_BUG_CATCHING_CONTESTANT_3B
2013-09-07 12:30:07 -07:00
.skip3
checkevent EVENT_BUG_CATCHING_CONTESTANT_4A
2013-09-07 12:30:07 -07:00
iftrue .skip4
clearevent EVENT_BUG_CATCHING_CONTESTANT_4B
2013-09-07 12:30:07 -07:00
.skip4
checkevent EVENT_BUG_CATCHING_CONTESTANT_5A
2013-09-07 12:30:07 -07:00
iftrue .skip5
clearevent EVENT_BUG_CATCHING_CONTESTANT_5B
2013-09-07 12:30:07 -07:00
.skip5
checkevent EVENT_BUG_CATCHING_CONTESTANT_6A
2013-09-07 12:30:07 -07:00
iftrue .skip6
clearevent EVENT_BUG_CATCHING_CONTESTANT_6B
2013-09-07 12:30:07 -07:00
.skip6
checkevent EVENT_BUG_CATCHING_CONTESTANT_7A
2013-09-07 12:30:07 -07:00
iftrue .skip7
clearevent EVENT_BUG_CATCHING_CONTESTANT_7B
2013-09-07 12:30:07 -07:00
.skip7
checkevent EVENT_BUG_CATCHING_CONTESTANT_8A
2013-09-07 12:30:07 -07:00
iftrue .skip8
clearevent EVENT_BUG_CATCHING_CONTESTANT_8B
2013-09-07 12:30:07 -07:00
.skip8
checkevent EVENT_BUG_CATCHING_CONTESTANT_9A
2013-09-07 12:30:07 -07:00
iftrue .skip9
clearevent EVENT_BUG_CATCHING_CONTESTANT_9B
2013-09-07 12:30:07 -07:00
.skip9
checkevent EVENT_BUG_CATCHING_CONTESTANT_10A
2013-09-07 12:30:07 -07:00
iftrue .skip10
clearevent EVENT_BUG_CATCHING_CONTESTANT_10B
2013-09-07 12:30:07 -07:00
.skip10
end
2015-06-24 18:26:24 -07:00
InitializeEventsScript:
setevent EVENT_EARLS_ACADEMY_EARL
setevent EVENT_RADIO_TOWER_ROCKET_TAKEOVER
setevent EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER
setevent EVENT_RADIO_TOWER_CIVILIANS_AFTER
setevent EVENT_ILEX_FOREST_APPRENTICE
setevent EVENT_ILEX_FOREST_FARFETCHD
setevent EVENT_ILEX_FOREST_CHARCOAL_MASTER
setevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
setevent EVENT_TEAM_ROCKET_BASE_B2F_GRUNT_WITH_EXECUTIVE
setevent EVENT_TEAM_ROCKET_BASE_B2F_EXECUTIVE
setevent EVENT_TEAM_ROCKET_BASE_B2F_DRAGONITE
setevent EVENT_RIVAL_TEAM_ROCKET_BASE
setevent EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM
setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent EVENT_RIVAL_CHERRYGROVE_CITY
setevent EVENT_RIVAL_AZALEA_TOWN
setevent EVENT_RIVAL_UNDERGROUND_PATH
setevent EVENT_AZALEA_TOWN_SLOWPOKES
setevent EVENT_KURTS_HOUSE_SLOWPOKE
setevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
setevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
setevent EVENT_COP_IN_ELMS_LAB
setevent EVENT_RUINS_OF_ALPH_OUTSIDE_SCIENTIST
setevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
setevent EVENT_BOULDER_IN_ICE_PATH_1A
setevent EVENT_BOULDER_IN_ICE_PATH_2A
setevent EVENT_BOULDER_IN_ICE_PATH_3A
setevent EVENT_BOULDER_IN_ICE_PATH_4A
setevent EVENT_ROUTE_30_YOUNGSTER_JOEY
setevent EVENT_BUG_CATCHING_CONTESTANT_1A
setevent EVENT_BUG_CATCHING_CONTESTANT_2A
setevent EVENT_BUG_CATCHING_CONTESTANT_3A
setevent EVENT_BUG_CATCHING_CONTESTANT_4A
setevent EVENT_BUG_CATCHING_CONTESTANT_5A
setevent EVENT_BUG_CATCHING_CONTESTANT_6A
setevent EVENT_BUG_CATCHING_CONTESTANT_7A
setevent EVENT_BUG_CATCHING_CONTESTANT_8A
setevent EVENT_BUG_CATCHING_CONTESTANT_9A
setevent EVENT_BUG_CATCHING_CONTESTANT_10A
setevent EVENT_BUG_CATCHING_CONTESTANT_1B
setevent EVENT_BUG_CATCHING_CONTESTANT_2B
setevent EVENT_BUG_CATCHING_CONTESTANT_3B
setevent EVENT_BUG_CATCHING_CONTESTANT_4B
setevent EVENT_BUG_CATCHING_CONTESTANT_5B
setevent EVENT_BUG_CATCHING_CONTESTANT_6B
setevent EVENT_BUG_CATCHING_CONTESTANT_7B
setevent EVENT_BUG_CATCHING_CONTESTANT_8B
setevent EVENT_BUG_CATCHING_CONTESTANT_9B
setevent EVENT_BUG_CATCHING_CONTESTANT_10B
setevent EVENT_FAST_SHIP_1F_GENTLEMAN
setevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
setevent EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
setevent EVENT_LAKE_OF_RAGE_CIVILIANS
setevent EVENT_MAHOGANY_MART_OWNERS
setevent EVENT_TIN_TOWER_ROOF_HO_OH
setevent EVENT_WHIRL_ISLAND_LUGIA_CHAMBER_LUGIA
setevent EVENT_KRISS_HOUSE_2F_CONSOLE
setevent EVENT_KRISS_HOUSE_2F_DOLL_1
setevent EVENT_KRISS_HOUSE_2F_DOLL_2
setevent EVENT_KRISS_HOUSE_2F_BIG_DOLL
setevent EVENT_DECO_BED_1
setevent EVENT_DECO_PLANT_4
setevent EVENT_GOLDENROD_TRAIN_STATION_GENTLEMAN
setevent EVENT_OLIVINE_GYM_JASMINE
setevent EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN
setevent EVENT_MET_BILL
setevent EVENT_ECRUTEAK_POKE_CENTER_BILL
setevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
setevent EVENT_LAKE_OF_RAGE_LANCE
setevent EVENT_WAREHOUSE_LAYOUT_1
setevent EVENT_WAREHOUSE_BLOCKED_OFF
setevent EVENT_DRAGONS_DEN_CLAIR
setevent EVENT_RIVAL_OLIVINE_CITY
setevent EVENT_RIVAL_VICTORY_ROAD
setevent EVENT_RIVAL_DRAGONS_DEN
setevent EVENT_LANCES_ROOM_OAK_AND_MARY
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
setevent EVENT_BURNED_TOWER_B1F_BEASTS_1
setevent EVENT_RED_IN_MT_SILVER
setevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
setevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
setevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
setevent EVENT_OLIVINE_PORT_PASSAGE_POKEFAN_M
setevent EVENT_KURTS_HOUSE_KURT_2
setevent EVENT_KURTS_HOUSE_GRANDDAUGHTER_2
setevent EVENT_RANG_CLEAR_BELL_1
setevent EVENT_FLORIA_AT_FLOWER_SHOP
setevent EVENT_FLORIA_AT_SUDOWOODO
setevent EVENT_GOLDENROD_CITY_MOVE_TUTOR
setevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
setevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
setevent EVENT_DRAGON_SHRINE_CLAIR
setevent EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
setevent EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR
setevent EVENT_AZALEA_TOWN_KURT
setevent EVENT_AZALEA_TOWN_KURT
setevent EVENT_ILEX_FOREST_KURT
setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY
setevent EVENT_ILEX_FOREST_LASS
setevent EVENT_GOLDENROD_SALE_OFF
setevent EVENT_ECRUTEAK_CITY_GRAMPS
2015-07-10 05:08:03 -07:00
setevent EVENT_EUSINE_IN_BURNED_TOWER
setevent EVENT_KRISS_HOUSE_MOM_2
setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
setevent EVENT_CIANWOOD_CITY_EUSINE
setevent EVENT_TIN_TOWER_1F_EUSINE
setevent EVENT_TIN_TOWER_1F_WISE_TRIO_1
setevent EVENT_TIN_TOWER_1F_WISE_TRIO_2
setevent EVENT_SET_WHEN_FOUGHT_HO_OH
setevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
2015-06-24 20:20:04 -07:00
setflag ENGINE_ROCKET_SIGNAL_ON_CH20
setflag ENGINE_ROCKETS_IN_MAHOGANY
variablesprite SPRITE_WEIRD_TREE, SPRITE_SUDOWOODO
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SILVER
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_ROCKET
variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_JANINE
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_JANINE
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_JANINE
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_JANINE
variablesprite SPRITE_COPYCAT, SPRITE_LASS
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_LASS
setevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM
setevent EVENT_CERULEAN_GYM_ROCKET
setevent EVENT_ROUTE_24_ROCKET
setevent EVENT_ROUTE_25_MISTY_BOYFRIEND
setevent EVENT_TRAINERS_IN_CERULEAN_GYM
setevent EVENT_COPYCATS_HOUSE_2F_DOLL
setevent EVENT_VIRIDIAN_GYM_BLUE
setevent EVENT_SEAFOAM_GYM_GYM_GUY
setevent EVENT_MT_MOON_SQUARE_CLEFAIRY
setevent EVENT_SAFFRON_TRAIN_STATION_POPULATION
setevent EVENT_INDIGO_PLATEAU_POKECENTER_RIVAL
setevent EVENT_INITIALIZED_EVENTS
2013-09-07 12:30:07 -07:00
return
2015-06-24 18:26:24 -07:00
AskNumber1MScript:
special RandomPhoneMon
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Irwin
farwritetext IrwinAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArnieAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
AskNumber2MScript:
special RandomPhoneMon
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Irwin
farwritetext IrwinAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArnieAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
RegisteredNumberMScript:
farwritetext RegisteredNumber1Text
playsound SFX_REGISTER_PHONE_NUMBER
2015-11-25 07:16:29 -08:00
waitsfx
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
NumberAcceptedMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Irwin
farwritetext IrwinNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArnieNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
NumberDeclinedMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Irwin
farwritetext IrwinNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArnieNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
PhoneFullMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JosePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Irwin
farwritetext IrwinPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArniePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VancePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
RematchMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Jack
farwritetext JackRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gaven
farwritetext GavenRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Ralph
farwritetext RalphRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Anthony
farwritetext AnthonyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Todd
farwritetext ToddRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Arnie
farwritetext ArnieRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Chad
farwritetext ChadRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Brent
farwritetext BrentRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
GiftMScript:
checkcode VAR_CALLERID
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JoseGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadeGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
PackFullMScript:
checkcode VAR_CALLERID
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Jose
farwritetext JosePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wade
farwritetext WadePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Alan
farwritetext AlanPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Derek
farwritetext DerekPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tully
farwritetext TullyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VancePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Wilton
farwritetext WiltonPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Kenji
farwritetext KenjiPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
RematchGiftMScript:
2013-09-07 12:30:07 -07:00
loadfont
checkcode VAR_CALLERID
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_HIKER_PARRY, .Parry
2015-06-24 18:26:24 -07:00
.Huey
farwritetext HueyRematchGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Joey
farwritetext JoeyRematchGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Vance
farwritetext VanceRematchGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Parry
farwritetext ParryRematchGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
AskNumber1FScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
AskNumber2FScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinAskNumber2Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
RegisteredNumberFScript:
farwritetext RegisteredNumber2Text
playsound SFX_REGISTER_PHONE_NUMBER
2015-11-25 07:16:29 -08:00
waitsfx
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
NumberAcceptedFScript: ; 0xbcbd3
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
NumberDeclinedFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
PhoneFullFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
RematchFScript:
checkcode VAR_CALLERID
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beth
farwritetext BethRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Reena
farwritetext ReenaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Liz
farwritetext LizRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
GiftFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
PackFullFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Beverly
farwritetext BeverlyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Gina
farwritetext GinaPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Dana
farwritetext DanaPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Tiffany
farwritetext TiffanyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Erin
farwritetext ErinPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
RematchGiftFScript:
checkcode VAR_CALLERID
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Erin
2013-09-07 12:30:07 -07:00
loadfont
2015-06-24 18:26:24 -07:00
farwritetext ErinRematchGiftText
2013-09-07 12:30:07 -07:00
keeptextopen
end
2015-06-24 18:26:24 -07:00
GymStatue1Script:
2013-09-07 12:30:07 -07:00
mapnametotext $0
loadfont
farwritetext GymStatue_CityGymText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
GymStatue2Script:
2013-09-07 12:30:07 -07:00
mapnametotext $0
loadfont
farwritetext GymStatue_CityGymText
2013-09-07 12:30:07 -07:00
keeptextopen
farwritetext GymStatue_WinningTrainersText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
ReceiveItemScript: ; 0xbcdb9
2015-11-25 07:16:29 -08:00
waitsfx
farwritetext ReceivedItemText
playsound SFX_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
2013-09-07 12:30:07 -07:00
end
; 0xbcdc3
ReceiveTogepiEggScript: ; 0xbcdc3
2015-11-25 07:16:29 -08:00
waitsfx
farwritetext ReceivedItemText
playsound SFX_GET_EGG_FROM_DAYCARE_LADY
2015-11-25 07:16:29 -08:00
waitsfx
2013-09-07 12:30:07 -07:00
end
; 0xbcdcd
GameCornerCoinVendorScript: ; 0xbcdcd
2013-09-07 12:30:07 -07:00
faceplayer
loadfont
farwritetext CoinVendor_WelcomeText
2013-09-07 12:30:07 -07:00
keeptextopen
checkitem COIN_CASE
iftrue CoinVendor_IntroScript
farwritetext CoinVendor_NoCoinCaseText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbcde0
CoinVendor_IntroScript: ; 0xbcde0
farwritetext CoinVendor_IntroText
CoinVendor_SellCoinsMenuScript: ; 0xbcde4
2015-10-16 10:35:43 -07:00
special Special_DisplayMoneyAndCoinBalance
loadmenudata CoinVendor_MenuDataHeader
2013-09-07 12:30:07 -07:00
interpretmenu2
writebackup
if_equal $1, CoinVendor_Buy50CoinsScript
if_equal $2, CoinVendor_Buy500CoinsScript
jump CoinVendor_CancelScript
2013-09-07 12:30:07 -07:00
; 0xbcdf7
CoinVendor_Buy50CoinsScript: ; 0xbcdf7
2013-09-07 12:30:07 -07:00
checkcoins 9949
if_equal $0, CoinVendor_CoinCaseFullScript
2013-09-07 12:30:07 -07:00
checkmoney $0, 1000
if_equal $2, CoinVendor_NotEnoughMoneyScript
2013-09-07 12:30:07 -07:00
givecoins 50
takemoney $0, 1000
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
farwritetext CoinVendor_Buy50CoinsText
2015-11-25 07:16:29 -08:00
waitbutton
jump CoinVendor_SellCoinsMenuScript
2013-09-07 12:30:07 -07:00
; 0xbce1b
CoinVendor_Buy500CoinsScript: ; 0xbce1b
2013-09-07 12:30:07 -07:00
checkcoins 9499
if_equal $0, CoinVendor_CoinCaseFullScript
2013-09-07 12:30:07 -07:00
checkmoney $0, 10000
if_equal $2, CoinVendor_NotEnoughMoneyScript
2013-09-07 12:30:07 -07:00
givecoins 500
takemoney $0, 10000
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
farwritetext CoinVendor_Buy500CoinsText
2015-11-25 07:16:29 -08:00
waitbutton
jump CoinVendor_SellCoinsMenuScript
2013-09-07 12:30:07 -07:00
; 0xbce3f
CoinVendor_NotEnoughMoneyScript: ; 0xbce3f
farwritetext CoinVendor_NotEnoughMoneyText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce46
CoinVendor_CoinCaseFullScript: ; 0xbce46
farwritetext CoinVendor_CoinCaseFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce4d
CoinVendor_CancelScript: ; 0xbce4d
farwritetext CoinVendor_CancelText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce54
CoinVendor_MenuDataHeader: ; 0xbce54
2013-09-07 12:30:07 -07:00
db $40 ; flags
db 04, 00 ; start coords
db 11, 15 ; end coords
dw CoinVendor_MenuData2
2013-09-07 12:30:07 -07:00
db 1 ; default option
; 0xbce5c
CoinVendor_MenuData2: ; 0xbce5c
2013-09-07 12:30:07 -07:00
db $80 ; flags
db 3 ; items
db " 50 : ¥1000@"
db "500 : ¥10000@"
db "CANCEL@"
; 0xbce7f
2015-06-24 18:26:24 -07:00
HappinessCheckScript:
2013-09-07 12:30:07 -07:00
faceplayer
loadfont
special GetFirstPokemonHappiness
2015-06-24 18:26:24 -07:00
if_less_than 50, .Unhappy
if_less_than 150, .KindaHappy
farwritetext HappinessText3
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.KindaHappy
farwritetext HappinessText2
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2015-06-24 18:26:24 -07:00
.Unhappy
farwritetext HappinessText1
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
Movement_ContestResults_WalkAfterWarp: ; bcea1
2013-09-07 12:30:07 -07:00
step_right
step_down
turn_head_up
step_end
; bcea5