pokeemerald/data/scripts/gift_aurora_ticket.inc

58 lines
1.5 KiB
PHP
Raw Normal View History

MysteryGiftScript_AuroraTicket::
setvaddress MysteryGiftScript_AuroraTicket
2019-11-05 21:19:08 +01:00
lock
faceplayer
vgoto_if_set FLAG_RECEIVED_AURORA_TICKET, AuroraTicket_Obtained
vgoto_if_set FLAG_BATTLED_DEOXYS, AuroraTicket_Obtained
2021-08-05 18:46:11 +02:00
checkitem ITEM_AURORA_TICKET
vgoto_if_eq VAR_RESULT, TRUE, AuroraTicket_Obtained
2019-11-05 21:19:08 +01:00
vmessage sText_AuroraTicketForYou
waitmessage
waitbuttonpress
2021-08-05 18:46:11 +02:00
checkitemspace ITEM_AURORA_TICKET
vgoto_if_eq VAR_RESULT, FALSE, AuroraTicket_NoBagSpace
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.$"