pokecrystal-board/engine/std_scripts.asm

1917 lines
42 KiB
NASM
Raw Normal View History

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