2021-07-20 21:18:31 +02:00
|
|
|
MysteryEventScript_AuroraTicket::
|
2019-11-05 21:19:08 +01:00
|
|
|
setvaddress MysteryEventScript_AuroraTicket
|
|
|
|
lock
|
|
|
|
faceplayer
|
2020-01-11 18:02:58 +01:00
|
|
|
vgoto_if_set FLAG_RECEIVED_AURORA_TICKET, AuroraTicket_Obtained
|
|
|
|
vgoto_if_set FLAG_BATTLED_DEOXYS, AuroraTicket_Obtained
|
2019-11-05 21:19:08 +01:00
|
|
|
checkitem ITEM_AURORA_TICKET, 1
|
2019-12-19 01:22:39 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
2019-11-05 21:19:08 +01:00
|
|
|
vgoto_if_eq AuroraTicket_Obtained
|
|
|
|
vmessage sText_AuroraTicketForYou
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
checkitemspace ITEM_AURORA_TICKET, 1
|
2019-12-19 01:22:39 +01:00
|
|
|
compare VAR_RESULT, FALSE
|
2019-11-05 21:19:08 +01:00
|
|
|
vgoto_if_eq AuroraTicket_NoBagSpace
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_AURORA_TICKET
|
2019-11-05 21:19:08 +01:00
|
|
|
setflag FLAG_ENABLE_SHIP_BIRTH_ISLAND
|
|
|
|
setflag FLAG_RECEIVED_AURORA_TICKET
|
|
|
|
vmessage sText_AuroraTicketUseAtPort
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
AuroraTicket_NoBagSpace:
|
2019-11-05 21:19:08 +01:00
|
|
|
vmessage sText_AuroraTicketBagFull
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
AuroraTicket_Obtained:
|
2019-11-05 21:19:08 +01:00
|
|
|
vmessage sText_AuroraTicketThankYou
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
sText_AuroraTicketForYou:
|
|
|
|
.string "Thank you for using the MYSTERY\n"
|
|
|
|
.string "GIFT System.\p"
|
|
|
|
.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"
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
sText_AuroraTicketBagFull:
|
|
|
|
.string "Oh, I'm sorry, {PLAYER}.\n"
|
|
|
|
.string "Your BAG's KEY ITEMS POCKET is full.\p"
|
|
|
|
.string "Please store something on your PC,\n"
|
|
|
|
.string "then come back for this.$"
|