summaryrefslogtreecommitdiff
path: root/data/scripts/mevent_aurora_ticket.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-05 18:19:18 -0500
committerhuderlem <huderlem@gmail.com>2019-11-06 16:38:02 -0600
commit37bd93ec6c3890048e49bada3e41127fd3fcea4f (patch)
tree0fdee14c081098c12ae364148e0b22bc4e748f9a /data/scripts/mevent_aurora_ticket.inc
parente7f6459a890901d59ca179c40f58bd84b255e467 (diff)
Rename mystery event msg scripts
Diffstat (limited to 'data/scripts/mevent_aurora_ticket.inc')
-rw-r--r--data/scripts/mevent_aurora_ticket.inc61
1 files changed, 61 insertions, 0 deletions
diff --git a/data/scripts/mevent_aurora_ticket.inc b/data/scripts/mevent_aurora_ticket.inc
new file mode 100644
index 000000000..811c840aa
--- /dev/null
+++ b/data/scripts/mevent_aurora_ticket.inc
@@ -0,0 +1,61 @@
+MysteryEventScript_AuroraTicket:: @ 867533C
+ setvaddress MysteryEventScript_AuroraTicket
+ lock
+ faceplayer
+ checkflag FLAG_RECEIVED_AURORA_TICKET
+ vgoto_if_eq AuroraTicket_Obtained
+ checkflag FLAG_BATTLED_DEOXYS
+ vgoto_if_eq AuroraTicket_Obtained
+ checkitem ITEM_AURORA_TICKET, 1
+ compare_var_to_value VAR_RESULT, TRUE
+ vgoto_if_eq AuroraTicket_Obtained
+ vmessage sText_AuroraTicketForYou
+ waitmessage
+ waitbuttonpress
+ checkitemspace ITEM_AURORA_TICKET, 1
+ compare_var_to_value VAR_RESULT, FALSE
+ vgoto_if_eq AuroraTicket_NoBagSpace
+ giveitem_std ITEM_AURORA_TICKET
+ setflag FLAG_ENABLE_SHIP_BIRTH_ISLAND
+ setflag FLAG_RECEIVED_AURORA_TICKET
+ vmessage sText_AuroraTicketUseAtPort
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+AuroraTicket_NoBagSpace: @ 8675397
+ vmessage sText_AuroraTicketBagFull
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+AuroraTicket_Obtained: @ 86753A0
+ 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.$"