pokecrystal/engine/std_scripts.asm

1917 lines
38 KiB
NASM
Raw Normal View History

2015-06-27 06:17:10 +00:00
StdScripts::
2013-09-07 19:30:07 +00: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 21:02:58 +00:00
dbw BANK(Radio1Script), Radio1Script
dbw BANK(Radio2Script), Radio2Script
dbw BANK(TrashCanScript), TrashCanScript
2015-06-25 01:26:24 +00:00
dbw BANK(StrengthBoulderScript), StrengthBoulderScript
dbw BANK(SmashRockScript), SmashRockScript
2015-06-23 21:02:58 +00:00
dbw BANK(PokeCenterSignScript), PokeCenterSignScript
dbw BANK(MartSignScript), MartSignScript
2015-06-25 01:26:24 +00:00
dbw BANK(GoldenrodRocketsScript), GoldenrodRocketsScript
dbw BANK(RadioTowerRocketsScript), RadioTowerRocketsScript
2015-06-23 21:02:58 +00:00
dbw BANK(ElevatorButtonScript), ElevatorButtonScript
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
dbw BANK(PCScript), PCScript
dbw BANK(GameCornerCoinVendorScript), GameCornerCoinVendorScript
2015-06-25 01:26:24 +00:00
dbw BANK(HappinessCheckScript), HappinessCheckScript
2013-09-07 19:30:07 +00:00
2015-06-27 06:17:10 +00:00
PokeCenterNurseScript:
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
2013-09-07 19:30:07 +00:00
loadfont
checkmorn
2013-09-07 19:30:07 +00:00
iftrue .morn
checkday
2013-09-07 19:30:07 +00:00
iftrue .day
checknite
2013-09-07 19:30:07 +00:00
iftrue .nite
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.morn
2015-06-27 06:17:10 +00:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 19:30:07 +00:00
iftrue .morn_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b0000
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.morn_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b008a
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.day
2015-06-27 06:17:10 +00:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 19:30:07 +00:00
iftrue .day_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b002b
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.day_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b00d6
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.nite
2015-06-27 06:17:10 +00:00
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 19:30:07 +00:00
iftrue .nite_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b004f
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
2013-09-07 19:30:07 +00:00
.nite_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b011b
2013-09-07 19:30:07 +00:00
keeptextopen
2015-06-27 06:17:10 +00:00
jump .ok
.ok
; only do this once
clearevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 19:30:07 +00:00
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b017a
2013-09-07 19:30:07 +00:00
yesorno
2015-06-27 06:17:10 +00:00
iffalse .done
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b01bd
2013-09-07 19:30:07 +00:00
pause 20
special Mobile_HealParty
2015-06-27 06:17:10 +00:00
spriteface $fe, LEFT
2013-09-07 19:30:07 +00:00
pause 10
special HealParty
playmusic MUSIC_NONE
writebyte 0 ; Machine is at a Pokemon Center
special HealMachineAnim
2013-09-07 19:30:07 +00:00
pause 30
special RestartMapMusic
2015-06-27 06:17:10 +00:00
spriteface $fe, DOWN
2013-09-07 19:30:07 +00:00
pause 10
2015-06-27 06:17:10 +00:00
checkphonecall ; elm already called about pokerus
iftrue .no
checkflag ENGINE_POKERUS ; nurse already talked about pokerus
iftrue .no
special SpecialCheckPokerus
2013-09-07 19:30:07 +00:00
iftrue .pokerus
2015-06-27 06:17:10 +00:00
.no
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b01d7
2013-09-07 19:30:07 +00:00
pause 20
2015-06-27 06:17:10 +00:00
.done
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b020b
2015-06-27 06:17:10 +00:00
spriteface $fe, UP
2013-09-07 19:30:07 +00:00
pause 10
2015-06-27 06:17:10 +00:00
spriteface $fe, DOWN
2013-09-07 19:30:07 +00:00
pause 10
2015-06-27 06:17:10 +00:00
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
.pokerus
2015-06-27 06:17:10 +00:00
; already cleared earlier in the script
checkevent EVENT_WELCOMED_TO_POKECOM_CENTER
2013-09-07 19:30:07 +00:00
iftrue .pokerus_comcenter
2015-06-27 06:17:10 +00:00
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b0241
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
2015-06-27 06:17:10 +00:00
jump .pokerus_done
2013-09-07 19:30:07 +00:00
.pokerus_comcenter
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b02d6
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
2015-06-27 06:17:10 +00:00
.pokerus_done
setflag ENGINE_POKERUS
specialphonecall 1 ; elm calls about pokerus
2013-09-07 19:30:07 +00:00
end
DifficultBookshelfScript:
farjumptext DifficultBookshelfText
2013-09-07 19:30:07 +00:00
PictureBookshelfScript:
farjumptext PictureBookshelfText
2013-09-07 19:30:07 +00:00
MagazineBookshelfScript:
farjumptext MagazineBookshelfText
2013-09-07 19:30:07 +00:00
TeamRocketOathScript:
farjumptext TeamRocketOathText
2013-09-07 19:30:07 +00:00
IncenseBurnerScript:
farjumptext IncenseBurnerText
2013-09-07 19:30:07 +00:00
MerchandiseShelfScript:
farjumptext MerchandiseShelfText
2013-09-07 19:30:07 +00:00
TownMapScript:
2013-09-07 19:30:07 +00:00
loadfont
farwritetext TownMapText
2013-09-07 19:30:07 +00:00
closetext
special Functionc2c0
2013-09-07 19:30:07 +00:00
loadmovesprites
end
WindowScript:
farjumptext WindowText
2013-09-07 19:30:07 +00:00
TVScript:
2013-09-07 19:30:07 +00:00
loadfont
farwritetext TVText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
HomepageScript:
farjumptext HomepageText
2013-09-07 19:30:07 +00:00
2015-06-23 21:02:58 +00:00
Radio1Script:
2013-09-07 19:30:07 +00:00
loadfont
writebyte $0
special Functionc355
2013-09-07 19:30:07 +00:00
loadmovesprites
end
2015-06-23 21:02:58 +00:00
Radio2Script:
; Lucky Channel
2013-09-07 19:30:07 +00:00
loadfont
writebyte $4
special Functionc355
2013-09-07 19:30:07 +00:00
loadmovesprites
end
2015-06-23 21:02:58 +00:00
TrashCanScript: ; 0xbc1a5
farjumptext TrashCanText
2013-09-07 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
PCScript:
2013-09-07 19:30:07 +00:00
loadfont
special Function1559a
2013-09-07 19:30:07 +00:00
loadmovesprites
end
2015-06-23 21:02:58 +00:00
ElevatorButtonScript:
playsound SFX_READ_TEXT_2
2013-09-07 19:30:07 +00:00
pause 15
playsound SFX_ELEVATOR_END
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
StrengthBoulderScript:
2015-06-23 21:02:58 +00:00
farjump AskStrengthScript
2013-09-07 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
SmashRockScript:
2015-01-20 08:01:23 +00:00
farjump AskRockSmashScript
2013-09-07 19:30:07 +00:00
2015-06-23 21:02:58 +00:00
PokeCenterSignScript:
farjumptext PokeCenterSignText
2013-09-07 19:30:07 +00:00
2015-06-23 21:02:58 +00:00
MartSignScript
farjumptext MartSignText
2013-09-07 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
DayToTextScript:
checkcode VAR_WEEKDAY
2015-06-23 20:29:06 +00: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 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Monday
stringtotext .MondayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Tuesday
stringtotext .TuesdayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Wednesday
stringtotext .WednesdayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Thursday
stringtotext .ThursdayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Friday
stringtotext .FridayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.Saturday
stringtotext .SaturdayText, 0
2013-09-07 19:30:07 +00:00
end
2015-06-23 20:29:06 +00:00
.SundayText
2013-09-07 19:30:07 +00:00
db "SUNDAY@"
2015-06-23 20:29:06 +00:00
.MondayText
2013-09-07 19:30:07 +00:00
db "MONDAY@"
2015-06-23 20:29:06 +00:00
.TuesdayText
2013-09-07 19:30:07 +00:00
db "TUESDAY@"
2015-06-23 20:29:06 +00:00
.WednesdayText
2013-09-07 19:30:07 +00:00
db "WEDNESDAY@"
2015-06-23 20:29:06 +00:00
.ThursdayText
2013-09-07 19:30:07 +00:00
db "THURSDAY@"
2015-06-23 20:29:06 +00:00
.FridayText
2013-09-07 19:30:07 +00:00
db "FRIDAY@"
2015-06-23 20:29:06 +00:00
.SaturdayText
2013-09-07 19:30:07 +00:00
db "SATURDAY@"
2015-06-25 01:26:24 +00:00
GoldenrodRocketsScript:
clearevent EVENT_6CD
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
RadioTowerRocketsScript:
2015-07-10 12:12:28 +00:00
setflag ENGINE_ROCKETS_IN_RADIO_TOWER
setevent EVENT_6CF
setevent EVENT_6D1
clearevent EVENT_6CE
clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent EVENT_756
2013-09-07 19:30:07 +00:00
specialphonecall $0004
domaptrigger GROUP_MAHOGANY_TOWN, MAP_MAHOGANY_TOWN, $1
end
2015-06-25 01:26:24 +00:00
BugContestResultsWarpScript:
special WhiteBGMap
scall BugContestResults_EnsureNoDuplicateSprites
setevent EVENT_747
clearevent EVENT_748
setevent EVENT_2D2
2013-09-07 19:30:07 +00:00
warp GROUP_ROUTE_36_NATIONAL_PARK_GATE, MAP_ROUTE_36_NATIONAL_PARK_GATE, $0, $4
applymovement $0, Movement_ContestResults_WalkAfterWarp
2013-09-07 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
BugContestResultsScript:
clearflag ENGINE_BUG_CONTEST_TIMER
clearevent EVENT_2D2
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 19:30:07 +00:00
loadfont
farwritetext ContestResults_ReadyToJudgeText
2013-09-07 19:30:07 +00:00
closetext
special BugContestJudging
2013-09-07 19:30:07 +00:00
RAM2MEM $0
if_equal 1, BugContestResults_FirstPlace
if_equal 2, BugContestResults_SecondPlace
if_equal 3, BugContestResults_ThirdPlace
farwritetext ContestResults_ConsolationPrizeText
2013-09-07 19:30:07 +00:00
keeptextopen
waitbutton
verbosegiveitem BERRY, 1
iffalse BugContestResults_NoRoomForBerry
BugContestResults_DidNotWin
farwritetext ContestResults_DidNotWinText
2013-09-07 19:30:07 +00:00
keeptextopen
jump BugContestResults_FinishUp
2013-09-07 19:30:07 +00:00
; 0xbc2b1
BugContestResults_ReturnAfterWinnersPrize ; 0xbc2b1
farwritetext ContestResults_JoinUsNextTimeText
2013-09-07 19:30:07 +00:00
keeptextopen
BugContestResults_FinishUp
checkevent EVENT_LEFT_MONS_WITH_CONTEST_OFFICER
iffalse BugContestResults_DidNotLeaveMons
farwritetext ContestResults_ReturnPartyText
2013-09-07 19:30:07 +00:00
closetext
special ContestReturnMons
BugContestResults_DidNotLeaveMons
special CheckPartyFullAfterContest
if_equal $0, BugContestResults_CleanUp
if_equal $2, BugContestResults_CleanUp
farwritetext ContestResults_PartyFullText
2013-09-07 19:30:07 +00:00
closetext
BugContestResults_CleanUp
2013-09-07 19:30:07 +00:00
loadmovesprites
dotrigger $0
domaptrigger GROUP_ROUTE_35_NATIONAL_PARK_GATE, MAP_ROUTE_35_NATIONAL_PARK_GATE, $0
setevent EVENT_716
setevent EVENT_717
setevent EVENT_718
setevent EVENT_719
setevent EVENT_71A
setevent EVENT_71B
setevent EVENT_71C
setevent EVENT_71D
setevent EVENT_71E
setevent EVENT_71F
setevent EVENT_720
setevent EVENT_721
setevent EVENT_722
setevent EVENT_723
setevent EVENT_724
setevent EVENT_725
setevent EVENT_726
setevent EVENT_727
setevent EVENT_728
setevent EVENT_729
setflag ENGINE_DAILY_BUG_CONTEST
special PlayMapMusic
2013-09-07 19:30:07 +00:00
end
; 0xbc31e
BugContestResults_FirstPlace ; 0xbc31e
setevent EVENT_000
2013-09-07 19:30:07 +00:00
itemtotext SUN_STONE, $1
farwritetext ContestResults_PlayerWonAPrizeText
2013-09-07 19:30:07 +00:00
closetext
verbosegiveitem SUN_STONE, 1
iffalse BugContestResults_NoRoomForSunStone
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc332
BugContestResults_SecondPlace ; 0xbc332
2013-09-07 19:30:07 +00:00
itemtotext EVERSTONE, $1
farwritetext ContestResults_PlayerWonAPrizeText
2013-09-07 19:30:07 +00:00
closetext
verbosegiveitem EVERSTONE, 1
iffalse BugContestResults_NoRoomForEverstone
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc343
BugContestResults_ThirdPlace ; 0xbc343
2013-09-07 19:30:07 +00:00
itemtotext GOLD_BERRY, $1
farwritetext ContestResults_PlayerWonAPrizeText
2013-09-07 19:30:07 +00:00
closetext
verbosegiveitem GOLD_BERRY, 1
iffalse BugContestResults_NoRoomForGoldBerry
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc354
BugContestResults_NoRoomForSunStone ; 0xbc354
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b08cc
2013-09-07 19:30:07 +00:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc35f
BugContestResults_NoRoomForEverstone ; 0xbc35f
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b08cc
2013-09-07 19:30:07 +00:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc36a
BugContestResults_NoRoomForGoldBerry ; 0xbc36a
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b08cc
2013-09-07 19:30:07 +00:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
jump BugContestResults_ReturnAfterWinnersPrize
2013-09-07 19:30:07 +00:00
; 0xbc375
BugContestResults_NoRoomForBerry ; 0xbc375
2015-01-20 08:01:23 +00:00
farwritetext UnknownText_0x1b08cc
2013-09-07 19:30:07 +00:00
keeptextopen
setevent EVENT_CONTEST_OFFICER_HAS_BERRY
jump BugContestResults_DidNotWin
2013-09-07 19:30:07 +00:00
; 0xbc380
BugContestResults_EnsureNoDuplicateSprites ; 0xbc380
checkevent EVENT_716
2013-09-07 19:30:07 +00:00
iftrue .skip1
clearevent EVENT_720
2013-09-07 19:30:07 +00:00
.skip1
checkevent EVENT_717
2013-09-07 19:30:07 +00:00
iftrue .skip2
clearevent EVENT_721
2013-09-07 19:30:07 +00:00
.skip2
checkevent EVENT_718
2013-09-07 19:30:07 +00:00
iftrue .skip3
clearevent EVENT_722
2013-09-07 19:30:07 +00:00
.skip3
checkevent EVENT_719
2013-09-07 19:30:07 +00:00
iftrue .skip4
clearevent EVENT_723
2013-09-07 19:30:07 +00:00
.skip4
checkevent EVENT_71A
2013-09-07 19:30:07 +00:00
iftrue .skip5
clearevent EVENT_724
2013-09-07 19:30:07 +00:00
.skip5
checkevent EVENT_71B
2013-09-07 19:30:07 +00:00
iftrue .skip6
clearevent EVENT_725
2013-09-07 19:30:07 +00:00
.skip6
checkevent EVENT_71C
2013-09-07 19:30:07 +00:00
iftrue .skip7
clearevent EVENT_726
2013-09-07 19:30:07 +00:00
.skip7
checkevent EVENT_71D
2013-09-07 19:30:07 +00:00
iftrue .skip8
clearevent EVENT_727
2013-09-07 19:30:07 +00:00
.skip8
checkevent EVENT_71E
2013-09-07 19:30:07 +00:00
iftrue .skip9
clearevent EVENT_728
2013-09-07 19:30:07 +00:00
.skip9
checkevent EVENT_71F
2013-09-07 19:30:07 +00:00
iftrue .skip10
clearevent EVENT_729
2013-09-07 19:30:07 +00:00
.skip10
end
2015-06-25 01:26:24 +00:00
InitializeEventsScript:
setevent EVENT_6CB
setevent EVENT_6CE
setevent EVENT_6CD
setevent EVENT_6D0
setevent EVENT_6F3
setevent EVENT_6E9
setevent EVENT_6F4
setevent EVENT_6D5
setevent EVENT_6DE
setevent EVENT_6DD
setevent EVENT_6DF
setevent EVENT_6C0
setevent EVENT_6E4
setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent EVENT_6BE
setevent EVENT_6BF
setevent EVENT_6C1
setevent EVENT_6F9
setevent EVENT_6FD
setevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
setevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
setevent EVENT_702
setevent EVENT_703
setevent EVENT_704
setevent EVENT_BOULDER_IN_ICE_PATH_1
setevent EVENT_BOULDER_IN_ICE_PATH_2
setevent EVENT_BOULDER_IN_ICE_PATH_3
setevent EVENT_BOULDER_IN_ICE_PATH_4
setevent EVENT_715
setevent EVENT_716
setevent EVENT_717
setevent EVENT_718
setevent EVENT_719
setevent EVENT_71A
setevent EVENT_71B
setevent EVENT_71C
setevent EVENT_71D
setevent EVENT_71E
setevent EVENT_71F
setevent EVENT_720
setevent EVENT_721
setevent EVENT_722
setevent EVENT_723
setevent EVENT_724
setevent EVENT_725
setevent EVENT_726
setevent EVENT_727
setevent EVENT_728
setevent EVENT_729
setevent EVENT_72C
setevent EVENT_72F
setevent EVENT_72D
setevent EVENT_735
setevent EVENT_736
setevent EVENT_73C
setevent EVENT_73D
setevent EVENT_741
setevent EVENT_742
setevent EVENT_743
setevent EVENT_744
setevent EVENT_2A4
setevent EVENT_2AF
setevent EVENT_749
setevent EVENT_6D3
setevent EVENT_74D
setevent EVENT_MET_BILL
setevent EVENT_713
setevent EVENT_711
setevent EVENT_6D4
setevent EVENT_WAREHOUSE_LAYOUT_1
setevent EVENT_WAREHOUSE_BLOCKED_OFF
setevent EVENT_6D8
setevent EVENT_6C3
setevent EVENT_6C2
setevent EVENT_6C6
setevent EVENT_75F
setevent EVENT_731
setevent EVENT_74A
setevent EVENT_RED_IN_MT_SILVER
setevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
setevent EVENT_73A
setevent EVENT_73B
setevent EVENT_733
setevent EVENT_73F
setevent EVENT_78D
setevent EVENT_766
setevent EVENT_768
setevent EVENT_FLORIA_AT_SUDOWOODO
setevent EVENT_76A
setevent EVENT_78E
setevent EVENT_78F
setevent EVENT_790
setevent EVENT_791
setevent EVENT_793
setevent EVENT_7A4
setevent EVENT_7A4
setevent EVENT_7A5
setevent EVENT_6EC
setevent EVENT_6ED
setevent EVENT_6F0
setevent EVENT_7A9
2015-07-10 12:08:03 +00:00
setevent EVENT_EUSINE_IN_BURNED_TOWER
setevent EVENT_6C8
setevent EVENT_7AC
setevent EVENT_7AD
setevent EVENT_7B5
setevent EVENT_7B6
setevent EVENT_7C5
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_7CF
2015-06-25 03:20:04 +00: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_76D
setevent EVENT_76C
setevent EVENT_76E
setevent EVENT_TRAINERS_IN_CERULEAN_GYM
setevent EVENT_773
setevent EVENT_776
setevent EVENT_777
setevent EVENT_779
setevent EVENT_772
setevent EVENT_77B
setevent EVENT_036
2013-09-07 19:30:07 +00:00
return
2015-06-25 01:26:24 +00: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 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
.Jack
farwritetext JackAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JoseAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Irwin
farwritetext IrwinAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArnieAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00: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 19:30:07 +00:00
2015-06-25 01:26:24 +00:00
.Jack
farwritetext JackAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JoseAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Irwin
farwritetext IrwinAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArnieAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
RegisteredNumberMScript:
farwritetext RegisteredNumber1Text
playsound SFX_REGISTER_PHONE_NUMBER
2013-09-07 19:30:07 +00:00
waitbutton
keeptextopen
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Jack
farwritetext JackNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JoseNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Irwin
farwritetext IrwinNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArnieNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Jack
farwritetext JackNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JoseNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Irwin
farwritetext IrwinNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArnieNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Jack
farwritetext JackPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JosePhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadePhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Irwin
farwritetext IrwinPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArniePhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VancePhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Jack
farwritetext JackRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Huey
farwritetext HueyRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gaven
farwritetext GavenRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JoseRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Ralph
farwritetext RalphRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Anthony
farwritetext AnthonyRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Todd
farwritetext ToddRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Arnie
farwritetext ArnieRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Chad
farwritetext ChadRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Brent
farwritetext BrentRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Jose
farwritetext JoseGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadeGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Huey
farwritetext HueyPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Jose
farwritetext JosePackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wade
farwritetext WadePackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Alan
farwritetext AlanPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Derek
farwritetext DerekPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tully
farwritetext TullyPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VancePackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Wilton
farwritetext WiltonPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Kenji
farwritetext KenjiPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
RematchGiftMScript:
2013-09-07 19:30:07 +00: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-25 01:26:24 +00:00
.Huey
farwritetext HueyRematchGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Joey
farwritetext JoeyRematchGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Vance
farwritetext VanceRematchGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Parry
farwritetext ParryRematchGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Beth
farwritetext BethAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinAskNumber1Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Beth
farwritetext BethAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinAskNumber2Text
2013-09-07 19:30:07 +00:00
end
2015-06-25 01:26:24 +00:00
RegisteredNumberFScript:
farwritetext RegisteredNumber2Text
playsound SFX_REGISTER_PHONE_NUMBER
2013-09-07 19:30:07 +00:00
waitbutton
keeptextopen
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Beth
farwritetext BethNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinNumberAcceptedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Beth
farwritetext BethNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinNumberDeclinedText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Beth
farwritetext BethPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinPhoneFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beth
farwritetext BethRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Reena
farwritetext ReenaRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Liz
farwritetext LizRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinRematchText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00: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-25 01:26:24 +00:00
.Beverly
farwritetext BeverlyPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Gina
farwritetext GinaPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Dana
farwritetext DanaPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Tiffany
farwritetext TiffanyPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Erin
farwritetext ErinPackFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
RematchGiftFScript:
checkcode VAR_CALLERID
if_equal PHONE_PICNICKER_ERIN, .Erin
2015-06-25 01:26:24 +00:00
.Erin
2013-09-07 19:30:07 +00:00
loadfont
2015-06-25 01:26:24 +00:00
farwritetext ErinRematchGiftText
2013-09-07 19:30:07 +00:00
keeptextopen
end
2015-06-25 01:26:24 +00:00
GymStatue1Script:
2013-09-07 19:30:07 +00:00
mapnametotext $0
loadfont
farwritetext GymStatue_CityGymText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
GymStatue2Script:
2013-09-07 19:30:07 +00:00
mapnametotext $0
loadfont
farwritetext GymStatue_CityGymText
2013-09-07 19:30:07 +00:00
keeptextopen
farwritetext GymStatue_WinningTrainersText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
ReceiveItemScript: ; 0xbcdb9
2013-09-07 19:30:07 +00:00
waitbutton
farwritetext ReceivedItemText
playsound SFX_ITEM
2013-09-07 19:30:07 +00:00
waitbutton
end
; 0xbcdc3
ReceiveTogepiEggScript: ; 0xbcdc3
2013-09-07 19:30:07 +00:00
waitbutton
farwritetext ReceivedItemText
playsound SFX_GET_EGG_FROM_DAYCARE_LADY
2013-09-07 19:30:07 +00:00
waitbutton
end
; 0xbcdcd
GameCornerCoinVendorScript: ; 0xbcdcd
2013-09-07 19:30:07 +00:00
faceplayer
loadfont
farwritetext CoinVendor_WelcomeText
2013-09-07 19:30:07 +00:00
keeptextopen
checkitem COIN_CASE
iftrue CoinVendor_IntroScript
farwritetext CoinVendor_NoCoinCaseText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
; 0xbcde0
CoinVendor_IntroScript: ; 0xbcde0
farwritetext CoinVendor_IntroText
CoinVendor_SellCoinsMenuScript: ; 0xbcde4
special Function24b4e
loadmenudata CoinVendor_MenuDataHeader
2013-09-07 19:30:07 +00:00
interpretmenu2
writebackup
if_equal $1, CoinVendor_Buy50CoinsScript
if_equal $2, CoinVendor_Buy500CoinsScript
jump CoinVendor_CancelScript
2013-09-07 19:30:07 +00:00
; 0xbcdf7
CoinVendor_Buy50CoinsScript: ; 0xbcdf7
2013-09-07 19:30:07 +00:00
checkcoins 9949
if_equal $0, CoinVendor_CoinCaseFullScript
2013-09-07 19:30:07 +00:00
checkmoney $0, 1000
if_equal $2, CoinVendor_NotEnoughMoneyScript
2013-09-07 19:30:07 +00:00
givecoins 50
takemoney $0, 1000
waitbutton
playsound SFX_TRANSACTION
farwritetext CoinVendor_Buy50CoinsText
2013-09-07 19:30:07 +00:00
closetext
jump CoinVendor_SellCoinsMenuScript
2013-09-07 19:30:07 +00:00
; 0xbce1b
CoinVendor_Buy500CoinsScript: ; 0xbce1b
2013-09-07 19:30:07 +00:00
checkcoins 9499
if_equal $0, CoinVendor_CoinCaseFullScript
2013-09-07 19:30:07 +00:00
checkmoney $0, 10000
if_equal $2, CoinVendor_NotEnoughMoneyScript
2013-09-07 19:30:07 +00:00
givecoins 500
takemoney $0, 10000
waitbutton
playsound SFX_TRANSACTION
farwritetext CoinVendor_Buy500CoinsText
2013-09-07 19:30:07 +00:00
closetext
jump CoinVendor_SellCoinsMenuScript
2013-09-07 19:30:07 +00:00
; 0xbce3f
CoinVendor_NotEnoughMoneyScript: ; 0xbce3f
farwritetext CoinVendor_NotEnoughMoneyText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
; 0xbce46
CoinVendor_CoinCaseFullScript: ; 0xbce46
farwritetext CoinVendor_CoinCaseFullText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
; 0xbce4d
CoinVendor_CancelScript: ; 0xbce4d
farwritetext CoinVendor_CancelText
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
; 0xbce54
CoinVendor_MenuDataHeader: ; 0xbce54
2013-09-07 19:30:07 +00:00
db $40 ; flags
db 04, 00 ; start coords
db 11, 15 ; end coords
dw CoinVendor_MenuData2
2013-09-07 19:30:07 +00:00
db 1 ; default option
; 0xbce5c
CoinVendor_MenuData2: ; 0xbce5c
2013-09-07 19:30:07 +00:00
db $80 ; flags
db 3 ; items
db " 50 : ¥1000@"
db "500 : ¥10000@"
db "CANCEL@"
; 0xbce7f
2015-06-25 01:26:24 +00:00
HappinessCheckScript:
2013-09-07 19:30:07 +00:00
faceplayer
loadfont
special GetFirstPokemonHappiness
2015-06-25 01:26:24 +00:00
if_less_than 50, .Unhappy
if_less_than 150, .KindaHappy
farwritetext HappinessText3
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.KindaHappy
farwritetext HappinessText2
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
2015-06-25 01:26:24 +00:00
.Unhappy
farwritetext HappinessText1
2013-09-07 19:30:07 +00:00
closetext
loadmovesprites
end
Movement_ContestResults_WalkAfterWarp: ; bcea1
2013-09-07 19:30:07 +00:00
step_right
step_down
turn_head_up
step_end
; bcea5