pokecrystal/engine/phone/scripts/bill.asm

42 lines
686 B
NASM
Raw Normal View History

BillPhoneCalleeScript:
checktime DAY
iftrue .daygreet
checktime NITE
iftrue .nitegreet
farwritetext BillPhoneMornGreetingText
2019-11-03 17:48:54 +00:00
promptbutton
sjump .main
.daygreet
farwritetext BillPhoneDayGreetingText
2019-11-03 17:48:54 +00:00
promptbutton
sjump .main
.nitegreet
farwritetext BillPhoneNiteGreetingText
2019-11-03 17:48:54 +00:00
promptbutton
sjump .main
.main
farwritetext BillPhoneGenericText
2019-11-03 17:48:54 +00:00
promptbutton
readvar VAR_BOXSPACE
getnum STRING_BUFFER_3
ifequal 0, .full
ifless PARTY_LENGTH, .nearlyfull
farwritetext BillPhoneNotFullText
end
.nearlyfull
farwritetext BillPhoneNearlyFullText
end
.full
farwritetext BillPhoneFullText
end
BillPhoneCallerScript:
farwritetext BillPhoneNewlyFullText
waitbutton
end