pokecrystal-board/engine/phone/phone_scripts.asm

1887 lines
41 KiB
NASM
Raw Normal View History

UnusedPhoneScript: ; 0xbcea5
2015-01-20 00:01:23 -08:00
farwritetext UnusedPhoneText
end
; Mom
MomPhoneScript: ; 0xbceaa
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
iftrue .bcec5
checkevent EVENT_DUDE_TALKED_TO_YOU
iftrue MomPhoneLectureScript
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue MomPhoneNoGymQuestScript
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue MomPhoneNoPokedexScript
2015-01-20 00:01:23 -08:00
jump MomPhoneNoPokemonScript
.bcec5 ; 0xbcec5
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8
iftrue MomPhoneHangUpScript
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneGreetingText
2015-11-29 19:29:45 -08:00
buttonsound
2018-01-11 22:40:20 -08:00
mapnametotext MEM_BUFFER_0
checkcode VAR_ROOFPALETTE
2018-02-02 18:09:17 -08:00
ifequal 1, MomPhonePalette1
ifequal 2, MomPhonePalette2
2017-12-14 12:39:46 -08:00
jump MomPhoneOther
2017-10-24 21:34:32 -07:00
MomPhoneLandmark: ; 0xbcedf
farwritetext MomPhoneLandmarkText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
2017-10-24 21:34:32 -07:00
MomPhonePalette1: ; 0xbcee7
checkcode VAR_MAPGROUP
2018-02-02 18:09:17 -08:00
ifequal GROUP_NEW_BARK_TOWN, .newbark
ifequal GROUP_CHERRYGROVE_CITY, .cherrygrove
ifequal GROUP_VIOLET_CITY, .violet
ifequal GROUP_AZALEA_TOWN, .azalea
ifequal GROUP_GOLDENROD_CITY, .goldenrod
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneGenericAreaText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
.newbark ; 0xbcf05
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneNewBarkText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
.cherrygrove ; 0xbcf0d
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneCherrygroveText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
.violet ; 0xbcf15
2018-01-11 22:40:20 -08:00
landmarktotext SPROUT_TOWER, MEM_BUFFER_1
2017-10-24 21:34:32 -07:00
jump MomPhoneLandmark
.azalea ; 0xbcf1b
2018-01-11 22:40:20 -08:00
landmarktotext SLOWPOKE_WELL, MEM_BUFFER_1
2017-10-24 21:34:32 -07:00
jump MomPhoneLandmark
.goldenrod ; 0xbcf21
2018-01-11 22:40:20 -08:00
landmarktotext RADIO_TOWER, MEM_BUFFER_1
2017-10-24 21:34:32 -07:00
jump MomPhoneLandmark
2017-10-24 21:34:32 -07:00
MomPhonePalette2: ; 0xbcf27
farwritetext MomOtherAreaText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
2017-12-14 12:39:46 -08:00
MomPhoneOther: ; 0xbcf2f
2017-10-24 21:34:32 -07:00
farwritetext MomDeterminedText
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-14 12:39:46 -08:00
jump MomSavingMoney
2017-12-14 12:39:46 -08:00
MomSavingMoney: ; 0xbcf37
checkflag ENGINE_MOM_SAVING_MONEY
2018-02-02 07:52:05 -08:00
iffalse .NotSaving
2018-01-11 22:40:20 -08:00
checkmoney MOMS_MONEY, 0
ifequal HAVE_MORE, .SavingHasMoney
2018-02-02 07:52:05 -08:00
jump .SavingNoMoney
2018-02-02 07:52:05 -08:00
.NotSaving: ; 0xbcf49
2018-01-11 22:40:20 -08:00
checkmoney MOMS_MONEY, 0
ifequal HAVE_MORE, .HasMoney
2018-02-02 07:52:05 -08:00
jump .NoMoney
2018-02-02 07:52:05 -08:00
.SavingHasMoney: ; 0xbcf55
2018-01-11 22:40:20 -08:00
readmoney MOMS_MONEY, MEM_BUFFER_0
2017-10-24 21:34:32 -07:00
farwritetext MomCheckBalanceText
yesorno
iftrue MomPhoneSaveMoneyScript
2015-01-20 00:01:23 -08:00
jump MomPhoneWontSaveMoneyScript
2018-02-02 07:52:05 -08:00
.SavingNoMoney: ; 0xbcf63
farwritetext MomImportantToSaveText
yesorno
iftrue MomPhoneSaveMoneyScript
2015-01-20 00:01:23 -08:00
jump MomPhoneWontSaveMoneyScript
2018-02-02 07:52:05 -08:00
.NoMoney: ; 0xbcf6e
farwritetext MomYoureNotSavingText
yesorno
iftrue MomPhoneSaveMoneyScript
2015-01-20 00:01:23 -08:00
jump MomPhoneWontSaveMoneyScript
2018-02-02 07:52:05 -08:00
.HasMoney: ; 0xbcf79
2018-01-11 22:40:20 -08:00
readmoney MOMS_MONEY, MEM_BUFFER_0
farwritetext MomYouveSavedText
yesorno
iftrue MomPhoneSaveMoneyScript
2015-01-20 00:01:23 -08:00
jump MomPhoneWontSaveMoneyScript
MomPhoneSaveMoneyScript: ; 0xbcf87
setflag ENGINE_MOM_SAVING_MONEY
farwritetext MomOKIllSaveText
2015-11-29 19:29:45 -08:00
buttonsound
2015-01-20 00:01:23 -08:00
jump MomPhoneHangUpScript
MomPhoneWontSaveMoneyScript: ; 0xbcf92
clearflag ENGINE_MOM_SAVING_MONEY
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneWontSaveMoneyText
2015-11-29 19:29:45 -08:00
buttonsound
2015-01-20 00:01:23 -08:00
jump MomPhoneHangUpScript
MomPhoneHangUpScript: ; 0xbcf9d
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneHangUpText
end
MomPhoneNoPokemonScript: ; 0xbcfa2
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneNoPokemonText
end
MomPhoneNoPokedexScript: ; 0xbcfa7
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneNoPokedexText
end
MomPhoneNoGymQuestScript: ; 0xbcfac
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneNoGymQuestText
end
MomPhoneLectureScript: ; 0xbcfb1
setevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
2018-01-22 10:57:44 -08:00
setflag ENGINE_MOM_ACTIVE
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
2015-01-20 00:01:23 -08:00
farwritetext MomPhoneLectureText
yesorno
iftrue MomPhoneSaveMoneyScript
2015-01-20 00:01:23 -08:00
jump MomPhoneWontSaveMoneyScript
; Bill
BillPhoneScript1: ; 0xbcfc5
checktime DAY
iftrue .daygreet
checktime NITE
iftrue .nitegreet
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneMornGreetingText
2015-11-29 19:29:45 -08:00
buttonsound
2015-01-20 00:01:23 -08:00
jump .main
.daygreet ; 0xbcfd7
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneDayGreetingText
2015-11-29 19:29:45 -08:00
buttonsound
2015-01-20 00:01:23 -08:00
jump .main
.nitegreet ; 0xbcfdf
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneNiteGreetingText
2015-11-29 19:29:45 -08:00
buttonsound
2015-01-20 00:01:23 -08:00
jump .main
.main ; 0xbcfe7
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneGeneriText
2015-11-29 19:29:45 -08:00
buttonsound
checkcode VAR_BOXSPACE
2018-01-11 22:40:20 -08:00
vartomem MEM_BUFFER_0
2018-02-02 18:09:17 -08:00
ifequal 0, .full
ifless PARTY_LENGTH, .nearlyfull
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneNotFullText
end
.nearlyfull ; 0xbcffd
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneNearlyFullText
end
.full ; 0xbd002
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneFullText
end
BillPhoneScript2: ; 0xbd007
2015-01-20 00:01:23 -08:00
farwritetext BillPhoneNewlyFullText
2015-11-25 07:16:29 -08:00
waitbutton
end
; Elm
ElmPhoneScript1: ; 0xbd00d
2015-10-24 07:34:19 -07:00
checkcode VAR_SPECIALPHONECALL
2018-02-02 18:09:17 -08:00
ifequal SPECIALCALL_POKERUS, .pokerus
checkevent EVENT_SHOWED_TOGEPI_TO_ELM
iftrue .discovery
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iffalse .next
checkevent EVENT_TOGEPI_HATCHED
iftrue .egghatched
.next
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iftrue .eggunhatched
checkevent EVENT_ELMS_AIDE_IN_LAB
iftrue .assistant
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue .checkingegg
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
iftrue .stolen
checkevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
iftrue .sawmrpokemon
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneStartText
end
.sawmrpokemon ; 0xbd048
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneSawMrPokemonText
end
.stolen ; 0xbd04d
2015-01-20 00:01:23 -08:00
farwritetext ElmPhonePokemonStolenText
end
.checkingegg ; 0xbd052
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneCheckingEggText
end
.assistant ; 0xbd057
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneAssistantText
end
.eggunhatched ; 0xbd05c
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneEggUnhatchedText
end
.egghatched ; 0xbd061
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneEggHatchedText
setevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
end
.discovery ; 0xbd069
2018-01-11 22:40:20 -08:00
random 2
2018-02-02 18:09:17 -08:00
ifequal 0, .nextdiscovery
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneDiscovery1Text
end
.nextdiscovery ; 0xbd074
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneDiscovery2Text
end
.pokerus ; 0xbd079
2015-01-20 00:01:23 -08:00
farwritetext ElmPhonePokerusText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
end
ElmPhoneScript2: ; 0xbd081
2015-10-24 07:34:19 -07:00
checkcode VAR_SPECIALPHONECALL
2018-02-02 18:09:17 -08:00
ifequal SPECIALCALL_ROBBED, .disaster
ifequal SPECIALCALL_ASSISTANT, .assistant
ifequal SPECIALCALL_WEIRDBROADCAST, .rocket
ifequal SPECIALCALL_SSTICKET, .gift
ifequal SPECIALCALL_MASTERBALL, .gift
2015-01-20 00:01:23 -08:00
farwritetext ElmPhonePokerusText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
end
.disaster ; 0xbd09f
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneDisasterText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
setevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
end
.assistant ; 0xbd0aa
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneEggAssistantText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
clearevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
setevent EVENT_ELMS_AIDE_IN_LAB
end
.rocket ; 0xbd0b8
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneRocketText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
end
.gift ; 0xbd0c0
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneGiftText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
end
.unused ; 0xbd0c8
2015-01-20 00:01:23 -08:00
farwritetext ElmPhoneUnusedText
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_NONE
end
; bd0d0
; Jack
JackPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, JACK1, MEM_BUFFER_0
checkflag ENGINE_JACK
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_JACK_MONDAY_MORNING
iftrue .NotMonday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal MONDAY, .NotMonday
checktime MORN
iftrue JackMondayMorning
.NotMonday:
farjump JackPhoneTips
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
farjump JackWantsBattleScript
JackPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, JACK1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, JackBattleTrivia
checkflag ENGINE_JACK
iftrue .WaitingForBattle
checkflag ENGINE_JACK_MONDAY_MORNING
iftrue .WaitingForBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, JackWantsToBattle
.WaitingForBattle:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, JackFindsRare
farjump Phone_GenericCall_Male
JackMondayMorning:
setflag ENGINE_JACK_MONDAY_MORNING
JackWantsToBattle:
2018-01-11 22:40:20 -08:00
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
setflag ENGINE_JACK
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
JackFindsRare:
farjump Phone_CheckIfUnseenRare_Male
JackBattleTrivia:
farjump JackTriviaScript
; Beverly
BeverlyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext POKEFANF, BEVERLY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_BEVERLY_HAS_NUGGET
iftrue .HasNugget
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0900
.HasNugget:
2018-01-11 22:40:20 -08:00
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0aa5
BeverlyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext POKEFANF, BEVERLY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_BEVERLY_HAS_NUGGET
iftrue .HasNugget
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random4
2018-02-02 18:09:17 -08:00
ifequal 0, .FoundNugget
.HasNugget:
farjump Phone_GenericCall_Female
.FoundNugget:
setflag ENGINE_BEVERLY_HAS_NUGGET
2018-01-11 22:40:20 -08:00
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Female
; Huey
HueyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext SAILOR, HUEY1, MEM_BUFFER_0
checkflag ENGINE_HUEY
2017-12-13 18:50:32 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
2017-12-13 18:50:32 -08:00
iftrue .NotWednesday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal WEDNESDAY, .NotWednesday
checktime NITE
2017-12-13 18:50:32 -08:00
iftrue HueyWednesdayNight
2017-12-13 18:50:32 -08:00
.NotWednesday:
special RandomPhoneMon
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0908
2017-12-13 18:50:32 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext LIGHTHOUSE, MEM_BUFFER_2
farjump HueyWantsBattleScript
HueyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext SAILOR, HUEY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_HUEY
2017-12-13 18:50:32 -08:00
iftrue .Flavor
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
2017-12-13 18:50:32 -08:00
iftrue .Flavor
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, HueyWantsBattle
ifequal 1, HueyWantsBattle
2017-12-13 18:50:32 -08:00
.Flavor:
2015-12-09 08:38:40 -08:00
farjump PhoneScript_MonFlavorText
2017-12-13 18:50:32 -08:00
HueyWednesdayNight:
setflag ENGINE_HUEY_WEDNESDAY_NIGHT
2017-12-13 18:50:32 -08:00
HueyWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext LIGHTHOUSE, MEM_BUFFER_2
setflag ENGINE_HUEY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
; Gaven
GavenPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERM, GAVEN3, MEM_BUFFER_0
checkflag ENGINE_GAVEN
2017-12-13 18:50:32 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_GAVEN_THURSDAY_MORNING
2017-12-13 18:50:32 -08:00
iftrue .NotThursday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal THURSDAY, .NotThursday
checktime MORN
2017-12-13 18:50:32 -08:00
iftrue GavenThursdayMorning
2017-12-13 18:50:32 -08:00
.NotThursday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0910
2017-12-13 18:50:32 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_26, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a37
GavenPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERM, GAVEN3, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_GAVEN
iftrue .WaitingForBattle
checkflag ENGINE_GAVEN_THURSDAY_MORNING
iftrue .WaitingForBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, GavenWantsRematch
.WaitingForBattle:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, GavenFoundRare
farjump Phone_GenericCall_Male
2017-12-13 18:50:32 -08:00
GavenThursdayMorning:
setflag ENGINE_GAVEN_THURSDAY_MORNING
2017-12-13 18:50:32 -08:00
GavenWantsRematch:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_26, MEM_BUFFER_2
setflag ENGINE_GAVEN
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
GavenFoundRare:
farjump Phone_CheckIfUnseenRare_Male
; Beth
BethPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERF, BETH1, MEM_BUFFER_0
checkflag ENGINE_BETH
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
iftrue .NotFriday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal FRIDAY, .NotFriday
checktime DAY
iftrue BethFridayAfternoon
.NotFriday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0918
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_26, MEM_BUFFER_2
farjump BethBattleReminderScript
BethPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERF, BETH1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_BETH
iftrue .Generic
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, BethWantsBattle
.Generic:
farjump Phone_GenericCall_Female
BethFridayAfternoon:
setflag ENGINE_BETH_FRIDAY_AFTERNOON
2017-12-14 12:39:46 -08:00
BethWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_26, MEM_BUFFER_2
setflag ENGINE_BETH
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
; Jose
JosePhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext BIRD_KEEPER, JOSE2, MEM_BUFFER_0
checkflag ENGINE_JOSE
2017-12-13 18:50:32 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_JOSE_SATURDAY_NIGHT
2017-12-13 18:50:32 -08:00
iftrue .NotSaturday
checkflag ENGINE_JOSE_HAS_STAR_PIECE
2017-12-14 12:39:46 -08:00
iftrue .HasItem
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SATURDAY, .NotSaturday
checktime NITE
2017-12-13 18:50:32 -08:00
iftrue JoseSaturdayNight
2017-12-13 18:50:32 -08:00
.NotSaturday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0920
2017-12-13 18:50:32 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a41
2017-12-14 12:39:46 -08:00
.HasItem:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a41
JosePhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext BIRD_KEEPER, JOSE2, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_JOSE
iftrue .Generic
checkflag ENGINE_JOSE_SATURDAY_NIGHT
iftrue .Generic
checkflag ENGINE_JOSE_HAS_STAR_PIECE
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, JoseWantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, JoseHasStarPiece
.Generic:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, JoseFoundRare
farjump Phone_GenericCall_Male
2017-12-13 18:50:32 -08:00
JoseSaturdayNight:
setflag ENGINE_JOSE_SATURDAY_NIGHT
2017-12-14 12:39:46 -08:00
JoseWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
setflag ENGINE_JOSE
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
2017-12-14 12:39:46 -08:00
JoseFoundRare:
farjump Phone_CheckIfUnseenRare_Male
2017-12-14 12:39:46 -08:00
JoseHasStarPiece:
setflag ENGINE_JOSE_HAS_STAR_PIECE
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Male
; Reena
ReenaPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERF, REENA1, MEM_BUFFER_0
checkflag ENGINE_REENA
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_REENA_SUNDAY_MORNING
iftrue .NotSunday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SUNDAY, .NotSunday
checktime MORN
iftrue ReenaSundayMorning
.NotSunday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0928
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a46
ReenaPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext COOLTRAINERF, REENA1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_REENA
iftrue .Generic
checkflag ENGINE_REENA_SUNDAY_MORNING
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ReenaWantsBattle
.Generic:
farjump Phone_GenericCall_Female
ReenaSundayMorning:
setflag ENGINE_REENA_SUNDAY_MORNING
ReenaWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_27, MEM_BUFFER_2
setflag ENGINE_REENA
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
; Joey
JoeyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext YOUNGSTER, JOEY1, MEM_BUFFER_0
checkflag ENGINE_JOEY
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_JOEY_MONDAY_AFTERNOON
iftrue .NotMonday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal MONDAY, .NotMonday
checktime DAY
iftrue JoeyMondayAfternoon
.NotMonday:
special RandomPhoneMon
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0930
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_30, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a4b
JoeyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext YOUNGSTER, JOEY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_JOEY
iftrue .Generic
checkflag ENGINE_JOEY_MONDAY_AFTERNOON
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, JoeyWantsBattle
ifequal 1, JoeyWantsBattle
.Generic:
farjump Phone_GenericCall_Male
JoeyMondayAfternoon:
setflag ENGINE_JOEY_MONDAY_AFTERNOON
JoeyWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_30, MEM_BUFFER_2
setflag ENGINE_JOEY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
; Wade
WadePhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext BUG_CATCHER, WADE1, MEM_BUFFER_0
checkflag ENGINE_WADE
2018-02-02 07:52:05 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_WADE_TUESDAY_NIGHT
iftrue .NotTuesday
checkflag ENGINE_WADE_HAS_ITEM
2018-02-02 07:52:05 -08:00
iftrue .HasItem
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal TUESDAY, .NotTuesday
checktime NITE
iftrue WadeTuesdayNight
.NotTuesday:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
checkcode VAR_WEEKDAY
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
.NoContest:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0938
2018-02-02 07:52:05 -08:00
.ContestToday:
2017-12-13 17:49:10 -08:00
farjump PhoneScript_BugCatchingContest
2018-02-02 07:52:05 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_31, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a50
2018-02-02 07:52:05 -08:00
.HasItem:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_31, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0ab5
WadePhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext BUG_CATCHER, WADE1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
2017-12-13 17:49:10 -08:00
iftrue .NoContest
checkcode VAR_WEEKDAY
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
2017-12-13 17:49:10 -08:00
.NoContest:
checkflag ENGINE_WADE
iftrue .next
checkflag ENGINE_WADE_TUESDAY_NIGHT
iftrue .next
checkflag ENGINE_WADE_HAS_ITEM
iftrue .next
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, WadeHasItem2
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .next
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, WadeWantsBattle2
.next:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, WadeFoundRare
farjump Phone_GenericCall_Male
2018-02-02 07:52:05 -08:00
.ContestToday:
2017-12-13 17:49:10 -08:00
farjump PhoneScript_BugCatchingContest
WadeTuesdayNight:
setflag ENGINE_WADE_TUESDAY_NIGHT
WadeWantsBattle2:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_31, MEM_BUFFER_2
setflag ENGINE_WADE
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
WadeFoundRare:
farjump Phone_CheckIfUnseenRare_Male
WadeHasItem2:
setflag ENGINE_WADE_HAS_ITEM
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_31, MEM_BUFFER_2
clearevent EVENT_WADE_HAS_BERRY
clearevent EVENT_WADE_HAS_PSNCUREBERRY
clearevent EVENT_WADE_HAS_PRZCUREBERRY
clearevent EVENT_WADE_HAS_BITTER_BERRY
2018-01-11 22:40:20 -08:00
random 4
2018-02-02 18:09:17 -08:00
ifequal 0, .Berry
ifequal 1, .PsnCureBerry
ifequal 2, .PrzCureBerry
ifequal 3, .Bitterberry
2017-12-14 12:39:46 -08:00
.Berry:
setevent EVENT_WADE_HAS_BERRY
2017-12-14 12:39:46 -08:00
jump .FoundBerry
2017-12-14 12:39:46 -08:00
.PsnCureBerry:
setevent EVENT_WADE_HAS_PSNCUREBERRY
2017-12-14 12:39:46 -08:00
jump .FoundBerry
2017-12-14 12:39:46 -08:00
.PrzCureBerry:
setevent EVENT_WADE_HAS_PRZCUREBERRY
2017-12-14 12:39:46 -08:00
jump .FoundBerry
2017-12-14 12:39:46 -08:00
.Bitterberry:
setevent EVENT_WADE_HAS_BITTER_BERRY
2017-12-14 12:39:46 -08:00
.FoundBerry:
farjump PhoneScript_FoundItem_Male
; Ralph
RalphPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, RALPH1, MEM_BUFFER_0
checkflag ENGINE_RALPH
2018-02-02 07:52:05 -08:00
iftrue .Rematch
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
2018-02-02 07:52:05 -08:00
iftrue .CheckSwarm
checkcode VAR_WEEKDAY
ifnotequal WEDNESDAY, .CheckSwarm
checktime MORN
2015-12-09 08:38:40 -08:00
iftrue Ralph_WednesdayMorning
2018-02-02 07:52:05 -08:00
.CheckSwarm:
checkflag ENGINE_FISH_SWARM
2018-02-02 07:52:05 -08:00
iftrue .ReportSwarm
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0940
2018-02-02 07:52:05 -08:00
.Rematch:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_32, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a55
2018-02-02 07:52:05 -08:00
.ReportSwarm:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_32, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0af5
RalphPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, RALPH1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_FLYPOINT_GOLDENROD
2018-02-02 07:52:05 -08:00
iffalse .CheckSwarm
checkflag ENGINE_RALPH
2018-02-02 07:52:05 -08:00
iftrue .CheckSwarm
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
2018-02-02 07:52:05 -08:00
iftrue .CheckSwarm
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, Ralph_FightMe
2018-02-02 07:52:05 -08:00
.CheckSwarm:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random5
2018-02-02 18:09:17 -08:00
ifequal 0, Ralph_SetUpSwarm
farjump Phone_GenericCall_Male
2015-12-09 08:38:40 -08:00
Ralph_WednesdayMorning:
setflag ENGINE_RALPH_WEDNESDAY_MORNING
2015-12-09 08:38:40 -08:00
Ralph_FightMe:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_32, MEM_BUFFER_2
setflag ENGINE_RALPH
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
2015-12-09 08:38:40 -08:00
Ralph_SetUpSwarm:
checkflag ENGINE_FISH_SWARM
2017-12-14 12:39:46 -08:00
iftrue .Generic
setflag ENGINE_FISH_SWARM
2018-01-11 22:40:20 -08:00
pokenamemem QWILFISH, MEM_BUFFER_1
landmarktotext ROUTE_32, MEM_BUFFER_2
2016-03-16 15:05:28 -07:00
writebyte FISHSWARM_QWILFISH
special ActivateFishingSwarm
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa05d6
2017-12-14 12:39:46 -08:00
.Generic:
farjump Phone_GenericCall_Male
; Liz
LizPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, LIZ1, MEM_BUFFER_0
checkflag ENGINE_LIZ
2017-12-14 12:39:46 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_LIZ_THURSDAY_AFTERNOON
2017-12-13 17:49:10 -08:00
iftrue .NotThursday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal THURSDAY, .NotThursday
checktime DAY
2017-12-13 17:49:10 -08:00
iftrue LizThursdayAfternoon
2017-12-13 17:49:10 -08:00
.NotThursday:
special RandomPhoneMon
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0948
2017-12-14 12:39:46 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_32, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a5a
LizPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, LIZ1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random4
2018-02-02 18:09:17 -08:00
ifequal 0, LizWrongNumber
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_LIZ
iftrue .next
checkflag ENGINE_LIZ_THURSDAY_AFTERNOON
iftrue .next
.next:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, LizGossip
checkflag ENGINE_FLYPOINT_GOLDENROD
2017-12-14 12:39:46 -08:00
iffalse .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, LizWantsBattle
2017-12-14 12:39:46 -08:00
.Generic:
farjump Phone_GenericCall_Female
2017-12-13 17:49:10 -08:00
LizThursdayAfternoon:
setflag ENGINE_LIZ_THURSDAY_AFTERNOON
LizWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_32, MEM_BUFFER_2
setflag ENGINE_LIZ
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
LizWrongNumber:
farjump LizWrongNumberScript
LizGossip:
2018-01-11 22:40:20 -08:00
random 9
2018-02-02 18:09:17 -08:00
ifequal 0, .CoolTrainerM
ifequal 1, .Beauty
ifequal 2, .Grunt
ifequal 3, .Teacher
ifequal 4, .SwimmerF
ifequal 5, .KimonoGirl
ifequal 6, .Skier
ifequal 7, .Medium
ifequal 8, .PokefanM
.CoolTrainerM:
2018-01-11 22:40:20 -08:00
trainerclassname COOLTRAINERM, NICK
jump LizGossipScript
.Beauty:
2018-01-11 22:40:20 -08:00
trainerclassname BEAUTY, VICTORIA
jump LizGossipScript
.Grunt:
2018-01-11 22:40:20 -08:00
trainerclassname GRUNTM, GRUNTM_1
jump LizGossipScript
.Teacher:
2018-01-11 22:40:20 -08:00
trainerclassname TEACHER, COLETTE
jump LizGossipScript
.SwimmerF:
2018-01-11 22:40:20 -08:00
trainerclassname SWIMMERF, ELAINE
jump LizGossipScript
.KimonoGirl:
2018-01-11 22:40:20 -08:00
trainerclassname KIMONO_GIRL, NAOKO1
jump LizGossipScript
.Skier:
2018-01-11 22:40:20 -08:00
trainerclassname SKIER, ROXANNE
jump LizGossipScript
.Medium:
2018-01-11 22:40:20 -08:00
trainerclassname MEDIUM, MARTHA
jump LizGossipScript
.PokefanM:
2018-01-11 22:40:20 -08:00
trainerclassname POKEFANM, WILLIAM
jump LizGossipScript
LizGossipScript:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa06da
; Anthony
AnthonyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext HIKER, ANTHONY2, MEM_BUFFER_0
checkflag ENGINE_ANTHONY
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
2017-12-13 17:49:10 -08:00
iftrue .NotFriday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal FRIDAY, .NotFriday
checktime NITE
iftrue AnthonyFridayNight
2017-12-13 17:49:10 -08:00
.NotFriday:
checkflag ENGINE_DUNSPARCE_SWARM
iftrue .AlreadySwarming
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0950
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_33, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a5f
.AlreadySwarming:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_33, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0afa
AnthonyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext HIKER, ANTHONY2, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .TriesSwarm
checkflag ENGINE_ANTHONY
iftrue .TriesSwarm
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
iftrue .TriesSwarm
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, AnthonyWantsBattle
.TriesSwarm:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random5
2018-02-02 18:09:17 -08:00
ifequal 0, AnthonyTriesDunsparceSwarm
farjump Phone_GenericCall_Male
AnthonyFridayNight:
setflag ENGINE_ANTHONY_FRIDAY_NIGHT
AnthonyWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_33, MEM_BUFFER_2
setflag ENGINE_ANTHONY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
AnthonyTriesDunsparceSwarm:
checkflag ENGINE_DUNSPARCE_SWARM
iftrue .Generic
setflag ENGINE_DUNSPARCE_SWARM
2018-01-11 22:40:20 -08:00
pokenamemem DUNSPARCE, MEM_BUFFER_1
2015-12-09 08:38:40 -08:00
swarm SWARM_DUNSPARCE, DARK_CAVE_VIOLET_ENTRANCE
2018-01-11 22:40:20 -08:00
landmarktotext DARK_CAVE, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa05de
.Generic:
farjump Phone_GenericCall_Male
; Todd
ToddPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext CAMPER, TODD1, MEM_BUFFER_0
checkflag ENGINE_TODD
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_TODD_SATURDAY_MORNING
2017-12-13 17:49:10 -08:00
iftrue .NotSaturday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SATURDAY, .NotSaturday
checktime MORN
2017-12-13 17:49:10 -08:00
iftrue ToddSaturdayMorning
2017-12-13 17:49:10 -08:00
.NotSaturday:
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue .SaleOn
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0958
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a64
.SaleOn:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0b04
ToddPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext CAMPER, TODD1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_TODD
iftrue .TryForSale
checkflag ENGINE_TODD_SATURDAY_MORNING
iftrue .TryForSale
checkflag ENGINE_FLYPOINT_GOLDENROD
2018-02-02 07:52:05 -08:00
iffalse .NoGoldenrod
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ToddWantsBattle
.TryForSale:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ToddDeptStoreSale
2018-02-02 07:52:05 -08:00
.NoGoldenrod:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, ToddFoundRare
farjump Phone_GenericCall_Male
2017-12-13 17:49:10 -08:00
ToddSaturdayMorning:
setflag ENGINE_TODD_SATURDAY_MORNING
ToddWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
setflag ENGINE_TODD
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
ToddFoundRare:
farjump Phone_CheckIfUnseenRare_Male
ToddDeptStoreSale:
setflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0644
; Gina
GinaPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, GINA1, MEM_BUFFER_0
checkflag ENGINE_GINA
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_GINA_SUNDAY_AFTERNOON
2017-12-13 17:49:10 -08:00
iftrue .NotSunday
checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue .HasLeafStone
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SUNDAY, .NotSunday
checktime DAY
2017-12-13 17:49:10 -08:00
iftrue GinaSundayDay
2017-12-13 17:49:10 -08:00
.NotSunday:
2015-07-10 05:12:28 -07:00
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
2017-12-13 17:49:10 -08:00
iftrue .Rockets
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0960
2017-12-13 17:49:10 -08:00
.Rockets:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa05c6
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a69
.HasLeafStone:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0abd
GinaPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, GINA1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
2015-07-10 05:12:28 -07:00
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
iftrue GinaRockets
checkflag ENGINE_GINA
iftrue .Generic
checkflag ENGINE_GINA_SUNDAY_AFTERNOON
iftrue .Generic
checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue .Generic
checkevent EVENT_GINA_GAVE_LEAF_STONE
iftrue .GaveLeafStone
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, GinaHasLeafStone
.GaveLeafStone:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random11
2018-02-02 18:09:17 -08:00
ifequal 0, GinaHasLeafStone
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, GinaWantsBattle
.Generic:
farjump Phone_GenericCall_Female
2017-12-13 17:49:10 -08:00
GinaSundayDay:
setflag ENGINE_GINA_SUNDAY_AFTERNOON
GinaWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
setflag ENGINE_GINA
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
GinaRockets:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa05c6
GinaHasLeafStone:
setflag ENGINE_GINA_HAS_LEAF_STONE
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_34, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Female
; Irwin
IrwinPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext JUGGLER, IRWIN1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
2015-07-10 05:12:28 -07:00
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
2017-12-13 17:49:10 -08:00
iftrue .Rockets
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa09c8
2017-12-13 17:49:10 -08:00
.Rockets:
farjump IrwinRocketRumor
IrwinPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext JUGGLER, IRWIN1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
2015-07-10 05:12:28 -07:00
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
2017-12-13 17:49:10 -08:00
iftrue .Rockets
2017-12-13 18:50:32 -08:00
farjump IrwinRumorScript
2017-12-13 17:49:10 -08:00
.Rockets:
farjump IrwinRocketRumor
; Arnie
ArniePhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext BUG_CATCHER, ARNIE1, MEM_BUFFER_0
checkflag ENGINE_ARNIE
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_ARNIE_TUESDAY_MORNING
2017-12-13 17:49:10 -08:00
iftrue .NotTuesday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal TUESDAY, .NotTuesday
checktime MORN
2017-12-13 17:49:10 -08:00
iftrue ArnieTuesdayMorning
2017-12-13 17:49:10 -08:00
.NotTuesday:
checkflag ENGINE_YANMA_SWARM
iftrue .AlreadySwarming
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0968
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_35, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a6e
.AlreadySwarming:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_35, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0aff
ArniePhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext BUG_CATCHER, ARNIE1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_ARNIE
iftrue .Swarm
checkflag ENGINE_ARNIE_TUESDAY_MORNING
iftrue .Swarm
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ArnieWantsBattle
.Swarm:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random5
2018-02-02 18:09:17 -08:00
ifequal 0, ArnieYanmaSwarm
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, ArnieFoundRare
farjump Phone_GenericCall_Male
2017-12-13 17:49:10 -08:00
ArnieTuesdayMorning:
setflag ENGINE_ARNIE_TUESDAY_MORNING
ArnieWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_35, MEM_BUFFER_2
setflag ENGINE_ARNIE
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
2017-12-13 17:49:10 -08:00
ArnieYanmaSwarm: ; start swarm
checkflag ENGINE_YANMA_SWARM
2017-12-13 17:49:10 -08:00
iftrue ArnieYanmaAlreadySwarming
setflag ENGINE_YANMA_SWARM
2018-01-11 22:40:20 -08:00
pokenamemem YANMA, MEM_BUFFER_1
2015-12-09 08:38:40 -08:00
swarm SWARM_YANMA, ROUTE_35
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_35, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa05ce
ArnieFoundRare:
farjump Phone_CheckIfUnseenRare_Male
2017-12-13 17:49:10 -08:00
ArnieYanmaAlreadySwarming:
farjump Phone_GenericCall_Male
; Alan
AlanPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
checkflag ENGINE_ALAN
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
2017-12-13 17:49:10 -08:00
iftrue .NotWednesday
checkflag ENGINE_ALAN_HAS_FIRE_STONE
iftrue .FireStone
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal WEDNESDAY, .NotWednesday
checktime DAY
2017-12-13 17:49:10 -08:00
iftrue AlanWednesdayDay
2017-12-13 17:49:10 -08:00
.NotWednesday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0970
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_36, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a73
.FireStone:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_36, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0ac5
AlanPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_ALAN
2018-02-02 07:52:05 -08:00
iftrue .Generic
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
2018-02-02 07:52:05 -08:00
iftrue .Generic
checkflag ENGINE_ALAN_HAS_FIRE_STONE
2018-02-02 07:52:05 -08:00
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, AlanWantsBattle
checkevent EVENT_ALAN_GAVE_FIRE_STONE
iftrue .FireStone
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, AlanHasFireStone
.FireStone:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random11
2018-02-02 18:09:17 -08:00
ifequal 0, AlanHasFireStone
2018-02-02 07:52:05 -08:00
.Generic:
farjump Phone_GenericCall_Male
2017-12-13 17:49:10 -08:00
AlanWednesdayDay:
setflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
AlanWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_36, MEM_BUFFER_2
setflag ENGINE_ALAN
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
AlanHasFireStone:
setflag ENGINE_ALAN_HAS_FIRE_STONE
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_36, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Male
; Dana
DanaPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext LASS, DANA1, MEM_BUFFER_0
checkflag ENGINE_DANA
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_DANA_THURSDAY_NIGHT
2017-12-13 17:49:10 -08:00
iftrue .NotThursday
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .HasThunderstone
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal THURSDAY, .NotThursday
checktime NITE
iftrue DanaThursdayNight
2017-12-13 17:49:10 -08:00
.NotThursday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0978
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a78
.HasThunderstone:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0acd
DanaPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext LASS, DANA1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_DANA
iftrue .Generic
checkflag ENGINE_DANA_THURSDAY_NIGHT
iftrue .Generic
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, DanaWantsBattle
checkevent EVENT_DANA_GAVE_THUNDERSTONE
iftrue .Thunderstone
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, DanaHasThunderstone
.Thunderstone:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random11
2018-02-02 18:09:17 -08:00
ifequal 0, DanaHasThunderstone
.Generic:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, DanaFoundRare
farjump Phone_GenericCall_Female
DanaThursdayNight:
setflag ENGINE_DANA_THURSDAY_NIGHT
DanaWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
setflag ENGINE_DANA
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
DanaFoundRare:
farjump Phone_CheckIfUnseenRare_Female
DanaHasThunderstone:
setflag ENGINE_DANA_HAS_THUNDERSTONE
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Female
; Chad
ChadPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, CHAD1, MEM_BUFFER_0
checkflag ENGINE_CHAD
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_CHAD_FRIDAY_MORNING
2017-12-13 17:49:10 -08:00
iftrue .NotFriday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal FRIDAY, .NotFriday
checktime MORN
iftrue ChadFridayMorning
2017-12-13 17:49:10 -08:00
.NotFriday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0980
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a7d
ChadPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext SCHOOLBOY, CHAD1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ChadOakGossip
checkflag ENGINE_CHAD
iftrue .Generic
checkflag ENGINE_CHAD_FRIDAY_MORNING
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ChadWantsBattle
.Generic:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, ChadFoundRare
farjump Phone_GenericCall_Male
ChadFridayMorning:
setflag ENGINE_CHAD_FRIDAY_MORNING
ChadWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_38, MEM_BUFFER_2
setflag ENGINE_CHAD
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
ChadFoundRare:
farjump Phone_CheckIfUnseenRare_Male
ChadOakGossip:
farjump ChadOakGossipScript
DerekPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext POKEFANM, DEREK1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_DEREK_HAS_NUGGET
2017-12-13 17:49:10 -08:00
iftrue .Nugget
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
2017-12-13 17:49:10 -08:00
iftrue .NoContest
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
2017-12-13 17:49:10 -08:00
.NoContest:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0988
2017-12-13 17:49:10 -08:00
.ContestToday:
farjump PhoneScript_BugCatchingContest
2017-12-13 17:49:10 -08:00
.Nugget:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_39, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0ad5
DerekPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext POKEFANM, DEREK1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
2017-12-13 17:49:10 -08:00
iftrue .NoContest
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
2017-12-13 17:49:10 -08:00
.NoContest:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random4
2018-02-02 18:09:17 -08:00
ifequal 0, .Nugget
farjump Phone_GenericCall_Male
.ContestToday:
2017-12-13 17:49:10 -08:00
farjump PhoneScript_BugCatchingContest
2017-12-13 17:49:10 -08:00
.Nugget:
setflag ENGINE_DEREK_HAS_NUGGET
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_39, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Male
TullyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, TULLY1, MEM_BUFFER_0
checkflag ENGINE_TULLY
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_TULLY_SUNDAY_NIGHT
2017-12-13 17:49:10 -08:00
iftrue .NotSunday
checkflag ENGINE_TULLY_HAS_WATER_STONE
2018-02-02 07:52:05 -08:00
iftrue .WaterStone
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SUNDAY, .NotSunday
checktime NITE
2017-12-13 17:49:10 -08:00
iftrue TullySundayNight
2017-12-13 17:49:10 -08:00
.NotSunday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0990
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_42, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a82
2018-02-02 07:52:05 -08:00
.WaterStone:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_42, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0add
TullyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, TULLY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_TULLY
iftrue .Generic
checkflag ENGINE_TULLY_SUNDAY_NIGHT
iftrue .Generic
checkflag ENGINE_TULLY_HAS_WATER_STONE
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, TullyWantsBattle
checkevent EVENT_TULLY_GAVE_WATER_STONE
2017-12-13 17:49:10 -08:00
iftrue .WaterStone
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, TullyFoundWaterStone
2017-12-13 17:49:10 -08:00
.WaterStone:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random11
2018-02-02 18:09:17 -08:00
ifequal 0, TullyFoundWaterStone
.Generic:
farjump Phone_GenericCall_Male
2017-12-13 17:49:10 -08:00
TullySundayNight:
setflag ENGINE_TULLY_SUNDAY_NIGHT
TullyWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_42, MEM_BUFFER_2
setflag ENGINE_TULLY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
2017-12-13 17:49:10 -08:00
TullyFoundWaterStone:
setflag ENGINE_TULLY_HAS_WATER_STONE
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_42, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Male
BrentPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext POKEMANIAC, BRENT1, MEM_BUFFER_0
checkflag ENGINE_BRENT
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_BRENT_MONDAY_MORNING
iftrue .NotMonday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal MONDAY, .NotMonday
checktime MORN
iftrue BrentMondayMorning
.NotMonday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0998
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a87
BrentPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext POKEMANIAC, BRENT1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, BrentBillTrivia
checkflag ENGINE_BRENT
iftrue .Generic
checkflag ENGINE_BRENT_MONDAY_MORNING
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, BrentWantsBattle
.Generic:
farjump Phone_GenericCall_Male
BrentMondayMorning:
setflag ENGINE_BRENT_MONDAY_MORNING
BrentWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
setflag ENGINE_BRENT
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
2017-12-13 18:50:32 -08:00
BrentBillTrivia:
farjump BrentBillTriviaScript
TiffanyPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, TIFFANY3, MEM_BUFFER_0
checkflag ENGINE_TIFFANY
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
iftrue .NotTuesday
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
iftrue .HasItem
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal TUESDAY, .NotTuesday
checktime DAY
iftrue TiffanyTuesdayAfternoon
.NotTuesday:
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa09a0
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0a8c
.HasItem:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
2015-01-20 00:01:23 -08:00
farjump UnknownScript_0xa0ae5
TiffanyPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, TIFFANY3, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random4
2018-02-02 18:09:17 -08:00
ifequal 0, TiffanysFamilyMembers
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_TIFFANY
2018-02-02 07:52:05 -08:00
iftrue .Generic
checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
2018-02-02 07:52:05 -08:00
iftrue .Generic
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
2018-02-02 07:52:05 -08:00
iftrue .Generic
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, TiffanyWantsBattle
checkevent EVENT_TIFFANY_GAVE_PINK_BOW
iftrue .PinkBow
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, TiffanyHasPinkBow
.PinkBow:
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random11
2018-02-02 18:09:17 -08:00
ifequal 0, TiffanyHasPinkBow
2018-02-02 07:52:05 -08:00
.Generic:
farjump Phone_GenericCall_Female
TiffanyTuesdayAfternoon:
setflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
TiffanyWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
setflag ENGINE_TIFFANY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female
TiffanysFamilyMembers:
2018-01-11 22:40:20 -08:00
random 6
2018-02-02 18:09:17 -08:00
ifequal 0, .Grandma
ifequal 1, .Grandpa
ifequal 2, .Mom
ifequal 3, .Dad
ifequal 4, .Sister
ifequal 5, .Brother
.Grandma:
2018-01-11 22:40:20 -08:00
stringtotext GrandmaString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
.Grandpa:
2018-01-11 22:40:20 -08:00
stringtotext GrandpaString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
.Mom:
2018-01-11 22:40:20 -08:00
stringtotext MomString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
.Dad:
2018-01-11 22:40:20 -08:00
stringtotext DadString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
.Sister:
2018-01-11 22:40:20 -08:00
stringtotext SisterString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
.Brother:
2018-01-11 22:40:20 -08:00
stringtotext BrotherString, MEM_BUFFER_1
2018-02-02 07:52:05 -08:00
jump .PoorClefairy
2018-02-02 07:52:05 -08:00
.PoorClefairy:
farjump TiffanyItsAwful
TiffanyHasPinkBow:
setflag ENGINE_TIFFANY_HAS_PINK_BOW
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_43, MEM_BUFFER_2
farjump PhoneScript_FoundItem_Female
; Vance
VancePhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext BIRD_KEEPER, VANCE1, MEM_BUFFER_0
checkflag ENGINE_VANCE
2018-02-02 07:52:05 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
iftrue .NotWednesday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal WEDNESDAY, .NotWednesday
checktime NITE
iftrue VanceWednesdayNight
.NotWednesday:
farjump VanceLookingForward
2018-02-02 07:52:05 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
farjump VanceHurryHurry
VancePhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext BIRD_KEEPER, VANCE1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_VANCE
iftrue .WantsBattle
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, VanceWantsRematch
ifequal 1, VanceWantsRematch
.WantsBattle:
farjump Phone_GenericCall_Male
VanceWednesdayNight:
setflag ENGINE_VANCE_WEDNESDAY_NIGHT
VanceWantsRematch:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
setflag ENGINE_VANCE
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
WiltonPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, WILTON1, MEM_BUFFER_0
checkflag ENGINE_WILTON
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
2017-12-13 19:41:15 -08:00
checkflag ENGINE_WILTON_THURSDAY_MORNING
iftrue .NotThursday
checkflag ENGINE_WILTON_HAS_ITEM
iftrue .HasItem
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal THURSDAY, .NotThursday
checktime MORN
iftrue WiltonThursdayMorning
.NotThursday:
farjump WiltonHaventFoundAnything
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
farjump WiltonNotBiting
.HasItem:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
farjump WiltonWantThis
WiltonPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext FISHER, WILTON1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_WILTON
iftrue .GenericCall
2017-12-13 19:41:15 -08:00
checkflag ENGINE_WILTON_THURSDAY_MORNING
iftrue .GenericCall
checkflag ENGINE_WILTON_HAS_ITEM
iftrue .GenericCall
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, WiltonWantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, WiltonHasItem
.GenericCall:
farjump Phone_GenericCall_Male
WiltonThursdayMorning:
2017-12-13 19:41:15 -08:00
setflag ENGINE_WILTON_THURSDAY_MORNING
WiltonWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
setflag ENGINE_WILTON
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
WiltonHasItem:
setflag ENGINE_WILTON_HAS_ITEM
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_44, MEM_BUFFER_2
clearevent EVENT_WILTON_HAS_ULTRA_BALL
clearevent EVENT_WILTON_HAS_GREAT_BALL
clearevent EVENT_WILTON_HAS_POKE_BALL
2018-01-11 22:40:20 -08:00
random 5
2018-02-02 18:09:17 -08:00
ifequal 0, .UltraBall
2018-01-11 22:40:20 -08:00
random 3
2018-02-02 18:09:17 -08:00
ifequal 0, .GreatBall
2017-12-13 19:40:11 -08:00
jump .PokeBall
2017-12-13 19:40:11 -08:00
.UltraBall:
setevent EVENT_WILTON_HAS_ULTRA_BALL
2017-12-13 19:40:11 -08:00
jump .FoundItem
2017-12-13 19:40:11 -08:00
.GreatBall:
setevent EVENT_WILTON_HAS_GREAT_BALL
2017-12-13 19:40:11 -08:00
jump .FoundItem
2017-12-13 19:40:11 -08:00
.PokeBall:
setevent EVENT_WILTON_HAS_POKE_BALL
2017-12-13 19:40:11 -08:00
.FoundItem:
farjump PhoneScript_FoundItem_Male
; Kenji
KenjiPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext BLACKBELT_T, KENJI3, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
farjump KenjiAnswerPhoneScript
KenjiPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext BLACKBELT_T, KENJI3, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
farjump KenjiCallingPhoneScript
; Parry
ParryPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext HIKER, PARRY1, MEM_BUFFER_0
checkflag ENGINE_PARRY
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_PARRY_FRIDAY_AFTERNOON
iftrue .WantsRematch
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal FRIDAY, .WantsRematch
checktime DAY
iftrue ParryFridayDay
.WantsRematch:
farjump ParryBattleWithMe
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_45, MEM_BUFFER_2
farjump ParryHaventYouGottenTo
ParryPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext HIKER, PARRY1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Male
checkflag ENGINE_PARRY
iftrue .GenericCall
checkflag ENGINE_PARRY_FRIDAY_AFTERNOON
iftrue .GenericCall
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random2
2018-02-02 18:09:17 -08:00
ifequal 0, ParryWantsBattle
ifequal 1, ParryWantsBattle
.GenericCall:
farjump Phone_GenericCall_Male
ParryFridayDay:
setflag ENGINE_PARRY_FRIDAY_AFTERNOON
ParryWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_45, MEM_BUFFER_2
setflag ENGINE_PARRY
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Male
; Erin
ErinPhoneScript1:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, ERIN1, MEM_BUFFER_0
checkflag ENGINE_ERIN
2017-12-13 19:40:11 -08:00
iftrue .WantsBattle
2015-12-09 08:38:40 -08:00
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_ERIN_SATURDAY_NIGHT
2017-12-13 19:40:11 -08:00
iftrue .NotSaturday
checkcode VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifnotequal SATURDAY, .NotSaturday
checktime NITE
2017-12-13 19:40:11 -08:00
iftrue ErinSaturdayNight
2017-12-13 19:40:11 -08:00
.NotSaturday:
farjump ErinWorkingHardScript
2017-12-13 19:40:11 -08:00
.WantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_46, MEM_BUFFER_2
farjump ErinComeBattleScript
ErinPhoneScript2:
2018-01-11 22:40:20 -08:00
trainertotext PICNICKER, ERIN1, MEM_BUFFER_0
2015-12-09 08:38:40 -08:00
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_ERIN
iftrue .GenericCall
checkflag ENGINE_ERIN_SATURDAY_NIGHT
iftrue .GenericCall
2015-12-09 08:38:40 -08:00
farscall PhoneScript_Random3
2018-02-02 18:09:17 -08:00
ifequal 0, ErinWantsBattle
ifequal 1, ErinWantsBattle
.GenericCall:
farjump Phone_GenericCall_Female
2017-12-13 19:40:11 -08:00
ErinSaturdayNight:
setflag ENGINE_ERIN_SATURDAY_NIGHT
ErinWantsBattle:
2018-01-11 22:40:20 -08:00
landmarktotext ROUTE_46, MEM_BUFFER_2
setflag ENGINE_ERIN
2017-12-13 18:50:32 -08:00
farjump PhoneScript_WantsToBattle_Female