pokecrystal/engine/phone/phone_scripts.asm

1887 lines
42 KiB
NASM
Raw Normal View History

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