mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
e3e0bcd653
Name a lot of text labels according to our conventions
62 lines
1.5 KiB
NASM
62 lines
1.5 KiB
NASM
AnthonyPhoneCalleeScript:
|
|
gettrainername STRING_BUFFER_3, HIKER, ANTHONY2
|
|
checkflag ENGINE_ANTHONY
|
|
iftrue .WantsBattle
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
|
|
iftrue .NotFriday
|
|
readvar VAR_WEEKDAY
|
|
ifnotequal FRIDAY, .NotFriday
|
|
checktime NITE
|
|
iftrue AnthonyFridayNight
|
|
|
|
.NotFriday:
|
|
checkflag ENGINE_DUNSPARCE_SWARM
|
|
iftrue .AlreadySwarming
|
|
farsjump AnthonyHangUpScript
|
|
|
|
.WantsBattle:
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_33
|
|
farsjump AnthonyReminderScript
|
|
|
|
.AlreadySwarming:
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_33
|
|
farsjump AnthonyHurryScript
|
|
|
|
AnthonyPhoneCallerScript:
|
|
gettrainername STRING_BUFFER_3, HIKER, ANTHONY2
|
|
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
|
|
farsjump Phone_GenericCall_Male
|
|
|
|
AnthonyFridayNight:
|
|
setflag ENGINE_ANTHONY_FRIDAY_NIGHT
|
|
|
|
AnthonyWantsBattle:
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_33
|
|
setflag ENGINE_ANTHONY
|
|
farsjump PhoneScript_WantsToBattle_Male
|
|
|
|
AnthonyTriesDunsparceSwarm:
|
|
checkflag ENGINE_DUNSPARCE_SWARM
|
|
iftrue .Generic
|
|
setflag ENGINE_DUNSPARCE_SWARM
|
|
getmonname STRING_BUFFER_4, DUNSPARCE
|
|
swarm SWARM_DUNSPARCE, DARK_CAVE_VIOLET_ENTRANCE
|
|
getlandmarkname STRING_BUFFER_5, DARK_CAVE
|
|
farsjump AnthonySwarmScript
|
|
|
|
.Generic:
|
|
farsjump Phone_GenericCall_Male
|