mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
e3e0bcd653
Name a lot of text labels according to our conventions
42 lines
992 B
NASM
42 lines
992 B
NASM
HueyPhoneCalleeScript:
|
|
gettrainername STRING_BUFFER_3, SAILOR, HUEY1
|
|
checkflag ENGINE_HUEY
|
|
iftrue .WantsBattle
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
|
|
iftrue .NotWednesday
|
|
readvar VAR_WEEKDAY
|
|
ifnotequal WEDNESDAY, .NotWednesday
|
|
checktime NITE
|
|
iftrue HueyWednesdayNight
|
|
|
|
.NotWednesday:
|
|
special RandomPhoneMon
|
|
farsjump HueyHangUpScript
|
|
|
|
.WantsBattle:
|
|
getlandmarkname STRING_BUFFER_5, LIGHTHOUSE
|
|
farsjump HueyWantsBattleScript
|
|
|
|
HueyPhoneCallerScript:
|
|
gettrainername STRING_BUFFER_3, SAILOR, HUEY1
|
|
farscall PhoneScript_GreetPhone_Male
|
|
checkflag ENGINE_HUEY
|
|
iftrue .Flavor
|
|
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
|
|
iftrue .Flavor
|
|
farscall PhoneScript_Random3
|
|
ifequal 0, HueyWantsBattle
|
|
ifequal 1, HueyWantsBattle
|
|
|
|
.Flavor:
|
|
farsjump PhoneScript_MonFlavorText
|
|
|
|
HueyWednesdayNight:
|
|
setflag ENGINE_HUEY_WEDNESDAY_NIGHT
|
|
|
|
HueyWantsBattle:
|
|
getlandmarkname STRING_BUFFER_5, LIGHTHOUSE
|
|
setflag ENGINE_HUEY
|
|
farsjump PhoneScript_WantsToBattle_Male
|