Split engine/phone/phone_scripts.asm and phone_gossip.asm into individual files
This commit is contained in:
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
|
Reference in New Issue
Block a user