mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
ad50e94b50
Resolves #697
41 lines
1.0 KiB
NASM
41 lines
1.0 KiB
NASM
VancePhoneCalleeScript:
|
|
gettrainername STRING_BUFFER_3, BIRD_KEEPER, VANCE1
|
|
checkflag ENGINE_VANCE
|
|
iftrue .WantsBattle
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
|
|
iftrue .NotWednesday
|
|
readvar VAR_WEEKDAY
|
|
ifnotequal WEDNESDAY, .NotWednesday
|
|
checktime NITE
|
|
iftrue VanceWednesdayNight
|
|
|
|
.NotWednesday:
|
|
farsjump VanceLookingForwardScript
|
|
|
|
.WantsBattle:
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
|
farsjump VanceHurryHurryScript
|
|
|
|
VancePhoneCallerScript:
|
|
gettrainername STRING_BUFFER_3, BIRD_KEEPER, VANCE1
|
|
farscall PhoneScript_GreetPhone_Male
|
|
checkflag ENGINE_VANCE
|
|
iftrue .WantsBattle
|
|
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
|
|
iftrue .WantsBattle
|
|
farscall PhoneScript_Random3
|
|
ifequal 0, VanceWantsRematch
|
|
ifequal 1, VanceWantsRematch
|
|
|
|
.WantsBattle:
|
|
farsjump Phone_GenericCall_Male
|
|
|
|
VanceWednesdayNight:
|
|
setflag ENGINE_VANCE_WEDNESDAY_NIGHT
|
|
|
|
VanceWantsRematch:
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
|
setflag ENGINE_VANCE
|
|
farsjump PhoneScript_WantsToBattle_Male
|