mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Split engine/phone/phone_scripts.asm and phone_gossip.asm into individual files
This commit is contained in:
parent
378667d9ec
commit
b921e9c9be
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
60
engine/phone/scripts/alan.asm
Normal file
60
engine/phone/scripts/alan.asm
Normal file
@ -0,0 +1,60 @@
|
||||
AlanPhoneScript1:
|
||||
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
||||
checkflag ENGINE_ALAN
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
||||
iftrue .NotWednesday
|
||||
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
||||
iftrue .FireStone
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal WEDNESDAY, .NotWednesday
|
||||
checktime DAY
|
||||
iftrue AlanWednesdayDay
|
||||
|
||||
.NotWednesday:
|
||||
farjump UnknownScript_0xa0970
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_36, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a73
|
||||
|
||||
.FireStone:
|
||||
landmarktotext ROUTE_36, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0ac5
|
||||
|
||||
AlanPhoneScript2:
|
||||
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
checkflag ENGINE_ALAN
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, AlanWantsBattle
|
||||
checkevent EVENT_ALAN_GAVE_FIRE_STONE
|
||||
iftrue .FireStone
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, AlanHasFireStone
|
||||
|
||||
.FireStone:
|
||||
farscall PhoneScript_Random11
|
||||
ifequal 0, AlanHasFireStone
|
||||
|
||||
.Generic:
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
AlanWednesdayDay:
|
||||
setflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
||||
|
||||
AlanWantsBattle:
|
||||
landmarktotext ROUTE_36, MEM_BUFFER_2
|
||||
setflag ENGINE_ALAN
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
AlanHasFireStone:
|
||||
setflag ENGINE_ALAN_HAS_FIRE_STONE
|
||||
landmarktotext ROUTE_36, MEM_BUFFER_2
|
||||
farjump PhoneScript_FoundItem_Male
|
61
engine/phone/scripts/anthony.asm
Normal file
61
engine/phone/scripts/anthony.asm
Normal file
@ -0,0 +1,61 @@
|
||||
AnthonyPhoneScript1:
|
||||
trainertotext HIKER, ANTHONY2, MEM_BUFFER_0
|
||||
checkflag ENGINE_ANTHONY
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
|
||||
iftrue .NotFriday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal FRIDAY, .NotFriday
|
||||
checktime NITE
|
||||
iftrue AnthonyFridayNight
|
||||
|
||||
.NotFriday:
|
||||
checkflag ENGINE_DUNSPARCE_SWARM
|
||||
iftrue .AlreadySwarming
|
||||
farjump UnknownScript_0xa0950
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_33, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a5f
|
||||
|
||||
.AlreadySwarming:
|
||||
landmarktotext ROUTE_33, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0afa
|
||||
|
||||
AnthonyPhoneScript2:
|
||||
trainertotext HIKER, ANTHONY2, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
checkflag ENGINE_FLYPOINT_GOLDENROD
|
||||
iffalse .TriesSwarm
|
||||
checkflag ENGINE_ANTHONY
|
||||
iftrue .TriesSwarm
|
||||
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
|
||||
iftrue .TriesSwarm
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, AnthonyWantsBattle
|
||||
|
||||
.TriesSwarm:
|
||||
farscall PhoneScript_Random5
|
||||
ifequal 0, AnthonyTriesDunsparceSwarm
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
AnthonyFridayNight:
|
||||
setflag ENGINE_ANTHONY_FRIDAY_NIGHT
|
||||
|
||||
AnthonyWantsBattle:
|
||||
landmarktotext ROUTE_33, MEM_BUFFER_2
|
||||
setflag ENGINE_ANTHONY
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
AnthonyTriesDunsparceSwarm:
|
||||
checkflag ENGINE_DUNSPARCE_SWARM
|
||||
iftrue .Generic
|
||||
setflag ENGINE_DUNSPARCE_SWARM
|
||||
pokenamemem DUNSPARCE, MEM_BUFFER_1
|
||||
swarm SWARM_DUNSPARCE, DARK_CAVE_VIOLET_ENTRANCE
|
||||
landmarktotext DARK_CAVE, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa05de
|
||||
|
||||
.Generic:
|
||||
farjump Phone_GenericCall_Male
|
64
engine/phone/scripts/arnie.asm
Normal file
64
engine/phone/scripts/arnie.asm
Normal file
@ -0,0 +1,64 @@
|
||||
ArniePhoneScript1:
|
||||
trainertotext BUG_CATCHER, ARNIE1, MEM_BUFFER_0
|
||||
checkflag ENGINE_ARNIE
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_ARNIE_TUESDAY_MORNING
|
||||
iftrue .NotTuesday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal TUESDAY, .NotTuesday
|
||||
checktime MORN
|
||||
iftrue ArnieTuesdayMorning
|
||||
|
||||
.NotTuesday:
|
||||
checkflag ENGINE_YANMA_SWARM
|
||||
iftrue .AlreadySwarming
|
||||
farjump UnknownScript_0xa0968
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_35, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a6e
|
||||
|
||||
.AlreadySwarming:
|
||||
landmarktotext ROUTE_35, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0aff
|
||||
|
||||
ArniePhoneScript2:
|
||||
trainertotext BUG_CATCHER, ARNIE1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
checkflag ENGINE_ARNIE
|
||||
iftrue .Swarm
|
||||
checkflag ENGINE_ARNIE_TUESDAY_MORNING
|
||||
iftrue .Swarm
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, ArnieWantsBattle
|
||||
|
||||
.Swarm:
|
||||
farscall PhoneScript_Random5
|
||||
ifequal 0, ArnieYanmaSwarm
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, ArnieFoundRare
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
ArnieTuesdayMorning:
|
||||
setflag ENGINE_ARNIE_TUESDAY_MORNING
|
||||
|
||||
ArnieWantsBattle:
|
||||
landmarktotext ROUTE_35, MEM_BUFFER_2
|
||||
setflag ENGINE_ARNIE
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
ArnieYanmaSwarm: ; start swarm
|
||||
checkflag ENGINE_YANMA_SWARM
|
||||
iftrue ArnieYanmaAlreadySwarming
|
||||
setflag ENGINE_YANMA_SWARM
|
||||
pokenamemem YANMA, MEM_BUFFER_1
|
||||
swarm SWARM_YANMA, ROUTE_35
|
||||
landmarktotext ROUTE_35, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa05ce
|
||||
|
||||
ArnieFoundRare:
|
||||
farjump Phone_CheckIfUnseenRare_Male
|
||||
|
||||
ArnieYanmaAlreadySwarming:
|
||||
farjump Phone_GenericCall_Male
|
39
engine/phone/scripts/beth.asm
Normal file
39
engine/phone/scripts/beth.asm
Normal file
@ -0,0 +1,39 @@
|
||||
BethPhoneScript1:
|
||||
trainertotext COOLTRAINERF, BETH1, MEM_BUFFER_0
|
||||
checkflag ENGINE_BETH
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Female
|
||||
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
|
||||
iftrue .NotFriday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal FRIDAY, .NotFriday
|
||||
checktime DAY
|
||||
iftrue BethFridayAfternoon
|
||||
|
||||
.NotFriday:
|
||||
farjump UnknownScript_0xa0918
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_26, MEM_BUFFER_2
|
||||
farjump BethBattleReminderScript
|
||||
|
||||
BethPhoneScript2:
|
||||
trainertotext COOLTRAINERF, BETH1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Female
|
||||
checkflag ENGINE_BETH
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, BethWantsBattle
|
||||
|
||||
.Generic:
|
||||
farjump Phone_GenericCall_Female
|
||||
|
||||
BethFridayAfternoon:
|
||||
setflag ENGINE_BETH_FRIDAY_AFTERNOON
|
||||
|
||||
BethWantsBattle:
|
||||
landmarktotext ROUTE_26, MEM_BUFFER_2
|
||||
setflag ENGINE_BETH
|
||||
farjump PhoneScript_WantsToBattle_Female
|
26
engine/phone/scripts/beverly.asm
Normal file
26
engine/phone/scripts/beverly.asm
Normal file
@ -0,0 +1,26 @@
|
||||
BeverlyPhoneScript1:
|
||||
trainertotext POKEFANF, BEVERLY1, MEM_BUFFER_0
|
||||
farscall PhoneScript_AnswerPhone_Female
|
||||
checkflag ENGINE_BEVERLY_HAS_NUGGET
|
||||
iftrue .HasNugget
|
||||
farjump UnknownScript_0xa0900
|
||||
|
||||
.HasNugget:
|
||||
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0aa5
|
||||
|
||||
BeverlyPhoneScript2:
|
||||
trainertotext POKEFANF, BEVERLY1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Female
|
||||
checkflag ENGINE_BEVERLY_HAS_NUGGET
|
||||
iftrue .HasNugget
|
||||
farscall PhoneScript_Random4
|
||||
ifequal 0, .FoundNugget
|
||||
|
||||
.HasNugget:
|
||||
farjump Phone_GenericCall_Female
|
||||
|
||||
.FoundNugget:
|
||||
setflag ENGINE_BEVERLY_HAS_NUGGET
|
||||
landmarktotext NATIONAL_PARK, MEM_BUFFER_2
|
||||
farjump PhoneScript_FoundItem_Female
|
5
engine/phone/scripts/bike_shop.asm
Normal file
5
engine/phone/scripts/bike_shop.asm
Normal file
@ -0,0 +1,5 @@
|
||||
BikeShopPhoneScript:
|
||||
farwritetext UnknownText_0x174000
|
||||
clearflag ENGINE_BIKE_SHOP_CALL_ENABLED
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
41
engine/phone/scripts/bill.asm
Normal file
41
engine/phone/scripts/bill.asm
Normal file
@ -0,0 +1,41 @@
|
||||
BillPhoneScript1:
|
||||
checktime DAY
|
||||
iftrue .daygreet
|
||||
checktime NITE
|
||||
iftrue .nitegreet
|
||||
farwritetext BillPhoneMornGreetingText
|
||||
buttonsound
|
||||
jump .main
|
||||
|
||||
.daygreet
|
||||
farwritetext BillPhoneDayGreetingText
|
||||
buttonsound
|
||||
jump .main
|
||||
|
||||
.nitegreet
|
||||
farwritetext BillPhoneNiteGreetingText
|
||||
buttonsound
|
||||
jump .main
|
||||
|
||||
.main
|
||||
farwritetext BillPhoneGenericText
|
||||
buttonsound
|
||||
checkcode VAR_BOXSPACE
|
||||
vartomem MEM_BUFFER_0
|
||||
ifequal 0, .full
|
||||
ifless PARTY_LENGTH, .nearlyfull
|
||||
farwritetext BillPhoneNotFullText
|
||||
end
|
||||
|
||||
.nearlyfull
|
||||
farwritetext BillPhoneNearlyFullText
|
||||
end
|
||||
|
||||
.full
|
||||
farwritetext BillPhoneFullText
|
||||
end
|
||||
|
||||
BillPhoneScript2:
|
||||
farwritetext BillPhoneNewlyFullText
|
||||
waitbutton
|
||||
end
|
44
engine/phone/scripts/brent.asm
Normal file
44
engine/phone/scripts/brent.asm
Normal file
@ -0,0 +1,44 @@
|
||||
BrentPhoneScript1:
|
||||
trainertotext POKEMANIAC, BRENT1, MEM_BUFFER_0
|
||||
checkflag ENGINE_BRENT
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_BRENT_MONDAY_MORNING
|
||||
iftrue .NotMonday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal MONDAY, .NotMonday
|
||||
checktime MORN
|
||||
iftrue BrentMondayMorning
|
||||
|
||||
.NotMonday:
|
||||
farjump UnknownScript_0xa0998
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_43, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a87
|
||||
|
||||
BrentPhoneScript2:
|
||||
trainertotext POKEMANIAC, BRENT1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, BrentBillTrivia
|
||||
checkflag ENGINE_BRENT
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_BRENT_MONDAY_MORNING
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, BrentWantsBattle
|
||||
|
||||
.Generic:
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
BrentMondayMorning:
|
||||
setflag ENGINE_BRENT_MONDAY_MORNING
|
||||
|
||||
BrentWantsBattle:
|
||||
landmarktotext ROUTE_43, MEM_BUFFER_2
|
||||
setflag ENGINE_BRENT
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
BrentBillTrivia:
|
||||
farjump BrentBillTriviaScript
|
62
engine/phone/scripts/brent_gossip.asm
Normal file
62
engine/phone/scripts/brent_gossip.asm
Normal file
@ -0,0 +1,62 @@
|
||||
BrentBillTriviaScript:
|
||||
random 10
|
||||
ifequal 0, .Father
|
||||
ifequal 1, .Grandpa
|
||||
ifequal 2, .Goldenrod
|
||||
ifequal 3, .Route25
|
||||
ifequal 4, .Abra
|
||||
ifequal 5, .Sister
|
||||
ifequal 6, .Milk
|
||||
ifequal 7, .Battling
|
||||
ifequal 8, .FlowerShop
|
||||
ifequal 9, .KimonoGirl
|
||||
|
||||
.Father:
|
||||
farwritetext UnknownText_0x662bc
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Grandpa:
|
||||
farwritetext UnknownText_0x662fc
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Goldenrod:
|
||||
farwritetext UnknownText_0x66335
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Route25:
|
||||
farwritetext UnknownText_0x66366
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Abra:
|
||||
farwritetext UnknownText_0x663a1
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Sister:
|
||||
farwritetext UnknownText_0x663e6
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Milk:
|
||||
farwritetext UnknownText_0x66421
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Battling:
|
||||
farwritetext UnknownText_0x6645f
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.FlowerShop:
|
||||
farwritetext UnknownText_0x6649b
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.KimonoGirl:
|
||||
farwritetext UnknownText_0x664dd
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
49
engine/phone/scripts/chad.asm
Normal file
49
engine/phone/scripts/chad.asm
Normal file
@ -0,0 +1,49 @@
|
||||
ChadPhoneScript1:
|
||||
trainertotext SCHOOLBOY, CHAD1, MEM_BUFFER_0
|
||||
checkflag ENGINE_CHAD
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_CHAD_FRIDAY_MORNING
|
||||
iftrue .NotFriday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal FRIDAY, .NotFriday
|
||||
checktime MORN
|
||||
iftrue ChadFridayMorning
|
||||
|
||||
.NotFriday:
|
||||
farjump UnknownScript_0xa0980
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a7d
|
||||
|
||||
ChadPhoneScript2:
|
||||
trainertotext SCHOOLBOY, CHAD1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, ChadOakGossip
|
||||
checkflag ENGINE_CHAD
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_CHAD_FRIDAY_MORNING
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, ChadWantsBattle
|
||||
|
||||
.Generic:
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, ChadFoundRare
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
ChadFridayMorning:
|
||||
setflag ENGINE_CHAD_FRIDAY_MORNING
|
||||
|
||||
ChadWantsBattle:
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
setflag ENGINE_CHAD
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
ChadFoundRare:
|
||||
farjump Phone_CheckIfUnseenRare_Male
|
||||
|
||||
ChadOakGossip:
|
||||
farjump ChadOakGossipScript
|
62
engine/phone/scripts/chad_gossip.asm
Normal file
62
engine/phone/scripts/chad_gossip.asm
Normal file
@ -0,0 +1,62 @@
|
||||
ChadOakGossipScript:
|
||||
random 10
|
||||
ifequal 0, .Blue
|
||||
ifequal 1, .Daisy
|
||||
ifequal 2, .ProfElm
|
||||
ifequal 3, .Dream
|
||||
ifequal 4, .Kurt
|
||||
ifequal 5, .League
|
||||
ifequal 6, .RadioShow
|
||||
ifequal 7, .Battling
|
||||
ifequal 8, .DaisyTea
|
||||
ifequal 9, .Traveled
|
||||
|
||||
.Blue:
|
||||
farwritetext ChadBlueGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Daisy:
|
||||
farwritetext ChadDaisyGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.ProfElm:
|
||||
farwritetext ChadProfElmGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Dream:
|
||||
farwritetext ChadDreamGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Kurt:
|
||||
farwritetext ChadKurtGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.League:
|
||||
farwritetext ChadLeagueGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.RadioShow:
|
||||
farwritetext ChadRadioShowGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Battling:
|
||||
farwritetext ChadBattlingGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.DaisyTea:
|
||||
farwritetext ChadDaisyTeaGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
||||
|
||||
.Traveled:
|
||||
farwritetext ChadTravelGossipText
|
||||
buttonsound
|
||||
jump PhoneScript_HangupText_Male
|
65
engine/phone/scripts/dana.asm
Normal file
65
engine/phone/scripts/dana.asm
Normal file
@ -0,0 +1,65 @@
|
||||
DanaPhoneScript1:
|
||||
trainertotext LASS, DANA1, MEM_BUFFER_0
|
||||
checkflag ENGINE_DANA
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Female
|
||||
checkflag ENGINE_DANA_THURSDAY_NIGHT
|
||||
iftrue .NotThursday
|
||||
checkflag ENGINE_DANA_HAS_THUNDERSTONE
|
||||
iftrue .HasThunderstone
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal THURSDAY, .NotThursday
|
||||
checktime NITE
|
||||
iftrue DanaThursdayNight
|
||||
|
||||
.NotThursday:
|
||||
farjump UnknownScript_0xa0978
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a78
|
||||
|
||||
.HasThunderstone:
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0acd
|
||||
|
||||
DanaPhoneScript2:
|
||||
trainertotext LASS, DANA1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Female
|
||||
checkflag ENGINE_DANA
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_DANA_THURSDAY_NIGHT
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_DANA_HAS_THUNDERSTONE
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, DanaWantsBattle
|
||||
checkevent EVENT_DANA_GAVE_THUNDERSTONE
|
||||
iftrue .Thunderstone
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, DanaHasThunderstone
|
||||
|
||||
.Thunderstone:
|
||||
farscall PhoneScript_Random11
|
||||
ifequal 0, DanaHasThunderstone
|
||||
|
||||
.Generic:
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, DanaFoundRare
|
||||
farjump Phone_GenericCall_Female
|
||||
|
||||
DanaThursdayNight:
|
||||
setflag ENGINE_DANA_THURSDAY_NIGHT
|
||||
|
||||
DanaWantsBattle:
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
setflag ENGINE_DANA
|
||||
farjump PhoneScript_WantsToBattle_Female
|
||||
|
||||
DanaFoundRare:
|
||||
farjump Phone_CheckIfUnseenRare_Female
|
||||
|
||||
DanaHasThunderstone:
|
||||
setflag ENGINE_DANA_HAS_THUNDERSTONE
|
||||
landmarktotext ROUTE_38, MEM_BUFFER_2
|
||||
farjump PhoneScript_FoundItem_Female
|
48
engine/phone/scripts/derek.asm
Normal file
48
engine/phone/scripts/derek.asm
Normal file
@ -0,0 +1,48 @@
|
||||
DerekPhoneScript1:
|
||||
trainertotext POKEFANM, DEREK1, MEM_BUFFER_0
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_DEREK_HAS_NUGGET
|
||||
iftrue .Nugget
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, .NoContest
|
||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||
iftrue .NoContest
|
||||
checkcode VAR_WEEKDAY
|
||||
ifequal TUESDAY, .ContestToday
|
||||
ifequal THURSDAY, .ContestToday
|
||||
ifequal SATURDAY, .ContestToday
|
||||
|
||||
.NoContest:
|
||||
farjump UnknownScript_0xa0988
|
||||
|
||||
.ContestToday:
|
||||
farjump PhoneScript_BugCatchingContest
|
||||
|
||||
.Nugget:
|
||||
landmarktotext ROUTE_39, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0ad5
|
||||
|
||||
DerekPhoneScript2:
|
||||
trainertotext POKEFANM, DEREK1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, .NoContest
|
||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||
iftrue .NoContest
|
||||
checkcode VAR_WEEKDAY
|
||||
ifequal TUESDAY, .ContestToday
|
||||
ifequal THURSDAY, .ContestToday
|
||||
ifequal SATURDAY, .ContestToday
|
||||
|
||||
.NoContest:
|
||||
farscall PhoneScript_Random4
|
||||
ifequal 0, .Nugget
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
.ContestToday:
|
||||
farjump PhoneScript_BugCatchingContest
|
||||
|
||||
.Nugget:
|
||||
setflag ENGINE_DEREK_HAS_NUGGET
|
||||
landmarktotext ROUTE_39, MEM_BUFFER_2
|
||||
farjump PhoneScript_FoundItem_Male
|
101
engine/phone/scripts/elm.asm
Normal file
101
engine/phone/scripts/elm.asm
Normal file
@ -0,0 +1,101 @@
|
||||
ElmPhoneScript1:
|
||||
checkcode VAR_SPECIALPHONECALL
|
||||
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
|
||||
farwritetext ElmPhoneStartText
|
||||
end
|
||||
|
||||
.sawmrpokemon
|
||||
farwritetext ElmPhoneSawMrPokemonText
|
||||
end
|
||||
|
||||
.stolen
|
||||
farwritetext ElmPhonePokemonStolenText
|
||||
end
|
||||
|
||||
.checkingegg
|
||||
farwritetext ElmPhoneCheckingEggText
|
||||
end
|
||||
|
||||
.assistant
|
||||
farwritetext ElmPhoneAssistantText
|
||||
end
|
||||
|
||||
.eggunhatched
|
||||
farwritetext ElmPhoneEggUnhatchedText
|
||||
end
|
||||
|
||||
.egghatched
|
||||
farwritetext ElmPhoneEggHatchedText
|
||||
setevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
|
||||
end
|
||||
|
||||
.discovery
|
||||
random 2
|
||||
ifequal 0, .nextdiscovery
|
||||
farwritetext ElmPhoneDiscovery1Text
|
||||
end
|
||||
|
||||
.nextdiscovery
|
||||
farwritetext ElmPhoneDiscovery2Text
|
||||
end
|
||||
|
||||
.pokerus
|
||||
farwritetext ElmPhonePokerusText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
||||
|
||||
ElmPhoneScript2:
|
||||
checkcode VAR_SPECIALPHONECALL
|
||||
ifequal SPECIALCALL_ROBBED, .disaster
|
||||
ifequal SPECIALCALL_ASSISTANT, .assistant
|
||||
ifequal SPECIALCALL_WEIRDBROADCAST, .rocket
|
||||
ifequal SPECIALCALL_SSTICKET, .gift
|
||||
ifequal SPECIALCALL_MASTERBALL, .gift
|
||||
farwritetext ElmPhonePokerusText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
||||
|
||||
.disaster
|
||||
farwritetext ElmPhoneDisasterText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
setevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
||||
end
|
||||
|
||||
.assistant
|
||||
farwritetext ElmPhoneEggAssistantText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
clearevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
|
||||
setevent EVENT_ELMS_AIDE_IN_LAB
|
||||
end
|
||||
|
||||
.rocket
|
||||
farwritetext ElmPhoneRocketText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
||||
|
||||
.gift
|
||||
farwritetext ElmPhoneGiftText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
||||
|
||||
.unused
|
||||
farwritetext ElmPhoneUnusedText
|
||||
specialphonecall SPECIALCALL_NONE
|
||||
end
|
40
engine/phone/scripts/erin.asm
Normal file
40
engine/phone/scripts/erin.asm
Normal file
@ -0,0 +1,40 @@
|
||||
ErinPhoneScript1:
|
||||
trainertotext PICNICKER, ERIN1, MEM_BUFFER_0
|
||||
checkflag ENGINE_ERIN
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Female
|
||||
checkflag ENGINE_ERIN_SATURDAY_NIGHT
|
||||
iftrue .NotSaturday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal SATURDAY, .NotSaturday
|
||||
checktime NITE
|
||||
iftrue ErinSaturdayNight
|
||||
|
||||
.NotSaturday:
|
||||
farjump ErinWorkingHardScript
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_46, MEM_BUFFER_2
|
||||
farjump ErinComeBattleScript
|
||||
|
||||
ErinPhoneScript2:
|
||||
trainertotext PICNICKER, ERIN1, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Female
|
||||
checkflag ENGINE_ERIN
|
||||
iftrue .GenericCall
|
||||
checkflag ENGINE_ERIN_SATURDAY_NIGHT
|
||||
iftrue .GenericCall
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, ErinWantsBattle
|
||||
ifequal 1, ErinWantsBattle
|
||||
|
||||
.GenericCall:
|
||||
farjump Phone_GenericCall_Female
|
||||
|
||||
ErinSaturdayNight:
|
||||
setflag ENGINE_ERIN_SATURDAY_NIGHT
|
||||
|
||||
ErinWantsBattle:
|
||||
landmarktotext ROUTE_46, MEM_BUFFER_2
|
||||
setflag ENGINE_ERIN
|
||||
farjump PhoneScript_WantsToBattle_Female
|
44
engine/phone/scripts/gaven.asm
Normal file
44
engine/phone/scripts/gaven.asm
Normal file
@ -0,0 +1,44 @@
|
||||
GavenPhoneScript1:
|
||||
trainertotext COOLTRAINERM, GAVEN3, MEM_BUFFER_0
|
||||
checkflag ENGINE_GAVEN
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_GAVEN_THURSDAY_MORNING
|
||||
iftrue .NotThursday
|
||||
checkcode VAR_WEEKDAY
|
||||
ifnotequal THURSDAY, .NotThursday
|
||||
checktime MORN
|
||||
iftrue GavenThursdayMorning
|
||||
|
||||
.NotThursday:
|
||||
farjump UnknownScript_0xa0910
|
||||
|
||||
.WantsBattle:
|
||||
landmarktotext ROUTE_26, MEM_BUFFER_2
|
||||
farjump UnknownScript_0xa0a37
|
||||
|
||||
GavenPhoneScript2:
|
||||
trainertotext COOLTRAINERM, GAVEN3, MEM_BUFFER_0
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
checkflag ENGINE_GAVEN
|
||||
iftrue .WaitingForBattle
|
||||
checkflag ENGINE_GAVEN_THURSDAY_MORNING
|
||||
iftrue .WaitingForBattle
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, GavenWantsRematch
|
||||
|
||||
.WaitingForBattle:
|
||||
farscall PhoneScript_Random3
|
||||
ifequal 0, GavenFoundRare
|
||||
farjump Phone_GenericCall_Male
|
||||
|
||||
GavenThursdayMorning:
|
||||
setflag ENGINE_GAVEN_THURSDAY_MORNING
|
||||
|
||||
GavenWantsRematch:
|
||||
landmarktotext ROUTE_26, MEM_BUFFER_2
|
||||
setflag ENGINE_GAVEN
|
||||
farjump PhoneScript_WantsToBattle_Male
|
||||
|
||||
GavenFoundRare:
|
||||
farjump Phone_CheckIfUnseenRare_Male
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user