tumbledemerald-legacy/data/scripts/gift_aurora_ticket.inc

58 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2022-05-19 19:14:13 +02:00
MysteryGiftScript_AuroraTicket::
setvaddress MysteryGiftScript_AuroraTicket
lock
faceplayer
vgoto_if_set FLAG_RECEIVED_AURORA_TICKET, AuroraTicket_Obtained
vgoto_if_set FLAG_BATTLED_DEOXYS, AuroraTicket_Obtained
checkitem ITEM_AURORA_TICKET
vgoto_if_eq VAR_RESULT, TRUE, AuroraTicket_Obtained
vmessage sText_AuroraTicketForYou
waitmessage
waitbuttonpress
checkitemspace ITEM_AURORA_TICKET
vgoto_if_eq VAR_RESULT, FALSE, AuroraTicket_NoBagSpace
giveitem ITEM_AURORA_TICKET
setflag FLAG_ENABLE_SHIP_BIRTH_ISLAND
setflag FLAG_RECEIVED_AURORA_TICKET
vmessage sText_AuroraTicketUseAtPort
waitmessage
waitbuttonpress
release
end
AuroraTicket_NoBagSpace:
vmessage sText_AuroraTicketBagFull
waitmessage
waitbuttonpress
release
end
AuroraTicket_Obtained:
vmessage sText_AuroraTicketThankYou
waitmessage
waitbuttonpress
release
end
sText_AuroraTicketForYou:
.string "Thank you for using the Mystery\n"
.string "Gift System.\p"
2022-05-19 19:14:13 +02:00
.string "You must be {PLAYER}.\n"
.string "There is a ticket here for you.$"
sText_AuroraTicketUseAtPort:
.string "It appears to be for use at the\n"
.string "Lilycove City port.\p"
2022-05-19 19:14:13 +02:00
.string "Why not give it a try and see what\n"
.string "it is about?$"
sText_AuroraTicketThankYou:
.string "Thank you for using the Mystery\n"
.string "Gift System.$"
2022-05-19 19:14:13 +02:00
sText_AuroraTicketBagFull:
.string "Oh, I'm sorry, {PLAYER}.\n"
.string "Your Bag's Key Items Pocket is full.\p"
2022-05-19 19:14:13 +02:00
.string "Please store something on your PC,\n"
.string "then come back for this.$"