pokecrystal-board/engine/events/std_scripts.asm

1915 lines
40 KiB
NASM
Raw Normal View History

2015-06-26 23:17:10 -07:00
StdScripts::
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
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
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 TrainerRankings_Healings
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
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
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
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
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:
2015-12-09 15:25:44 -08:00
opentext
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:
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
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:
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
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
.Monday:
2015-06-23 13:29:06 -07:00
stringtotext .MondayText, 0
2013-09-07 12:30:07 -07:00
end
.Tuesday:
2015-06-23 13:29:06 -07:00
stringtotext .TuesdayText, 0
2013-09-07 12:30:07 -07:00
end
.Wednesday:
2015-06-23 13:29:06 -07:00
stringtotext .WednesdayText, 0
2013-09-07 12:30:07 -07:00
end
.Thursday:
2015-06-23 13:29:06 -07:00
stringtotext .ThursdayText, 0
2013-09-07 12:30:07 -07:00
end
.Friday:
2015-06-23 13:29:06 -07:00
stringtotext .FridayText, 0
2013-09-07 12:30:07 -07:00
end
.Saturday:
2015-06-23 13:29:06 -07:00
stringtotext .SaturdayText, 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, $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
2015-12-09 15:25:44 -08:00
opentext
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
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
; 0xbc2b1
BugContestResults_ReturnAfterWinnersPrize ; 0xbc2b1
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
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
setscene $0
setmapscene 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
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
; 0xbc35f
BugContestResults_NoRoomForEverstone ; 0xbc35f
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
; 0xbc36a
BugContestResults_NoRoomForGoldBerry ; 0xbc36a
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
; 0xbc375
BugContestResults_NoRoomForBerry ; 0xbc375
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
; 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_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
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_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
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
.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
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
.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
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
.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
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
.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
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
.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
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
.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
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:
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
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
.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
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal 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
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
.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
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
.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
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
.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
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
.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
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
.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
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
.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
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal 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
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
.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
if_equal 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:
2013-09-07 12:30:07 -07:00
mapnametotext $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:
2013-09-07 12:30:07 -07:00
mapnametotext $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: ; 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_DAY_CARE_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
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
; 0xbcde0
CoinVendor_IntroScript: ; 0xbcde0
farwritetext CoinVendor_IntroText
.loop ; 0xbcde4
2015-10-16 10:35:43 -07:00
special Special_DisplayMoneyAndCoinBalance
2015-12-28 14:09:53 -08:00
loadmenudata .MenuDataHeader
2015-12-15 15:59:49 -08:00
verticalmenu
closewindow
2015-12-28 14:09:53 -08:00
if_equal $1, .Buy50
if_equal $2, .Buy500
jump .Cancel
2013-09-07 12:30:07 -07:00
; 0xbcdf7
2015-12-28 14:09:53 -08:00
.Buy50: ; 0xbcdf7
2013-09-07 12:30:07 -07:00
checkcoins 9949
2015-12-28 14:09:53 -08:00
if_equal $0, .CoinCaseFull
2013-09-07 12:30:07 -07:00
checkmoney $0, 1000
2015-12-28 14:09:53 -08:00
if_equal $2, .NotEnoughMoney
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
2015-12-28 14:09:53 -08:00
jump .loop
2013-09-07 12:30:07 -07:00
; 0xbce1b
2015-12-28 14:09:53 -08:00
.Buy500: ; 0xbce1b
2013-09-07 12:30:07 -07:00
checkcoins 9499
2015-12-28 14:09:53 -08:00
if_equal $0, .CoinCaseFull
2013-09-07 12:30:07 -07:00
checkmoney $0, 10000
2015-12-28 14:09:53 -08:00
if_equal $2, .NotEnoughMoney
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
2015-12-28 14:09:53 -08:00
jump .loop
2013-09-07 12:30:07 -07:00
; 0xbce3f
2015-12-28 14:09:53 -08:00
.NotEnoughMoney: ; 0xbce3f
farwritetext CoinVendor_NotEnoughMoneyText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce46
2015-12-28 14:09:53 -08:00
.CoinCaseFull: ; 0xbce46
farwritetext CoinVendor_CoinCaseFullText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce4d
2015-12-28 14:09:53 -08:00
.Cancel: ; 0xbce4d
farwritetext CoinVendor_CancelText
2015-11-25 07:16:29 -08:00
waitbutton
2013-09-07 12:30:07 -07:00
closetext
end
; 0xbce54
.MenuDataHeader:
2013-09-07 12:30:07 -07:00
db $40 ; flags
db 04, 00 ; start coords
db 11, 15 ; end coords
2015-12-28 14:09:53 -08:00
dw .MenuData2
2013-09-07 12:30:07 -07:00
db 1 ; default option
.MenuData2:
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
2015-12-09 15:25:44 -08:00
opentext
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
.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
Movement_ContestResults_WalkAfterWarp: ; bcea1
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
; bcea5