pokecrystal-board/engine/events/std_scripts.asm

1894 lines
39 KiB
NASM
Raw Normal View History

2015-06-26 23:17:10 -07:00
StdScripts::
2018-01-10 22:45:27 -08:00
; entries correspond to constants/std_constants.asm
dba PokecenterNurseScript
2015-11-03 16:43:47 -08:00
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
2015-11-03 16:43:47 -08:00
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
PokecenterNurseScript:
2015-06-26 23:17:10 -07:00
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
2013-09-07 12:30:07 -07:00
2015-12-09 15:25:44 -08:00
opentext
checktime MORN
2013-09-07 12:30:07 -07:00
iftrue .morn
checktime DAY
2013-09-07 12:30:07 -07:00
iftrue .day
checktime NITE
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
farwritetext NurseMornText
2015-11-29 19:29:45 -08:00
buttonsound
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.morn_comcenter
farwritetext PokeComNurseMornText
2015-11-29 19:29:45 -08:00
buttonsound
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
farwritetext NurseDayText
2015-11-29 19:29:45 -08:00
buttonsound
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.day_comcenter
farwritetext PokeComNurseDayText
2015-11-29 19:29:45 -08:00
buttonsound
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
farwritetext NurseNiteText
2015-11-29 19:29:45 -08:00
buttonsound
2015-06-26 23:17:10 -07:00
jump .ok
2013-09-07 12:30:07 -07:00
.nite_comcenter
farwritetext PokeComNurseNiteText
2015-11-29 19:29:45 -08:00
buttonsound
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
farwritetext NurseAskHealText
2013-09-07 12:30:07 -07:00
yesorno
2015-06-26 23:17:10 -07:00
iffalse .done
farwritetext NurseTakePokemonText
2013-09-07 12:30:07 -07:00
pause 20
special StubbedTrainerRankings_Healings
turnobject LAST_TALKED, LEFT
2013-09-07 12:30:07 -07:00
pause 10
special HealParty
playmusic MUSIC_NONE
2018-01-11 22:40:20 -08:00
writebyte HEALMACHINE_POKECENTER
special HealMachineAnim
2013-09-07 12:30:07 -07:00
pause 30
special RestartMapMusic
turnobject 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
2018-01-22 12:40:43 -08:00
checkflag ENGINE_CAUGHT_POKERUS
2015-06-26 23:17:10 -07:00
iftrue .no
special CheckPokerus
2013-09-07 12:30:07 -07:00
iftrue .pokerus
2015-06-26 23:17:10 -07:00
.no
farwritetext NurseReturnPokemonText
2013-09-07 12:30:07 -07:00
pause 20
2015-06-26 23:17:10 -07:00
.done
farwritetext NurseGoodbyeText
2015-06-26 23:17:10 -07:00
turnobject LAST_TALKED, UP
2013-09-07 12:30:07 -07:00
pause 10
turnobject 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
farwritetext NursePokerusText
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
farwritetext PokeComNursePokerusText
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
2018-01-22 12:40:43 -08:00
setflag ENGINE_CAUGHT_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:
2015-12-09 15:25:44 -08:00
opentext
farwritetext TownMapText
2015-11-25 07:16:29 -08:00
waitbutton
special OverworldTownMap
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:
2015-12-09 15:25:44 -08:00
opentext
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:
2015-12-09 15:25:44 -08:00
opentext
2015-12-28 14:09:53 -08:00
writebyte MAPRADIO_POKEMON_CHANNEL
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
2015-12-09 15:25:44 -08:00
opentext
2015-12-28 14:09:53 -08:00
writebyte MAPRADIO_LUCKY_CHANNEL
special MapRadio
2015-11-25 07:16:29 -08:00
closetext
2013-09-07 12:30:07 -07:00
end
TrashCanScript:
2015-06-23 14:02:58 -07:00
farjumptext TrashCanText
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
PCScript:
2015-12-09 15:25:44 -08:00
opentext
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
PokecenterSignScript:
farjumptext PokecenterSignText
2013-09-07 12:30:07 -07:00
MartSignScript:
2015-06-23 14:02:58 -07:00
farjumptext MartSignText
2013-09-07 12:30:07 -07:00
2015-06-24 18:26:24 -07:00
DayToTextScript:
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal MONDAY, .Monday
ifequal TUESDAY, .Tuesday
ifequal WEDNESDAY, .Wednesday
ifequal THURSDAY, .Thursday
ifequal FRIDAY, .Friday
ifequal SATURDAY, .Saturday
2018-01-11 22:40:20 -08:00
stringtotext .SundayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Monday:
2018-01-11 22:40:20 -08:00
stringtotext .MondayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Tuesday:
2018-01-11 22:40:20 -08:00
stringtotext .TuesdayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Wednesday:
2018-01-11 22:40:20 -08:00
stringtotext .WednesdayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Thursday:
2018-01-11 22:40:20 -08:00
stringtotext .ThursdayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Friday:
2018-01-11 22:40:20 -08:00
stringtotext .FridayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.Saturday:
2018-01-11 22:40:20 -08:00
stringtotext .SaturdayText, MEM_BUFFER_0
2013-09-07 12:30:07 -07:00
end
.SundayText:
2013-09-07 12:30:07 -07:00
db "SUNDAY@"
.MondayText:
2013-09-07 12:30:07 -07:00
db "MONDAY@"
.TuesdayText:
2013-09-07 12:30:07 -07:00
db "TUESDAY@"
.WednesdayText:
2013-09-07 12:30:07 -07:00
db "WEDNESDAY@"
.ThursdayText:
2013-09-07 12:30:07 -07:00
db "THURSDAY@"
.FridayText:
2013-09-07 12:30:07 -07:00
db "FRIDAY@"
.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
setmapscene MAHOGANY_TOWN, SCENE_FINISHED
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
2018-01-11 22:40:20 -08:00
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
2015-12-09 15:25:44 -08:00
opentext
farwritetext ContestResults_ReadyToJudgeText
2015-11-25 07:16:29 -08:00
waitbutton
special BugContestJudging
2018-01-11 22:40:20 -08:00
vartomem MEM_BUFFER_0
2018-02-02 18:09:17 -08:00
ifequal 1, BugContestResults_FirstPlace
ifequal 2, BugContestResults_SecondPlace
ifequal 3, BugContestResults_ThirdPlace
farwritetext ContestResults_ConsolationPrizeText
2015-11-29 19:29:45 -08:00
buttonsound
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
2015-11-29 19:29:45 -08:00
buttonsound
jump BugContestResults_FinishUp
2013-09-07 12:30:07 -07:00
BugContestResults_ReturnAfterWinnersPrize:
farwritetext ContestResults_JoinUsNextTimeText
2015-11-29 19:29:45 -08:00
buttonsound
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
2018-02-02 18:09:17 -08:00
ifequal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
ifequal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
2018-01-11 22:40:20 -08:00
; BUGCONTEST_BOXED_MON
farwritetext ContestResults_PartyFullText
2015-11-25 07:16:29 -08:00
waitbutton
BugContestResults_CleanUp:
2015-11-25 07:16:29 -08:00
closetext
setscene SCENE_ROUTE36NATIONALPARKGATE_NOTHING
setmapscene ROUTE_35_NATIONAL_PARK_GATE, SCENE_ROUTE35NATIONALPARKGATE_NOTHING
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
BugContestResults_FirstPlace:
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
2018-01-11 22:40:20 -08:00
itemtotext SUN_STONE, MEM_BUFFER_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
BugContestResults_SecondPlace:
2018-01-11 22:40:20 -08:00
itemtotext EVERSTONE, MEM_BUFFER_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
BugContestResults_ThirdPlace:
2018-01-11 22:40:20 -08:00
itemtotext GOLD_BERRY, MEM_BUFFER_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
BugContestResults_NoRoomForSunStone:
farwritetext BugContestPrizeNoRoomText
2015-11-29 19:29:45 -08:00
buttonsound
setevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
BugContestResults_NoRoomForEverstone:
farwritetext BugContestPrizeNoRoomText
2015-11-29 19:29:45 -08:00
buttonsound
setevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
BugContestResults_NoRoomForGoldBerry:
farwritetext BugContestPrizeNoRoomText
2015-11-29 19:29:45 -08:00
buttonsound
setevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 12:30:07 -07:00
BugContestResults_NoRoomForBerry:
farwritetext BugContestPrizeNoRoomText
2015-11-29 19:29:45 -08:00
buttonsound
setevent EVENT_CONTEST_OFFICER_HAS_BERRY
jump BugContestResults_DidNotWin
2013-09-07 12:30:07 -07:00
BugContestResults_CopyContestantsToResults:
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_GOLDENROD_UNDERGROUND
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
2018-01-22 16:10:09 -08:00
setevent EVENT_PLAYERS_HOUSE_2F_CONSOLE
setevent EVENT_PLAYERS_HOUSE_2F_DOLL_1
setevent EVENT_PLAYERS_HOUSE_2F_DOLL_2
setevent EVENT_PLAYERS_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_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
setevent EVENT_GOLDENROD_UNDERGROUND_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
2018-01-22 16:10:09 -08:00
setevent EVENT_PLAYERS_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
2018-01-22 16:10:09 -08:00
setevent EVENT_PLAYERS_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
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
2013-09-07 12:30:07 -07:00
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Irwin:
2015-06-24 18:26:24 -07:00
farwritetext IrwinAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArnieAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
2013-09-07 12:30:07 -07:00
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Irwin:
2015-06-24 18:26:24 -07:00
farwritetext IrwinAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArnieAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
NumberAcceptedMScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Irwin:
2015-06-24 18:26:24 -07:00
farwritetext IrwinNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArnieNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Irwin:
2015-06-24 18:26:24 -07:00
farwritetext IrwinNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArnieNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JosePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Irwin:
2015-06-24 18:26:24 -07:00
farwritetext IrwinPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArniePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VancePhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
2015-06-24 18:26:24 -07:00
farwritetext JackRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gaven:
2015-06-24 18:26:24 -07:00
farwritetext GavenRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Ralph:
2015-06-24 18:26:24 -07:00
farwritetext RalphRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Anthony:
2015-06-24 18:26:24 -07:00
farwritetext AnthonyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Todd:
2015-06-24 18:26:24 -07:00
farwritetext ToddRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Arnie:
2015-06-24 18:26:24 -07:00
farwritetext ArnieRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Chad:
2015-06-24 18:26:24 -07:00
farwritetext ChadRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Brent:
2015-06-24 18:26:24 -07:00
farwritetext BrentRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Parry:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
2015-06-24 18:26:24 -07:00
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JoseGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadeGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
PackFullMScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Jose:
2015-06-24 18:26:24 -07:00
farwritetext JosePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wade:
2015-06-24 18:26:24 -07:00
farwritetext WadePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Alan:
2015-06-24 18:26:24 -07:00
farwritetext AlanPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Derek:
2015-06-24 18:26:24 -07:00
farwritetext DerekPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tully:
2015-06-24 18:26:24 -07:00
farwritetext TullyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VancePackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Wilton:
2015-06-24 18:26:24 -07:00
farwritetext WiltonPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Kenji:
2015-06-24 18:26:24 -07:00
farwritetext KenjiPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Parry:
2015-06-24 18:26:24 -07:00
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:
2015-12-09 15:25:44 -08:00
opentext
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_HIKER_PARRY, .Parry
.Huey:
2015-06-24 18:26:24 -07:00
farwritetext HueyRematchGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Joey:
2015-06-24 18:26:24 -07:00
farwritetext JoeyRematchGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Vance:
2015-06-24 18:26:24 -07:00
farwritetext VanceRematchGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Parry:
2015-06-24 18:26:24 -07:00
farwritetext ParryRematchGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
AskNumber1FScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyAskNumber1Text
2013-09-07 12:30:07 -07:00
end
.Erin:
2015-06-24 18:26:24 -07:00
farwritetext ErinAskNumber1Text
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
AskNumber2FScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyAskNumber2Text
2013-09-07 12:30:07 -07:00
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
NumberAcceptedFScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyNumberAcceptedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyNumberDeclinedText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyPhoneFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beth:
2015-06-24 18:26:24 -07:00
farwritetext BethRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Reena:
2015-06-24 18:26:24 -07:00
farwritetext ReenaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Liz:
2015-06-24 18:26:24 -07:00
farwritetext LizRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyRematchText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
PackFullFScript:
checkcode VAR_CALLERID
2018-02-02 18:09:17 -08:00
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
2015-06-24 18:26:24 -07:00
farwritetext BeverlyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Gina:
2015-06-24 18:26:24 -07:00
farwritetext GinaPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Dana:
2015-06-24 18:26:24 -07:00
farwritetext DanaPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Tiffany:
2015-06-24 18:26:24 -07:00
farwritetext TiffanyPackFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Erin:
2015-06-24 18:26:24 -07:00
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
2018-02-02 18:09:17 -08:00
ifequal PHONE_PICNICKER_ERIN, .Erin
2015-06-24 18:26:24 -07:00
.Erin:
2015-12-09 15:25:44 -08:00
opentext
2015-06-24 18:26:24 -07:00
farwritetext ErinRematchGiftText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
end
2015-06-24 18:26:24 -07:00
GymStatue1Script:
2018-01-11 22:40:20 -08:00
mapnametotext MEM_BUFFER_0
2015-12-09 15:25:44 -08:00
opentext
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:
2018-01-11 22:40:20 -08:00
mapnametotext MEM_BUFFER_0
2015-12-09 15:25:44 -08:00
opentext
farwritetext GymStatue_CityGymText
2015-11-29 19:29:45 -08:00
buttonsound
farwritetext GymStatue_WinningTrainersText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
ReceiveItemScript:
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
ReceiveTogepiEggScript:
2015-11-25 07:16:29 -08:00
waitsfx
farwritetext ReceivedItemText
playsound SFX_GET_EGG_FROM_DAY_CARE_LADY
2015-11-25 07:16:29 -08:00
waitsfx
2013-09-07 12:30:07 -07:00
end
GameCornerCoinVendorScript:
2013-09-07 12:30:07 -07:00
faceplayer
2015-12-09 15:25:44 -08:00
opentext
farwritetext CoinVendor_WelcomeText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-07 12:30:07 -07:00
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
CoinVendor_IntroScript:
farwritetext CoinVendor_IntroText
.loop
special DisplayMoneyAndCoinBalance
loadmenu .MenuHeader
2015-12-15 15:59:49 -08:00
verticalmenu
closewindow
2018-02-02 18:09:17 -08:00
ifequal 1, .Buy50
ifequal 2, .Buy500
2015-12-28 14:09:53 -08:00
jump .Cancel
2013-09-07 12:30:07 -07:00
.Buy50:
2018-01-10 22:45:27 -08:00
checkcoins MAX_COINS - 50
2018-02-02 18:09:17 -08:00
ifequal HAVE_MORE, .CoinCaseFull
2018-01-11 22:40:20 -08:00
checkmoney YOUR_MONEY, 1000
2018-02-02 18:09:17 -08:00
ifequal HAVE_LESS, .NotEnoughMoney
2013-09-07 12:30:07 -07:00
givecoins 50
2018-01-11 22:40:20 -08:00
takemoney YOUR_MONEY, 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
2015-12-28 14:09:53 -08:00
jump .loop
2013-09-07 12:30:07 -07:00
.Buy500:
2018-01-10 22:45:27 -08:00
checkcoins MAX_COINS - 500
2018-02-02 18:09:17 -08:00
ifequal HAVE_MORE, .CoinCaseFull
2018-01-11 22:40:20 -08:00
checkmoney YOUR_MONEY, 10000
2018-02-02 18:09:17 -08:00
ifequal HAVE_LESS, .NotEnoughMoney
2013-09-07 12:30:07 -07:00
givecoins 500
2018-01-11 22:40:20 -08:00
takemoney YOUR_MONEY, 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
2015-12-28 14:09:53 -08:00
jump .loop
2013-09-07 12:30:07 -07:00
.NotEnoughMoney:
farwritetext CoinVendor_NotEnoughMoneyText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.CoinCaseFull:
farwritetext CoinVendor_CoinCaseFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Cancel:
farwritetext CoinVendor_CancelText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.MenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 4, 15, TEXTBOX_Y - 1
dw .MenuData
2013-09-07 12:30:07 -07:00
db 1 ; default option
.MenuData:
db STATICMENU_CURSOR ; flags
2013-09-07 12:30:07 -07:00
db 3 ; items
db " 50 : ¥1000@"
db "500 : ¥10000@"
db "CANCEL@"
2015-06-24 18:26:24 -07:00
HappinessCheckScript:
2013-09-07 12:30:07 -07:00
faceplayer
2015-12-09 15:25:44 -08:00
opentext
special GetFirstPokemonHappiness
2018-02-02 18:09:17 -08:00
ifless 50, .Unhappy
ifless 150, .KindaHappy
2015-06-24 18:26:24 -07:00
farwritetext HappinessText3
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.KindaHappy:
2015-06-24 18:26:24 -07:00
farwritetext HappinessText2
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
.Unhappy:
2015-06-24 18:26:24 -07:00
farwritetext HappinessText1
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
2018-06-24 07:09:41 -07:00
Movement_ContestResults_WalkAfterWarp:
2016-05-14 10:46:14 -07:00
step RIGHT
step DOWN
turn_head UP
2013-09-07 12:30:07 -07:00
step_end