2021-10-17 09:00:48 +02:00
|
|
|
MysteryGiftScript_MysticTicket::
|
|
|
|
setvaddress MysteryGiftScript_MysticTicket
|
2019-11-05 21:19:08 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2020-01-11 18:02:58 +01:00
|
|
|
vgoto_if_set FLAG_RECEIVED_MYSTIC_TICKET, MysticTicket_Obtained
|
|
|
|
vgoto_if_set FLAG_CAUGHT_LUGIA, MysticTicket_Obtained
|
|
|
|
vgoto_if_set FLAG_CAUGHT_HO_OH, MysticTicket_Obtained
|
2021-08-05 18:46:11 +02:00
|
|
|
checkitem ITEM_MYSTIC_TICKET
|
2021-11-19 05:06:30 +01:00
|
|
|
vgoto_if_eq VAR_RESULT, TRUE, MysticTicket_Obtained
|
2019-11-05 21:19:08 +01:00
|
|
|
vmessage sText_MysticTicketForYou
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2021-08-05 18:46:11 +02:00
|
|
|
checkitemspace ITEM_MYSTIC_TICKET
|
2021-11-19 05:06:30 +01:00
|
|
|
vgoto_if_eq VAR_RESULT, FALSE, MysticTicket_NoBagSpace
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_MYSTIC_TICKET
|
2019-11-05 21:19:08 +01:00
|
|
|
setflag FLAG_ENABLE_SHIP_NAVEL_ROCK
|
|
|
|
setflag FLAG_RECEIVED_MYSTIC_TICKET
|
|
|
|
vmessage sText_MysticTicketUseAtPort
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MysticTicket_NoBagSpace:
|
2019-11-05 21:19:08 +01:00
|
|
|
vmessage sText_MysticTicketBagFull
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MysticTicket_Obtained:
|
2019-11-05 21:19:08 +01:00
|
|
|
vmessage sText_MysticTicketThankYou
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
sText_MysticTicketForYou:
|
|
|
|
.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_MysticTicketUseAtPort:
|
|
|
|
.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_MysticTicketThankYou:
|
|
|
|
.string "Thank you for using the MYSTERY\n"
|
|
|
|
.string "GIFT System.$"
|
|
|
|
|
|
|
|
sText_MysticTicketBagFull:
|
|
|
|
.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.$"
|